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

:root {
    --bg-color: #090909;
    --surface-color: #171717;
    --card-bg: rgba(255, 255, 255, 0.04);
    --primary-gold: #FBBF24;
    --secondary-emerald: #22C55E;
    --text-white: #FFFFFF;
    --text-muted: #A1A1AA;
    --border-light: rgba(255, 255, 255, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Subtle background texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/epic-fantasy-environment-dark-enchanted-forest-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: -2;
    pointer-events: none;
}

/* Ambient glow across the platform */
body::after {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, rgba(9, 9, 9, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Fog only near the bottom */
.bottom-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background: linear-gradient(to top, rgba(9,9,9,1) 0%, rgba(9,9,9,0) 100%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-white);
}

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

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

/* Typography Utility */
.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Top Disclaimer Banner */
.top-disclaimer {
    background-color: var(--surface-color);
    color: var(--text-muted);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 10000;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15);
}

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

.btn-secondary:hover {
    background-color: rgba(251, 191, 36, 0.05);
    transform: translateY(-2px);
}

/* Floating Navigation */
.navbar {
    position: fixed;
    top: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: rgba(23, 23, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 50px;
}

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

/* Split Hero Layout */
.split-hero {
    padding: 12rem 5% 6rem;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 100vh;
}

.split-left {
    flex: 0 0 40%;
    padding-right: 2rem;
}

/* Hero Image Wrapper (The ONLY major image besides BG) */
.hero-image-wrapper {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid var(--border-light);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 300px;
    transition: transform 1.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.split-left h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.split-left p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.legal-notice-hero {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.4;
    max-width: 90%;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-card span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.info-card strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
}

.split-right {
    flex: 0 0 calc(60% - 4rem);
    width: 100%;
}

/* Game Frame */
.game-frame-container {
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-frame-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-light);
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-gold);
}

.game-controls button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: var(--transition);
}

.game-controls button:hover {
    color: var(--text-white);
}

.iframe-wrapper {
    width: 100%;
    height: 650px;
    position: relative;
    background: #000;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* SaaS-Style Glass Features Section */
.feature-section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.glass-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* About Section (Typography Layout) */
.about-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.03) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 5rem 4rem;
}

.about-title h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--primary-gold);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section (Glass Form) */
.contact-section {
    padding: 8rem 5%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-detail-item {
    margin-bottom: 1.5rem;
}

.contact-detail-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-detail-item strong {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 400;
}

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

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

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

.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 1rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.06);
}

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

/* Responsible Gaming Full Width */
.responsible-section {
    padding: 8rem 5%;
    text-align: center;
}

.responsible-content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-light);
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--text-white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-badges {
    display: flex;
    gap: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* Page Layouts (Legal) */
.page-header {
    padding: 12rem 5% 4rem;
    background: transparent;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary-gold);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.page-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-gold);
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .split-hero {
        flex-direction: column;
        padding-top: 8rem;
        gap: 3rem;
    }
    
    .split-left, .split-right {
        flex: 1 1 100%;
        width: 100%;
        padding-right: 0;
    }
    
    .split-hero {
        flex-direction: column-reverse;
    }

    .split-left h1 {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-disclaimer {
        font-size: 0.65rem;
        padding: 0.5rem 2%;
    }

    .navbar {
        width: 95%;
        padding: 0.75rem 1.5rem;
    }

    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(23, 23, 23, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-radius: 16px;
        border: 1px solid var(--border-light);
        margin-top: 1rem;
        text-align: center;
    }

    .nav-links.active li {
        margin: 0.5rem 0;
    }

    .iframe-wrapper {
        height: 450px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-image-wrapper {
        margin-bottom: 1.5rem;
    }
}