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

:root {
    --bg-primary: #0A0514;
    --bg-secondary: #160B29;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-light: rgba(255, 255, 255, 0.08);
    --diamond-blue: #F0ABFC; /* Radiant Fuchsia */
    --crystal-cyan: #C026D3; /* Deep Magenta */
    --luxury-gold: #FCD34D;
    --deep-gold: #B45309;
    --silver: #E2E8F0;
    --diamond-white: #FFFFFF;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --muted: #94A3B8;
    
    --header-height: 80px;
    --max-width: 1320px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--diamond-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--diamond-blue), var(--crystal-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    background: linear-gradient(135deg, var(--luxury-gold), var(--deep-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

/* Layout */
.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Top Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 5, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 38, 211, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
    overflow: visible;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--silver);
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--diamond-blue), var(--crystal-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--diamond-white);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.age-badge-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.mobile-only-links {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--crystal-cyan), var(--diamond-blue));
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(240, 171, 252, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--diamond-white);
    border: 1px solid var(--crystal-cyan);
    box-shadow: inset 0 0 10px rgba(192, 38, 211, 0.1);
}

.btn-secondary:hover {
    background: rgba(192, 38, 211, 0.1);
    box-shadow: inset 0 0 20px rgba(192, 38, 211, 0.2), 0 0 15px rgba(192, 38, 211, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
}

/* Backgrounds */
.bg-hero {
    background-image: linear-gradient(to bottom, rgba(10, 5, 20, 0.6), rgba(10, 5, 20, 1)), url('images/photo-1601000688849-fb9310dcb067.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-page {
    background-image: linear-gradient(to bottom, rgba(10, 5, 20, 0.8), rgba(10, 5, 20, 1)), url('images/photo-1574015974293-817f0ebebb74.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 120px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--diamond-blue);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-compliance-panel {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(192, 38, 211, 0.2);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-compliance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--silver);
    font-weight: 500;
}

.hero-compliance-item i {
    color: var(--luxury-gold);
}

/* Game Showcase */
.game-section {
    background: var(--bg-primary);
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(192, 38, 211, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.game-container {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(192, 38, 211, 0.2);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 30px rgba(192, 38, 211, 0.05);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-info h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--diamond-blue);
    font-weight: 500;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(192, 38, 211, 0.3);
    box-shadow: 0 0 30px rgba(192, 38, 211, 0.15);
}

.game-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.game-age-notice {
    margin-right: auto;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-age-notice i {
    color: var(--luxury-gold);
}

.control-btn {
    background: var(--surface-light);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--diamond-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn:hover {
    background: rgba(192, 38, 211, 0.15);
    border-color: rgba(192, 38, 211, 0.4);
    color: var(--diamond-blue);
}

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

.feature-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--crystal-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 38, 211, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(192, 38, 211, 0.1), rgba(240, 171, 252, 0.1));
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--diamond-blue);
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 1rem;
}

/* Internal Page Headers */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

/* Content Pages (About, Terms, Privacy, etc.) */
.content-section {
    padding: 80px 0 120px;
}

.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.text-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--diamond-white);
    border-bottom: 1px solid rgba(192, 38, 211, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.text-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--diamond-blue);
}

.text-content p {
    margin-bottom: 1.5rem;
    color: var(--silver);
    font-size: 1.1rem;
}

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.75rem;
    color: var(--silver);
    list-style-type: disc;
}

.text-content li::marker {
    color: var(--crystal-cyan);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(192, 38, 211, 0.1);
    border: 1px solid rgba(192, 38, 211, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--diamond-blue);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--muted);
}

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

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

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--silver);
    font-size: 0.95rem;
}

.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--diamond-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--crystal-cyan);
    box-shadow: 0 0 15px rgba(192, 38, 211, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

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

/* Footer */
.footer {
    background: #05020A;
    border-top: 1px solid rgba(192, 38, 211, 0.2);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-compliance {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.footer-compliance h3 {
    color: var(--luxury-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-compliance p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto 1rem;
}

.footer-compliance p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--diamond-white);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--diamond-blue);
}

.footer-address {
    color: var(--muted);
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.6;
}

.copyright {
    color: var(--muted);
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .glass-panel { padding: 3rem; }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(10, 5, 20, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(192, 38, 211, 0.2);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out, opacity 0.4s ease;
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-only-links {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
    }

    section {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-compliance-panel {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 24px;
    }
    
    .game-container {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .glass-panel {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .footer-compliance {
        padding: 2rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cta-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .page-header { padding: 80px 0 60px; }
}