:root {
    --navy: #0a0e1a;
    --navy-dark: #05080f;
    --black: #0d1117;
    --gold: #c9a227;
    --gold-light: #e5c76b;
    --gold-dark: #8b6914;
    --electric-blue: #00b4d8;
    --electric-blue-glow: rgba(0, 180, 216, 0.4);
    --silver: #a8b2c1;
    --storm-gray: #2a3548;
    --white: #f0f4f8;
    --text-muted: #8b99a8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--navy-dark);
    color: var(--white);
    line-height: 1.7;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at top, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(201, 162, 39, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 50%, var(--black) 100%);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    border-bottom: 2px solid var(--gold-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-container {
    position: relative;
}

.language-selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(135deg, rgba(42, 53, 72, 0.9) 0%, rgba(13, 17, 23, 0.95) 100%);
    color: var(--silver);
    border: 2px solid var(--gold-dark);
    border-radius: 6px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(201, 162, 39, 0.15);
}

.language-selector:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--electric-blue-glow);
}

.language-selector:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 14px var(--electric-blue-glow);
}

.language-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--gold);
    pointer-events: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-decoration: none;
    text-shadow: 0 0 10px var(--electric-blue-glow);
    letter-spacing: 0.05em;
}

.logo:hover {
    color: var(--gold-light);
    text-shadow: 0 0 15px var(--electric-blue-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px var(--electric-blue-glow);
}

.hamburger:hover .hamburger-line {
    background: var(--gold-light);
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--silver);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-list a:hover {
    color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 0 10px var(--electric-blue-glow);
}

.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.section {
    margin-bottom: 3rem;
}

.section h1,
.section h2 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    text-shadow: 0 0 8px var(--electric-blue-glow);
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 0.5rem;
}

.hero h1 {
    font-size: 2rem;
    text-align: center;
}

.content-block {
    background: rgba(13, 17, 23, 0.6);
    border: 2px solid var(--storm-gray);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(201, 162, 39, 0.1);
    position: relative;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--electric-blue));
    border-radius: 8px 8px 0 0;
}

.content-block p {
    margin-bottom: 1rem;
    color: var(--white);
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ol {
    margin: 1rem 0 1rem 1.5rem;
}

.content-block ol li {
    margin-bottom: 0.75rem;
}

.content-block strong {
    color: var(--gold-light);
}

.faq-list {
    padding: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--storm-gray);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    color: var(--electric-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--black);
    border-top: 2px solid var(--gold-dark);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.section:nth-child(odd) .content-block {
    border-left: 3px solid var(--gold-dark);
}

.section:nth-child(even) .content-block {
    border-right: 3px solid var(--gold-dark);
}

a {
    color: var(--electric-blue);
}

a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .header-right {
        gap: 0.5rem;
    }

    .language-selector {
        padding: 0.4rem 1.75rem 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .language-container::after {
        right: 0.5rem;
        border-top-width: 5px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        border-left: 2px solid var(--gold-dark);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 5rem;
        overflow-y: auto;
    }

    .nav-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 0 1rem;
    }

    .nav-list a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--storm-gray);
    }

    .main {
        padding: 1.5rem 1rem 3rem;
    }

    .section h1,
    .section h2 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}

.jump-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--gold-dark);
    border-radius: 6px;
    color: var(--electric-blue);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 8px rgba(0, 180, 216, 0.3);
}

.jump-link:hover {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 12px var(--electric-blue-glow);
    text-decoration: none;
}