/* ============================================================
   LetsPlayLabs — Shared Design System
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; list-style: none; }

:root {
    --bg:        #080810;
    --bg2:       #0f0f1a;
    --bg3:       #141422;
    --card:      rgba(255,255,255,0.04);
    --border:    rgba(255,255,255,0.08);
    --accent:    #7c3aed;
    --pink:      #ec4899;
    --gradient:  linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --text:      #ffffff;
    --text2:     #94a3b8;
    --text3:     #64748b;
    --radius:    16px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 16px;
    color: var(--text2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-ghost {
    background: transparent;
    color: var(--text2);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 0 20px rgba(124,58,237,0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(124,58,237,0.5);
    color: #fff;
}

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ── NAVIGATION ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 32px;
    background: rgba(8,8,16,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* gradient bottom border */
    border-bottom: 1px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 1px 0 0 rgba(124,58,237,0.35),
        0 4px 32px rgba(0,0,0,0.5);
    transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
    background: rgba(8,8,16,0.98);
    box-shadow:
        0 1px 0 0 rgba(124,58,237,0.5),
        0 8px 40px rgba(0,0,0,0.7);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo area: image + text name */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    height: 48px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 0 16px rgba(124,58,237,0.7));
    transition: filter 0.3s;
}
.nav-logo:hover img {
    filter: brightness(1.35) drop-shadow(0 0 24px rgba(124,58,237,0.9));
}
.nav-logo-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(8,8,16,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text2);
    border-radius: 8px;
    transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}
.mobile-menu .btn-primary { margin-top: 8px; justify-content: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.14) 0%, transparent 70%),
        var(--bg);
}
.page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 0%, transparent 80%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--text3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text2); }
.breadcrumb .sep { color: var(--text3); }

.page-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.page-hero p {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 36px 24px;
    background: var(--bg);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-left img { height: 36px; width: auto; opacity: 0.9; filter: brightness(1.1) drop-shadow(0 0 8px rgba(124,58,237,0.35)); }
.footer-copy { font-size: 13px; color: var(--text3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
.footer-links a:hover { color: var(--text2); }

/* ── STATS GRID ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-item {
    background: var(--bg2);
    padding: 48px 40px;
    text-align: center;
    transition: background 0.3s;
}
.stat-item:hover { background: var(--bg3); }
.stat-number {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.stat-desc { font-size: 13px; color: var(--text3); }

/* ── CARD ── */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}
.card:hover {
    border-color: rgba(124,58,237,0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 30px rgba(124,58,237,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-logo-name { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 32px 24px; }
    .stat-number { font-size: 42px; }
}
@media (max-width: 480px) {
    .btn-lg { justify-content: center; }
}
