
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(30, 41, 59, 0.45);
    --bg-card-hover: rgba(30, 41, 59, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --primary: #f59e0b; /* Soft Gold */
    --primary-glow: rgba(245, 158, 11, 0.35);
    
    --secondary: #818cf8; /* Bright Slate Indigo */
    --secondary-glow: rgba(129, 140, 248, 0.35);
    
    --accent: #34d399; /* Bright Emerald */
    --accent-glow: rgba(52, 211, 153, 0.25);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --card-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background-color: rgba(9, 13, 22, 0.75);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(9, 13, 22, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--secondary-glow);
}

.logo-icon svg {
    fill: #fff;
    width: 18px;
    height: 18px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px var(--secondary-glow);
    transition: var(--transition);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--secondary-glow), 0 0 20px rgba(245, 158, 11, 0.3);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition);
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

/* Selection Grid Section */
.selection-section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.game-plate {
    background: #111827; /* Solid dark background for contrast and legibility, de-slop */
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    transition: var(--transition);
}

.game-plate:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.15);
}

.game-plate-image-wrapper {
    position: relative;
    width: 380px;
    min-width: 380px;
    overflow: hidden;
    background-color: #161f30;
}

.game-plate-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-plate:hover .game-plate-image {
    transform: scale(1.06);
}

.game-plate-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.game-plate-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

.game-plate:hover .game-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-main);
}

.game-plate-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-plate-title svg {
    width: 20px;
    height: 20px;
    fill: var(--text-dark);
    transition: var(--transition);
}

.game-plate:hover .game-plate-title svg {
    fill: var(--primary);
    transform: rotate(45deg);
}

.game-plate-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.game-plate-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

.game-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
}

.game-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.game-plate:hover .game-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    box-shadow: 0 5px 15px -3px var(--secondary-glow);
}

.game-plate:hover .game-btn svg {
    transform: translateX(3px);
}

/* Categories / Genres Section */
.genres-section {
    padding: 80px 0;
    position: relative;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.genre-card {
    background: #111827; /* Solid dark background for contrast and legibility, de-slop */
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 32px;
    transition: var(--transition);
}

.genre-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.genre-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.genre-card:nth-child(1) .genre-icon { background: rgba(245, 158, 11, 0.1); color: var(--primary); }
.genre-card:nth-child(2) .genre-icon { background: rgba(99, 102, 241, 0.1); color: var(--secondary); }
.genre-card:nth-child(3) .genre-icon { background: rgba(16, 185, 129, 0.1); color: var(--accent); }
.genre-card:nth-child(4) .genre-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.genre-card:hover .genre-icon {
    transform: scale(1.1);
}

.genre-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.genre-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Details Section */
.features-section {
    padding: 80px 0;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image-wrapper {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.features-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.8), transparent);
}

.features-image-wrapper img {
    width: 100%;
    display: block;
    height: auto;
}

.features-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-item-icon {
    margin-top: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.feature-item-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.feature-item-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Steps / How It Works Section */
.steps-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

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

.step-card {
    position: relative;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px var(--secondary-glow);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 14px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Section */
footer {
    background-color: #06090f;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
    position: relative;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 20px;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

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

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

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

/* Legal Page Content Styles */
.legal-page {
    padding: 160px 0 100px 0;
}

.legal-card {
    background: #111827; /* Solid dark background for contrast and legibility, de-slop */
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 60px;
}

.legal-card h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.legal-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-content li {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    margin: 0 auto;
    background: #0f172a;
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px var(--secondary-glow);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--secondary-glow);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-card {
    background: #111827; /* Solid dark background, de-slop */
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 30px;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.faq-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.faq-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Rich Intro Section */
.intro-rich-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(9, 13, 22, 0.2);
}

.intro-rich-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-rich-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.intro-rich-content h2 span {
    color: var(--primary);
}

.intro-rich-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .intro-rich-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 52px;
    }
    .features-layout {
        gap: 40px;
    }
    .features-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .game-plate {
        flex-direction: column;
    }
    .game-plate-image-wrapper {
        width: 100%;
        min-width: auto;
        padding-top: 55%;
    }
    .game-plate-content {
        padding: 24px;
    }
    .game-plate-actions .game-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(9, 13, 22, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    .nav-menu.active {
        max-height: 300px;
        padding: 20px 0;
    }
    .nav-link {
        display: block;
        padding: 12px 0;
    }
    
    .hero {
        padding: 100px 0 60px 0;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 16px;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-image-wrapper {
        order: 2;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand {
        text-align: center;
    }
    .footer-brand p {
        margin: 20px auto 0 auto;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-card {
        padding: 30px;
    }
    .legal-card h1 {
        font-size: 32px;
    }
}
