:root {
    --bg-dark: #0b1d16;
    --gold: #e9c46a;
    --orange: #e76f51;
    --green: #2a9d8f;
    --sand: #f4a261;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --gradient-brand: linear-gradient(135deg, #f4a261, #e76f51, #2a9d8f, #e9c46a);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legal Top Banner */
.legal-top-banner {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 1000;
    letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
    position: relative;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: var(--transition);
    background: #0b1d16;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-brand);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/photo-1682687982501-1e5898cb8f4b.png') center/cover no-repeat;
    z-index: 1;
    transform: translateZ(-1px) scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11,29,22,0.4), var(--bg-dark));
    z-index: 2;
}

.light-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(244,162,97,0.1) 0%, transparent 60%);
    animation: rotateRays 30s linear infinite;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-disclaimer {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border: 1px solid var(--orange);
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: var(--sand);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-brand);
    color: var(--white);
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #e9c46a, #2a9d8f, #e76f51, #f4a261);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.6);
    color: var(--white);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

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

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

/* Cards & Features */
.feature-card, .step-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(233,196,106,0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover, .step-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    font-size: 3rem;
    color: var(--sand);
    margin-bottom: 20px;
}

.feature-card h3, .step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p, .step-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Images */
.img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.img-wrapper img {
    transition: transform 0.7s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 30px rgba(11,29,22,0.8);
    pointer-events: none;
}

/* Game Card */
.game-card {
    background: #11281e;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border-color: var(--green);
}

.game-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.game-info {
    padding: 25px;
    text-align: center;
}

.game-info h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

/* Game Iframe Wrapper */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid var(--gold);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Page Header */
.page-header {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(11,29,22,0.8), var(--bg-dark)), url('images/photo-1544413660-299165566b1d.png') center/cover;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

/* Content Pages (Legal, About, etc) */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.content-wrapper h2 {
    color: var(--gold);
    margin: 40px 0 20px;
    font-size: 2rem;
    border-bottom: 1px solid rgba(233,196,106,0.2);
    padding-bottom: 10px;
}

.content-wrapper h3 {
    color: var(--sand);
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--gray-light);
    font-size: 1.05rem;
}

.content-wrapper ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--gray-light);
}

.content-wrapper li {
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 5px;
    font-family: var(--font-body);
}

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

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-item h3 {
    color: var(--sand);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background: #06110d;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(42, 157, 143, 0.3);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gold);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

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

.important-notice {
    background: rgba(231, 111, 81, 0.1);
    border: 1px solid var(--orange);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--sand);
    line-height: 1.5;
}

.copyright {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 250px; height: 100vh;
        background: #0b1d16;
        flex-direction: column;
        padding: 80px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: block; z-index: 1001; }
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .content-wrapper { padding: 30px 20px; }
}