@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color System */
    --bg-primary: #080607;
    --bg-secondary: #14090C;
    --bg-castle: #1B1014;
    
    --text-primary: #FFF7F7;
    --text-secondary: #FECACA;
    --text-muted: #D1A3A3;

    /* Gradients */
    --grad-crimson: linear-gradient(135deg, #7F1D1D, #DC2626);
    --grad-burgundy: linear-gradient(135deg, #450A0A, #991B1B);
    --grad-wine: linear-gradient(135deg, #3B0A0A, #6B1020);
    --grad-gold: linear-gradient(135deg, #B45309, #FACC15);
    --grad-midnight: linear-gradient(135deg, #111827, #374151);

    /* Glow Effects */
    --glow-red: rgba(220, 38, 38, 0.45);
    --glow-gold: rgba(250, 204, 21, 0.35);
    --glow-dark-crimson: rgba(127, 29, 29, 0.40);

    /* Glass & UI */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: 18px;
    --max-width: 1280px;
    --radius-btn: 18px;
    --radius-card: 24px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .gothic-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: #FACC15;
}

ul {
    list-style: none;
}

/* Typography */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* Layout Grid */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

@media (max-width: 1024px) { .section { padding: 80px 0; } }
@media (max-width: 768px) { .section { padding: 60px 0; } }

/* Header & Navbar */
.top-disclaimer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    padding: 3px 10px;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 100px;
    padding: 15px 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-dark-crimson);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-text span:first-child {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    background: linear-gradient(135deg, #22C55E, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .logo-ext {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #FACC15;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: #FACC15;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: var(--bg-castle);
        flex-direction: column;
        padding: 30px;
        border-radius: var(--radius-card);
        border: 1px solid rgba(220, 38, 38, 0.3);
        box-shadow: 0 10px 40px var(--glow-dark-crimson);
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--grad-crimson);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--glow-red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-red), 0 0 10px rgba(255,255,255,0.2) inset;
    color: #fff;
}

.btn-secondary {
    background: var(--grad-gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--glow-gold);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-gold);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid #DC2626;
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--glow-dark-crimson);
}

.btn-outline:hover {
    background: var(--glow-red);
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-image: url('https://images.unsplash.com/photo-1605806616949-1e87b487cb2a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,6,7,0.4) 0%, rgba(8,6,7,0.9) 80%, var(--bg-primary) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #FFF7F7, #D1A3A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .hero-buttons { flex-direction: column; }
}

.legal-notice {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Game Section */
.game-section {
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.game-header {
    margin-bottom: 40px;
}

.game-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #DC2626;
    text-shadow: 0 0 20px var(--glow-red);
}

.game-container {
    position: relative;
    border-radius: var(--radius-card);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 4px; 
    box-shadow: 0 10px 40px var(--glow-dark-crimson);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 30px;
    aspect-ratio: 16/9;
}

.game-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    padding: 2px;
    background: linear-gradient(45deg, #7F1D1D, #FACC15, #DC2626, #450A0A);
    background-size: 300% 300%;
    animation: borderGradient 8s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.game-container:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 50px var(--glow-red);
}

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

.game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features-section {
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.feature-card {
    grid-column: span 4;
    background: var(--bg-castle);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-card);
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--grad-wine);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-dark-crimson);
    border-color: rgba(220, 38, 38, 0.3);
}

.feature-card:hover::after {
    opacity: 0.1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: #FACC15;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) { .feature-card { grid-column: span 6; } }
@media (max-width: 768px) { .feature-card { grid-column: span 12; } }

/* Inner Pages Header */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1509114397022-ed747cca3f65?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,6,7,0.8) 0%, var(--bg-primary) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #DC2626;
    text-shadow: 0 0 20px var(--glow-red);
}

/* Content Blocks */
.content-block {
    background: var(--bg-castle);
    border-radius: var(--radius-card);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.content-block h2, .content-block h3 {
    color: #DC2626;
    margin-bottom: 20px;
    margin-top: 30px;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.content-block ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 10px;
    position: relative;
    color: var(--text-secondary);
}

.content-block li::before {
    content: '•';
    color: #DC2626;
    position: absolute;
    left: -20px;
    font-size: 1.2rem;
}

@media (max-width: 768px) { .content-block { padding: 30px 20px; } }

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 15px var(--glow-dark-crimson);
}

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

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-castle);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 50px var(--glow-dark-crimson);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: #DC2626; }

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding: 80px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-main { grid-column: span 6; }
.footer-col { grid-column: span 3; }

@media (max-width: 900px) {
    .footer-col-main { grid-column: span 12; }
    .footer-col { grid-column: span 6; }
}

@media (max-width: 600px) {
    .footer-col { grid-column: span 12; }
}

.footer-logo { margin-bottom: 20px; }
.footer p { color: var(--text-muted); margin-bottom: 20px; }

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #FFF7F7;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--grad-crimson);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #DC2626; padding-left: 5px; }

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 10px;
}

.age-gate {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    border: 2px solid #DC2626;
    border-radius: 50%;
    font-weight: bold;
    color: #DC2626;
    margin-top: 15px;
}

/* Animations */
@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utilities */
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }