/* ================================
   Quadroo, LLC — Main Stylesheet
   ================================ */

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

:root {
    --bg:        #0d0d14;
    --surface:   #16161f;
    --surface2:  #1e1e2a;
    --border:    rgba(255,255,255,0.08);
    --accent:    #6c5ce7;
    --accent2:   #a29bfe;
    --text:      #e8e8f2;
    --muted:     #8888a8;
    --radius:    14px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,20,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.game-card-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 18px;
    flex-shrink: 0;
}

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

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

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

/* ── Layout ── */

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Hero ── */

.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(108,92,231,0.18) 0%, transparent 70%);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 18px;
    padding: 5px 14px;
    border: 1px solid rgba(162,155,254,0.30);
    border-radius: 20px;
    background: rgba(108,92,231,0.10);
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ── Buttons ── */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }

.btn-primary {
    background: linear-gradient(135deg, #7c6ef5, #5a4fcf);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108,92,231,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--accent2);
    border: 1px solid rgba(162,155,254,0.40);
}

.btn-outline:hover { background: rgba(108,92,231,0.12); }

/* ── Section headings ── */

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 48px;
}

/* ── Game Cards ── */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(162,155,254,0.25);
}

.game-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.icon-quadroo  { background: linear-gradient(135deg, #2d3561, #a239ca); }
.icon-mossfall { background: linear-gradient(135deg, #1a6b2a, #52c234); }
.icon-huenite  { background: linear-gradient(135deg, #f7971e, #e52d27); }

.game-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.game-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.badge-live     { background: rgba(82,194,52,0.15);  color: #52c234; border: 1px solid rgba(82,194,52,0.30); }
.badge-soon     { background: rgba(247,151,30,0.15); color: #f7971e; border: 1px solid rgba(247,151,30,0.30); }
.badge-beta     { background: rgba(162,155,254,0.15);color: #a29bfe; border: 1px solid rgba(162,155,254,0.30); }

/* ── About ── */

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

.about-text h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.about-text p  { color: var(--muted); margin-bottom: 14px; }

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item span { font-size: 13px; color: var(--muted); }

/* ── Info boxes ── */

.info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
}

.info-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.info-box p, .info-box li { font-size: 14px; color: var(--muted); line-height: 1.7; }
.info-box ul { padding-left: 18px; }
.info-box li { margin-bottom: 4px; }

/* ── Page hero (inner pages) ── */

.page-hero {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-hero p { color: var(--muted); font-size: 16px; max-width: 540px; }

/* ── Prose (privacy/support long text) ── */

.prose h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.prose h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; color: var(--accent2); }
.prose p  { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose li { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.prose a  { color: var(--accent2); }

/* ── Footer ── */

footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
    margin-bottom: 16px;
}

/* ── Responsive ── */

@media (max-width: 700px) {
    .nav-links { gap: 18px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .stat-row { gap: 24px; }
    section { padding: 56px 0; }
}
