* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #ffd700;
    --gold-light: #ffec8b;
    --gold-dark: #b8860b;
    --turquoise: #40e0d0;
    --turquoise-dark: #20b2aa;
    --rich-black: #0a0a0a;
    --deep-blue: #0d1b2a;
    --royal-gold: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #daa520 100%);
    --shadow-gold: 0 20px 40px rgba(255, 215, 0, 0.3);
    --shadow-turquoise: 0 20px 40px rgba(64, 224, 208, 0.25);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 215, 0, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(64, 224, 208, 0.1) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.2);
}

.nav-left {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 24px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.nav-menu a:hover {
    color: var(--rich-black);
    background: var(--royal-gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.4));
    transition: all 0.4s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(255, 215, 0, 0.6));
}

.nav-right {
    flex: 1;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.section {
    margin-bottom: 60px;
    scroll-margin-top: 280px;
}

.section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: var(--royal-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.card {
    background: rgba(27, 38, 59, 0.6);
    border-radius: 20px;
    padding: 45px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        var(--shadow-gold);
}

.card p {
    margin-bottom: 18px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: var(--gold);
}

.card h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
}

.card h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 18px;
    font-family: 'Cinzel', serif;
    color: var(--turquoise);
    font-weight: 500;
    letter-spacing: 1px;
}

.rules-notice {
    margin-top: 25px;
    padding: 20px 25px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--gold-light);
}

.server-ips {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.server-ips p {
    font-family: 'Courier New', monospace;
    background: rgba(13, 27, 42, 0.8);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.server-ips p:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.server-ips strong {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(30px);
    padding: 40px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -10px 40px rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--rich-black);
    background: var(--royal-gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.copyright {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 400;
    margin-top: 20px;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
    }

    .logo {
        width: 140px;
        height: 140px;
        margin: 10px 0;
    }

    .main-content {
        padding: 30px 20px;
    }

    .section h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .card {
        padding: 30px;
        border-radius: 30px;
    }

    .card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .footer-link {
        width: 80%;
        text-align: center;
    }

    .section {
        scroll-margin-top: 200px;
    }
}
