/* Server Detail Page Styles */
.server-detail-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.server-header {
    background: #f3eee6;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.server-header-content {
    flex: 1;
}

.server-title {
    font-family: Intro Bold, sans-serif;
    font-size: 32px;
    color: #4a4844;
    margin: 0 0 10px 0;
}

.server-slogan {
    font-family: Intro Regular, sans-serif;
    font-size: 18px;
    color: #676561;
    margin: 0 0 15px 0;
}

.server-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.server-game {
    background: #e49e3b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-family: Intro Bold, sans-serif;
}

.server-badge {
    background: #2196F3;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.server-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.server-actions .btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

.server-content {
    display: grid;
    gap: 30px;
}

.server-info-section,
.server-worlds-section {
    background: #f3eee6;
    border-radius: 20px;
    padding: 30px;
}

.section-title {
    font-family: Intro Bold, sans-serif;
    font-size: 24px;
    color: #4a4844;
    margin: 0 0 20px 0;
}

.subsection-title {
    font-family: Intro Bold, sans-serif;
    font-size: 18px;
    color: #4a4844;
    margin: 20px 0 15px 0;
}

.server-description {
    font-family: Intro Regular, sans-serif;
    font-size: 16px;
    color: #676561;
    line-height: 1.6;
}

.server-video {
    margin-top: 30px;
}

.video-wrapper {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.video-link {
    color: #e49e3b;
    text-decoration: none;
    font-size: 16px;
}

.video-link:hover {
    text-decoration: underline;
}

.server-social {
    margin-top: 30px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-link {
    background: #e49e3b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-family: Intro Bold, sans-serif;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #d7701f;
}

.world-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.world-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.world-name {
    font-family: Intro Bold, sans-serif;
    font-size: 22px;
    color: #4a4844;
    margin: 0;
}

.world-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.world-type,
.world-version,
.world-status {
    background: #f4f2ee;
    color: #676561;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-family: Intro Bold, sans-serif;
}

.world-description {
    font-family: Intro Regular, sans-serif;
    font-size: 14px;
    color: #676561;
    line-height: 1.6;
    margin-bottom: 15px;
}

.world-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.world-stat {
    font-family: Intro Regular, sans-serif;
    font-size: 14px;
    color: #676561;
}

.world-stat strong {
    color: #4a4844;
    margin-right: 5px;
}

.world-vote-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e3dcd1;
}

.vote-form-title {
    font-family: Intro Bold, sans-serif;
    font-size: 18px;
    color: #4a4844;
    margin: 0 0 15px 0;
}

.vote-form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: Intro Regular, sans-serif;
    font-size: 14px;
    color: #4a4844;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 12px 20px;
    border-radius: 20px;
    border: none;
    background: #f4f2ee;
    font-family: Intro Regular, sans-serif;
    font-size: 15px;
    color: #464440;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #ede8df;
}

.vote-submit-btn {
    background: #4caf50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 20px;
    border: none;
    font-family: Intro Bold, sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.vote-submit-btn:hover {
    background: #45a049;
}

.no-worlds {
    text-align: center;
    padding: 40px;
    font-family: Intro Regular, sans-serif;
    font-size: 16px;
    color: #676561;
}

/* Dark theme */
body.dark .server-header,
body.dark .server-info-section,
body.dark .server-worlds-section {
    background: #1c1a16;
}

body.dark .server-title,
body.dark .section-title,
body.dark .subsection-title,
body.dark .world-name,
body.dark .vote-form-title {
    color: #fff;
}

body.dark .server-slogan,
body.dark .server-description,
body.dark .world-description,
body.dark .world-stat {
    color: #9e9687;
}

body.dark .world-stat strong {
    color: #fff;
}

body.dark .world-card {
    background: #25211c;
}

body.dark .form-group input,
body.dark .form-group select {
    background: #3a352e;
    color: #7b7a79;
}

body.dark .form-group input:focus,
body.dark .form-group select:focus {
    background: #464440;
}

body.dark .world-type,
body.dark .world-version,
body.dark .world-status {
    background: #3a352e;
    color: #9e9687;
}
