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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --bg-lighter: #222222;
    --gold: #d4af37;
    --bright-gold: #ffd700;
    --orange: #ff8c00;
    --crimson: #b11226;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1280px;
    --spacing-section: clamp(60px, 8vw, 100px);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--bright-gold), var(--orange));
    z-index: 9999;
    box-shadow: 0 0 10px var(--bright-gold);
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--bright-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); text-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--bright-gold); text-shadow: 0 0 8px rgba(255, 215, 0, 0.5); }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.pt-section { padding-top: var(--spacing-section); }
.pb-section { padding-bottom: var(--spacing-section); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--gold) 0%, var(--bright-gold) 50%, var(--orange) 100%);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg) translate(-50%, -50%);
    transition: var(--transition);
    opacity: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    color: var(--bg-dark);
}

.btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
    transition: transform 0.6s ease;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--bright-gold);
}

/* Global Legal Banner */
.global-notice {
    background-color: var(--crimson);
    color: #fff;
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--gold);
    position: relative;
    z-index: 100;
}
.global-notice strong { color: var(--bright-gold); }
.global-notice p { margin: 0; }
.global-notice em { display: block; margin-top: 5px; font-style: normal; font-weight: bold; font-family: var(--font-heading); letter-spacing: 0.5px;}

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bright-gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo::before {
    content: '🛡️';
    font-size: 2rem;
}
.logo:hover { text-shadow: 0 0 10px var(--bright-gold); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; list-style: none; gap: 20px; margin: 0; }
.nav-links a {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.mobile-toggle {
    display: none;
    font-size: 2rem;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-card);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.9rem;
}
.breadcrumbs ul { display: flex; list-style: none; gap: 10px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.breadcrumbs li::after { content: '›'; color: var(--gold); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--gold); }

/* Hero Section */
.hero {
    position: relative;
    padding: clamp(80px, 15vw, 150px) 0;
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.9)), url('images/photo-1605806616949-1e87b487cb2a.png') center/cover no-repeat;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-legal {
    background: rgba(177, 18, 38, 0.15);
    border: 1px solid var(--crimson);
    padding: 15px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-legal span { color: var(--bright-gold); font-weight: bold; }

.hero h1 { margin-bottom: 20px; }
.hero p.lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Sections & Grids */
.section-title { text-align: center; margin-bottom: clamp(30px, 5vw, 50px); }
.section-title h2 { position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 60px; height: 3px;
    background: var(--gold);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    opacity: 0; transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}
.card:hover::before { opacity: 1; }

.card-icon {
    font-size: 2.5rem;
    color: var(--bright-gold);
    margin-bottom: 20px;
}

/* Game Catalog / Game Page */
.game-card { padding: 0; border: 2px solid rgba(212, 175, 55, 0.3); }
.game-card img { width: 100%; height: 250px; object-fit: cover; display: block; border-bottom: 2px solid var(--gold); }
.game-card-content { padding: 20px; text-align: center; }

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border: 3px solid var(--gold);
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    margin-bottom: 40px;
    overflow: hidden;
}
.game-iframe-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

/* Forms */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--font-heading); }
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--bright-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
textarea.form-control { resize: vertical; min-height: 150px; }

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: var(--bright-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}
.faq-item.active .faq-question::after { content: '-'; transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 500px;
}

/* Legal Pages Typography */
.legal-content h2 { color: var(--gold); margin-top: 40px; margin-bottom: 15px; font-size: 1.8rem; }
.legal-content h3 { color: var(--orange); margin-top: 30px; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 15px; }

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 2px solid var(--gold);
    padding: 60px 0 20px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about .logo { font-size: 1.5rem; margin-bottom: 15px; }
.footer-about p { color: var(--text-muted); font-size: 0.9rem; }
.footer-title {
    color: var(--bright-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.badge {
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--bright-gold);
    text-transform: uppercase;
}

.footer-disclaimer {
    background: var(--bg-dark);
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
}
.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}
.footer-disclaimer strong { color: var(--crimson); font-family: var(--font-heading); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.8s ease forwards; }

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 20px;
        z-index: 998;
    }
    .main-nav.active { left: 0; }
    .nav-links { flex-direction: column; align-items: center; width: 100%; gap: 30px; }
    .nav-links a { font-size: 1.2rem; }
    .mobile-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}