:root {
    --bg-dark: #06121c;
    --bg-light: #0b1d2a;
    --gold-primary: #d6a441;
    --gold-light: #f7cf63;
    --text-main: #ffffff;
    --glass-bg: rgba(11, 29, 42, 0.65);
    --glass-border: rgba(214, 164, 65, 0.25);
    --glow-shadow: 0 0 20px rgba(214, 164, 65, 0.15);
    --font-cinematic: 'Cinzel', system-ui, -apple-system, sans-serif;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, var(--bg-light) 0%, var(--bg-dark) 80%);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-cinematic);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gold-text {
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(214, 164, 65, 0.3);
}

/* Header HUD */
.hud-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 18, 28, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.brand-logo {
    font-family: var(--font-cinematic);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(214, 164, 65, 0.4);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(247, 207, 99, 0.5);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(214, 164, 65, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(247, 207, 99, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(214, 164, 65, 0.1);
    box-shadow: 0 0 15px rgba(214, 164, 65, 0.2);
}

/* Hero Section */
.hero-cinematic {
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.hero-cinematic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(214, 164, 65, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Game Container */
.game-wrapper {
    width: 100%;
    max-width: 1200px; /* 70-80% desktop */
    margin: 0 auto 4rem;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-primary), var(--bg-dark), var(--gold-light));
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(214, 164, 65, 0.3);
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    background: #000;
}

/* Glass Panels (Section Structure) */
.world-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--glow-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(214, 164, 65, 0.25);
    border-color: rgba(247, 207, 99, 0.5);
}

.badge {
    align-self: flex-start;
    background: rgba(214, 164, 65, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.panel-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.glass-panel p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* General Layout Elements */
.page-container {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-family: var(--font-ui);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 10px rgba(214, 164, 65, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    display: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.status-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.status-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* Footer System */
.system-footer {
    background: #03080c;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    font-family: var(--font-ui);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-family: var(--font-cinematic);
    font-size: 1.8rem;
    color: var(--gold-light);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(214, 164, 65, 0.2);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-heading {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-cinematic);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(214, 164, 65, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.footer-nav a:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

.footer-bottom {
    background: #010406;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.disclaimer-box {
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    text-align: center;
}

.disclaimer-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.5;
}

.disclaimer-box strong {
    color: var(--gold-light);
}

.footer-meta {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-meta p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-meta a {
    color: var(--gold-primary);
    text-decoration: none;
}

.footer-meta a:hover {
    text-decoration: underline;
}

/* Cookie HUD */
.cookie-hud {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gold-primary);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.cookie-hud p {
    font-size: 0.9rem;
    color: #fff;
    margin-right: 2rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-actions button {
    font-size: 0.8rem;
    padding: 8px 16px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .game-wrapper {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hud-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .game-wrapper {
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
    .footer-meta {
        flex-direction: column;
        text-align: center;
    }
    .cookie-hud {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cookie-hud p {
        margin-right: 0;
    }
}