:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #f97316;
    --surface: #ffffff;
    --soft: #f8fafc;
    --muted: #e2e8f0;
    --text: #0b1220;
    color-scheme: light;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
    background: var(--soft);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

p { margin: 0 0 1rem 0; }

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5.5rem 1.5rem 4rem; /* room for sticky nav */
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 5vw;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--muted);
}

.brand-logo img {
    max-height: 54px;
    width: auto;
    display: block;
}
.brand-logo.hidden { display: none; }

.brand-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-name {
    max-width: 40ch;
    font-size: 1rem;
}

.desktop-nav {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.desktop-nav a {
    color: var(--text);
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    background: var(--soft);
    border: 1px solid var(--muted);
}

.nav-toggle { display: none; }

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--muted);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 10px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    right: 5vw;
    left: 5vw;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--muted);
    border-radius: 14px;
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 9;
}
.mobile-menu a {
    color: var(--text);
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--muted);
    background: var(--soft);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
    position: relative;
}

.hero-content {
    background: var(--surface);
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
    word-break: break-word;
}
.hero-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 35%);
    pointer-events: none;
}

.hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    background-color: var(--muted);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}
.glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    color: #f8fafc;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: var(--secondary);
    color: #fff;
}
.pill-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--muted);
}

.lede { font-size: 1.05rem; color: rgba(15, 23, 42, 0.75); }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 150ms ease, box-shadow 150ms ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn.primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--muted);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.btn.ghost {
    border-color: var(--muted);
    color: var(--text);
    background: var(--muted);
}
.btn:hover { transform: translateY(-2px); }

.tagline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
}

.tagline .clamp-3{
    margin: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.stack {
    margin-bottom: 2.5rem;
}
.section-head {
    margin-bottom: 1.25rem;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.tiles.games .tile { grid-template-columns: 1fr; }
.tiles.blogs .tile { grid-template-columns: 1fr; }

.tile {
    background: var(--surface);;
    border: 1px solid var(--muted);
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    overflow: hidden;
}
.tile-link {
    text-decoration: none;
    color: inherit;
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.tile-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.12);
}
.tile-body {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.thumb {
    width: 82px;
    height: 82px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    background: var(--soft);
    border: 1px solid var(--muted);
    flex-shrink: 0;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tile h3 { margin: 0 0 0.35rem 0; }
.tile p { overflow-wrap: anywhere; }

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary);
    font-weight: 700;
}

.about {
    margin-bottom: 2.5rem;
}
.about-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--muted);
    box-shadow: 0 12px 36px rgba(15,23,42,0.08);
}
.about-card.disclaimer {
    background: linear-gradient(135deg, var(--surface), var(--soft));
}

.cta-band {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}
.company-details {
    display: grid;
    gap: 0.35rem;
}
.company-details a { color: #fff; }

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { min-height: 260px; order: -1; }
    .desktop-nav { display: none; }
    .hamburger { display: inline-flex; }
    .nav-toggle:checked ~ .mobile-menu { display: flex; }
}

@media (max-width: 720px) {
    .page { padding: 4.5rem 1.1rem; }
    .hero-content { padding: 1.75rem; }
    .tiles {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 520px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.35rem; }
    .hero-content { padding: 1.5rem; }
    .cta-band {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
}
