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

:root {
    --bg-primary: #08111b;
    --bg-secondary: #122033;
    --glass-surface: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 18px;
    
    --primary-gradient: linear-gradient(135deg, #0f766e, #14b8a6);
    --accent-gradient: linear-gradient(135deg, #d97706, #fbbf24);
    --highlight-gradient: linear-gradient(135deg, #2563eb, #60a5fa);
    
    --primary-text: #ffffff;
    --secondary-text: #dbeafe;
    --muted-text: #94a3b8;
    
    --teal-glow: rgba(20, 184, 166, 0.35);
    --gold-glow: rgba(251, 191, 36, 0.35);
    --blue-glow: rgba(96, 165, 250, 0.30);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--primary-text);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Continuous Background */
.continuous-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: -999;
}

.continuous-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
}

.continuous-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 17, 27, 0.88), rgba(18, 32, 51, 0.98));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-section { padding: 6rem 0; }
.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    opacity: 0;
}

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

.btn-primary {
    background: var(--primary-gradient);
    color: var(--primary-text);
    box-shadow: 0 4px 15px var(--teal-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--teal-glow);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-gradient);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-accent:hover {
    box-shadow: 0 6px 20px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: var(--primary-text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--blue-glow);
    border-color: rgba(96, 165, 250, 0.5);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.logo-icon {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: url(#gold-grad);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px var(--gold-glow));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-text);
    text-transform: lowercase;
}

.logo-text span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-text);
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--teal-glow);
}

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

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

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-text);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeUp 1s ease forwards;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px var(--teal-glow);
    border: 1px solid var(--glass-border);
    animation: fadeUp 1.2s ease forwards;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-text);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.legal-notice {
    font-size: 0.8rem;
    color: var(--muted-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    opacity: 0.8;
}

/* Game Showcase */
.game-showcase-section {
    padding: 4rem 0 8rem;
    position: relative;
}

.glass-card {
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    animation: shimmer 8s infinite;
    z-index: 2;
    pointer-events: none;
}

.glass-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.game-header, .game-frame-container {
    position: relative;
    z-index: 1;
}

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

.game-title h2 {
    margin-bottom: 0.25rem;
    font-size: 2rem;
}

.game-title p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.game-controls {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.icon-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary-text);
    box-shadow: 0 0 15px var(--blue-glow);
}

.game-frame-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

.game-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 3rem;
}

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

.feature-card {
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--teal-glow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

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

/* Asymmetrical Layout Desktop */
.feature-card:nth-child(1) { grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.feature-card:nth-child(1) h3 { font-size: 2.5rem; }
.feature-card:nth-child(1) p { font-size: 1.1rem; }
.feature-card:nth-child(2) { grid-column: span 4; }
.feature-card:nth-child(3) { grid-column: span 4; }
.feature-card:nth-child(4) { grid-column: span 6; }
.feature-card:nth-child(5) { grid-column: span 6; }
.feature-card:nth-child(6) { grid-column: span 4; }
.feature-card:nth-child(7) { grid-column: span 4; }
.feature-card:nth-child(8) { grid-column: span 4; }

/* Internal Pages Styling */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.content-section {
    padding: 0 0 6rem;
}

.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-featured-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.glass-panel h2 {
    margin-top: 2rem;
    color: var(--secondary-text);
    font-size: 1.75rem;
}

.glass-panel h2:first-child {
    margin-top: 0;
}

.glass-panel p {
    margin-bottom: 1.5rem;
}

.glass-panel ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--secondary-text);
}

.glass-panel li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 500;
}

.form-control {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--primary-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 10px var(--teal-glow);
}

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

/* Footer */
.site-footer {
    background: rgba(8, 17, 27, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-desc {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.footer-address {
    color: var(--muted-text);
    font-style: normal;
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-text);
    padding-left: 5px;
    text-shadow: 0 0 8px var(--teal-glow);
}

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

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
}

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

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

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

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid { gap: 1.5rem; }
    .hero h1 { font-size: 3.5rem; }
    .hero-split { gap: 2rem; }
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
    
    .feature-card, .feature-card:nth-child(n) {
        grid-column: span 6;
        grid-row: span 1;
    }
    
    .feature-card:nth-child(1) {
        grid-column: span 12;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .legal-notice {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero { padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    
    .feature-card, .feature-card:nth-child(n) {
        grid-column: span 12;
    }
    
    .glass-card { padding: 1.5rem; }
    .glass-panel { padding: 2rem 1.5rem; }
    .footer-grid { gap: 2rem; }
    
    .game-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .logo-text { font-size: 1.25rem; }
    .logo-icon { width: 32px; height: 32px; }
}