:root {
    --bg-base: #080712;
    --bg-surface: #141225;
    --bg-deep: #21183D;
    --color-pink: #FF3D9A;
    --color-violet: #7C3AED;
    --color-gold: #F2C76E;
    --color-blue: #38BDF8;
    --color-navy: #0B1020;
    --text-white: #F8F7FF;
    --text-muted: #B8B4C8;
    --text-primary: #FFFFFF;
    
    --grad-accent: linear-gradient(135deg, #FF3D9A, #7C3AED);
    --grad-gold: linear-gradient(135deg, #F2C76E, #F9E7A0);
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --anim-fast: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--anim-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
}

h1 { font-size: 3rem; background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Header */
.vip-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--color-navy);
    border-bottom: 1px solid var(--color-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-emblem {
    width: 20px;
    height: 20px;
    background: var(--grad-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-pink);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:hover {
    color: var(--text-white);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-pink);
    transition: width var(--anim-fast);
    box-shadow: 0 0 8px var(--color-pink);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all var(--anim-fast);
    text-align: center;
}

.btn-play {
    background: var(--grad-accent);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 61, 154, 0.3);
}

.btn-play:hover {
    box-shadow: 0 6px 20px rgba(255, 61, 154, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background: rgba(242, 199, 110, 0.1);
    box-shadow: 0 0 15px rgba(242, 199, 110, 0.2);
}

.btn-sub {
    background: var(--bg-surface);
    color: var(--text-white);
    border: 1px solid var(--bg-deep);
}
.btn-sub:hover {
    background: var(--bg-deep);
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Opening */
.opening-section {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

.opening-content h1 {
    margin-bottom: 1.5rem;
}

.opening-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.opening-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--bg-deep);
}
.opening-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8,7,18,0.5), transparent);
}

/* Game Stage */
.game-stage-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-deep);
    border-bottom: 1px solid var(--bg-deep);
}

.game-container {
    max-width: 1020px;
    margin: 0 auto;
}

.game-frame {
    background: var(--color-navy);
    border: 1px solid var(--color-gold);
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(255, 61, 154, 0.2), inset 0 0 10px rgba(0,0,0,0.8);
    position: relative;
    margin-bottom: 1.5rem;
}

.game-frame::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 29px;
    background: transparent;
    box-shadow: 0 0 15px var(--color-pink);
    z-index: -1;
    opacity: 0.5;
}

.game-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 20px;
    display: block;
    background: #000;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Guest Pass */
.guest-pass-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pass-panel {
    background: var(--bg-surface);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--bg-deep);
    text-align: center;
    transition: transform var(--anim-fast);
}

.pass-panel:hover {
    transform: translateY(-5px);
    border-color: var(--color-violet);
}

.pass-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    background: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.pass-panel h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pass-panel p {
    font-size: 0.85rem;
    margin: 0;
}

/* Timeline */
.timeline-section {
    background: var(--bg-surface);
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-deep);
    transform: translateY(-5px);
    z-index: 1;
}

.timeline-line-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 75%;
    background: var(--grad-accent);
    box-shadow: 0 0 10px var(--color-pink);
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 120px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-base);
    border: 2px solid var(--color-pink);
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 0 10px var(--color-pink);
}
.timeline-item:last-child .timeline-dot {
    border-color: var(--bg-deep);
    box-shadow: none;
}

.timeline-item h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-white);
}

/* Journal */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.journal-panel {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bg-deep);
}

.journal-img-placeholder {
    height: 200px;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-img-placeholder.css-art {
    background: radial-gradient(circle at center, var(--color-gold) 0%, var(--color-navy) 70%);
    position: relative;
}
.journal-img-placeholder.css-art::after {
    content: '✧';
    font-size: 4rem;
    color: var(--bg-surface);
}

.journal-content {
    padding: 1.5rem;
}

.journal-content h4 {
    font-size: 1.2rem;
}
.journal-content p {
    font-size: 0.9rem;
}

.journal-link {
    font-size: 0.85rem;
    color: var(--color-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.journal-link:hover {
    color: var(--text-white);
}

/* Contact */
.contact-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-base);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--bg-deep);
}

.contact-email {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    font-family: monospace;
}

.faq-preview h4 {
    margin-bottom: 1rem;
    color: var(--color-violet);
}

.faq-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--bg-deep);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.faq-list li:last-child {
    border-bottom: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: var(--bg-base);
    border: 1px solid var(--bg-deep);
    padding: 0.8rem;
    border-radius: 4px;
    color: var(--text-white);
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-pink);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

#form-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Footer */
.vip-footer {
    background: var(--color-navy);
    border-top: 1px solid var(--color-gold);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--color-pink);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--bg-deep);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Cookie Popup */
.cookie-overlay {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: var(--color-navy);
    border: 1px solid var(--color-gold);
    border-radius: 24px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(255,61,154,0.2);
    display: none;
    text-align: center;
}

.cookie-overlay.active {
    display: block;
}

.cookie-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cookie-overlay h4 {
    margin-bottom: 0.5rem;
}

.cookie-overlay p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.cookie-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Subpage Layout */
.subpage-main {
    margin-top: 70px;
    padding: 4rem 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 60vh;
}
.subpage-main h1 {
    margin-bottom: 2rem;
}
.subpage-main h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}
.subpage-main p {
    margin-bottom: 1.5rem;
}
.return-home {
    margin-top: 3rem;
    display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
    .opening-section, .contact-grid {
        grid-template-columns: 1fr;
    }
    .guest-pass-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .journal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .game-frame iframe {
        height: 400px;
    }
    .timeline-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .timeline-line {
        display: none;
    }
    .guest-pass-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}