/* ============================================================
   GAME PORTAL v6.0 — 暗色沉浸式布局
   Prefix: gq-
   Design: Dark · Glass · Glow · Immersive
   ============================================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Background — 极深中性暗色（更克制、更高级） */
    --gq-bg: #090a0f;
    --gq-bg2: #11131b;
    --gq-surface: rgba(20,23,33,.65);
    --gq-surface2: #171a24;
    --gq-card: rgba(23,27,38,.72);
    --gq-card-hover: rgba(31,36,52,.92);
    --gq-card-solid: #13151d;

    /* Border — 更细腻 */
    --gq-border: rgba(255,255,255,.06);
    --gq-border2: rgba(255,255,255,.11);

    /* Text */
    --gq-text: #f5f7fb;
    --gq-text2: #9aa3b6;
    --gq-muted: #626b82;

    /* Accent — 统一优雅的靛紫主色系（不再彩虹） */
    --gq-primary: #7c83ff;
    --gq-primary-dark: #5b62e0;
    --gq-primary-light: rgba(124,131,255,.10);
    --gq-secondary: #f5c451;        /* 评分暖黄（经典耐看） */
    --gq-cyan: #4cc9f0;             /* 冷青，渐变尾/点缀 */
    --gq-accent: #f87171;           /* 仅错误/危险态 */
    --gq-accent2: #7c83ff;
    --gq-accent3: #7c83ff;
    --gq-pink: #4cc9f0;

    /* Gradients — 收敛为 靛紫→青 双色 */
    --gq-grad: linear-gradient(120deg, #7c83ff 0%, #4cc9f0 100%);
    --gq-grad-warm: linear-gradient(120deg, #7c83ff 0%, #f87171 100%);
    --gq-grad-card: linear-gradient(180deg, rgba(124,131,255,.07) 0%, rgba(15,17,24,.85) 100%);
    --gq-glow-blue: 0 0 0 1px rgba(124,131,255,.14), 0 16px 40px rgba(0,0,0,.4);
    --gq-glow-purple: 0 0 0 1px rgba(124,131,255,.14), 0 16px 40px rgba(0,0,0,.4);

    /* Radius */
    --gq-r-sm: 8px;
    --gq-r: 12px;
    --gq-r-lg: 18px;
    --gq-r-xl: 26px;
    --gq-r-pill: 999px;

    /* Shadow — 更深邃克制 */
    --gq-shadow-sm: 0 2px 10px rgba(0,0,0,.35);
    --gq-shadow: 0 10px 30px rgba(0,0,0,.42);
    --gq-shadow-lg: 0 22px 56px rgba(0,0,0,.5);

    /* Layout */
    --gq-shell: 1280px;
    --gq-header-h: 64px;

    /* Typography */
    --gq-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --gq-display: "Sora", "Inter", -apple-system, sans-serif;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--gq-font);
    background: var(--gq-bg);
    color: var(--gq-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* Ambient background glow — 极淡克制 */
body::before {
    content: ''; position: fixed; pointer-events: none; z-index: 0;
    top: -25%; left: -15%; width: 55vw; height: 55vh;
    background: radial-gradient(circle, rgba(124,131,255,.05) 0%, transparent 70%);
    border-radius: 50%;
}
body::after {
    content: ''; position: fixed; pointer-events: none; z-index: 0;
    bottom: -25%; right: -15%; width: 45vw; height: 45vh;
    background: radial-gradient(circle, rgba(76,201,240,.04) 0%, transparent 70%);
    border-radius: 50%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============ HEADER (GLASS) ============ */
.gq-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10,14,23,.85);
    border-bottom: 1px solid var(--gq-border);
    height: var(--gq-header-h);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.gq-header-inner {
    max-width: var(--gq-shell); margin: 0 auto;
    height: 100%; padding: 0 24px;
    display: flex; align-items: center; gap: 24px;
}
.gq-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; font-weight: 800;
    color: var(--gq-text); flex-shrink: 0; letter-spacing: -.02em;
    white-space: nowrap;
}
.gq-logo-icon { font-size: 1.6rem; }
.gq-header-nav {
    display: flex; align-items: center; gap: 2px; flex: 1;
}
.gq-header-nav a, .gq-header-nav button {
    padding: 8px 16px; border-radius: var(--gq-r-pill);
    font-size: .88rem; font-weight: 500; color: var(--gq-text2);
    transition: all .2s; white-space: nowrap;
    background: none;
}
.gq-header-nav a:hover, .gq-header-nav button:hover {
    color: var(--gq-text); background: rgba(255,255,255,.06);
}
.gq-header-nav a.gq-active {
    color: var(--gq-primary); background: rgba(124,131,255,.1);
    font-weight: 600;
}

.gq-header-search {
    position: relative; margin-left: auto; flex-shrink: 0; width: 260px;
}
.gq-header-search input {
    width: 100%; padding: 9px 16px 9px 40px;
    border: 1px solid var(--gq-border);
    border-radius: var(--gq-r-pill);
    background: rgba(255,255,255,.04); font-size: .88rem;
    color: var(--gq-text); transition: all .25s;
    outline: none;
}
.gq-header-search input::placeholder { color: var(--gq-muted); }
.gq-header-search input:focus {
    border-color: var(--gq-primary); background: rgba(255,255,255,.06);
    box-shadow: 0 0 0 3px rgba(124,131,255,.15), 0 0 20px rgba(124,131,255,.1);
}
.gq-header-search svg {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; color: var(--gq-muted); pointer-events: none;
}
.gq-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.gq-btn-signin {
    padding: 9px 24px; border-radius: var(--gq-r-pill);
    background: var(--gq-grad); color: #fff;
    font-size: .88rem; font-weight: 600; transition: all .25s;
    position: relative; overflow: hidden;
}
.gq-btn-signin::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.1) 50%, transparent 100%);
    opacity: 0; transition: opacity .25s;
}
.gq-btn-signin:hover::after { opacity: 1; }
.gq-btn-signin:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124,131,255,.3); }

/* User chip */
.gq-userchip { position: relative; }
.gq-userchip-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 14px 5px 5px; border-radius: var(--gq-r-pill);
    background: rgba(255,255,255,.04); border: 1px solid var(--gq-border);
    transition: all .2s;
}
.gq-userchip-btn:hover { background: rgba(124,131,255,.1); border-color: rgba(124,131,255,.3); }
.gq-userchip-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gq-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
}
.gq-userchip-name { font-size: .88rem; font-weight: 500; color: var(--gq-text); }

.gq-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 200px; background: rgba(17,24,39,.95);
    border: 1px solid var(--gq-border); border-radius: var(--gq-r);
    box-shadow: var(--gq-shadow-lg); padding: 6px;
    display: none; z-index: 50; backdrop-filter: blur(20px);
}
.gq-dropdown.gq-open { display: block; }
.gq-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 10px 14px; border-radius: var(--gq-r-sm);
    font-size: .88rem; color: var(--gq-text2); transition: all .15s;
    background: none;
}
.gq-dropdown-item:hover { background: rgba(255,255,255,.06); color: var(--gq-text); }
.gq-dropdown-divider { height: 1px; background: var(--gq-border); margin: 6px 0; }

/* Nav "More" dropdown */
.gq-nav-more { position: relative; }
.gq-nav-more-btn {
    padding: 8px 16px; border-radius: var(--gq-r-pill);
    font-size: .88rem; font-weight: 500; color: var(--gq-text2);
    transition: all .2s; white-space: nowrap;
    background: none; display: flex; align-items: center; gap: 4px;
}
.gq-nav-more-btn:hover { color: var(--gq-text); background: rgba(255,255,255,.06); }
.gq-nav-more-btn.gq-active {
    color: var(--gq-primary); background: rgba(124,131,255,.1);
    font-weight: 600;
}
.gq-nav-more-btn .gq-arrow { font-size: .65rem; transition: transform .2s; }
.gq-nav-more:hover .gq-nav-more-btn .gq-arrow { transform: rotate(180deg); }
.gq-nav-drop {
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 200px; max-height: 320px; overflow-y: auto;
    background: rgba(17,24,39,.96); border: 1px solid var(--gq-border);
    border-radius: var(--gq-r); box-shadow: var(--gq-shadow-lg);
    padding: 6px; display: none; z-index: 100; backdrop-filter: blur(20px);
}
.gq-nav-more:hover .gq-nav-drop { display: block; }
.gq-nav-drop a {
    display: block; padding: 9px 14px; border-radius: var(--gq-r-sm);
    font-size: .85rem; font-weight: 500; color: var(--gq-text2);
    transition: all .15s; white-space: nowrap;
}
.gq-nav-drop a:hover { background: rgba(124,131,255,.1); color: var(--gq-primary); }

/* Mobile hamburger */
.gq-hamburger {
    display: none; width: 40px; height: 40px;
    align-items: center; justify-content: center;
    background: none; border-radius: var(--gq-r-sm);
    color: var(--gq-text); font-size: 1.5rem;
}

/* Mobile menu overlay */
.gq-mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.6); z-index: 2000; display: none;
    opacity: 0; transition: opacity .3s; backdrop-filter: blur(4px);
}
.gq-mobile-menu.gq-open { display: block; opacity: 1; }
.gq-mobile-panel {
    position: absolute; top: 0; right: 0; width: 320px; max-width: 85vw;
    height: 100%; background: var(--gq-card-solid);
    padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s;
}
.gq-mobile-menu.gq-open .gq-mobile-panel { transform: translateX(0); }
.gq-mobile-panel-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.gq-mobile-panel-title { font-size: 1.2rem; font-weight: 700; }
.gq-mobile-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); font-size: 1.3rem; color: var(--gq-text2);
    display: flex; align-items: center; justify-content: center;
}
.gq-mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.gq-mobile-nav a {
    padding: 12px 16px; border-radius: var(--gq-r);
    font-size: 1rem; font-weight: 500; color: var(--gq-text2);
    transition: all .15s;
}
.gq-mobile-nav a:hover { background: rgba(124,131,255,.1); color: var(--gq-primary); }
.gq-mobile-nav a.gq-active { background: rgba(124,131,255,.12); color: var(--gq-primary); font-weight: 600; }

/* ============ HERO — SPLIT LAYOUT ============ */
.gq-hero {
    position: relative; overflow: hidden;
    padding: 92px 0 84px;
    background:
        radial-gradient(ellipse 70% 60% at 85% 0%, rgba(124,131,255,.10) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(76,201,240,.05) 0%, transparent 55%),
        var(--gq-bg);
}
.gq-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,131,255,.35), transparent);
}
.gq-hero-inner {
    max-width: var(--gq-shell); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
/* Left copy */
.gq-hero-copy { max-width: 560px; }
.gq-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: var(--gq-r-pill);
    background: rgba(124,131,255,.08); border: 1px solid rgba(124,131,255,.16);
    font-size: .76rem; font-weight: 500; letter-spacing: .4px;
    margin-bottom: 26px; color: rgba(245,247,251,.75);
    backdrop-filter: blur(8px);
}
.gq-hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gq-primary);
    box-shadow: 0 0 8px rgba(124,131,255,.6);
}
.gq-hero-title {
    font-family: var(--gq-display);
    font-size: 3.4rem; font-weight: 700; line-height: 1.08; margin-bottom: 22px;
    letter-spacing: -.02em; color: var(--gq-text);
}
.gq-hero-title span {
    background: var(--gq-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gq-hero-sub {
    font-size: 1.02rem; color: var(--gq-text2); max-width: 480px; margin: 0 0 34px; line-height: 1.7;
}
.gq-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.gq-btn-fill {
    padding: 14px 34px; border-radius: var(--gq-r-pill);
    background: var(--gq-grad); color: #fff; font-size: .95rem; font-weight: 700;
    transition: all .3s; position: relative; overflow: hidden;
    box-shadow: 0 8px 28px rgba(124,131,255,.28);
}
.gq-btn-fill::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.16) 50%, transparent 100%);
    opacity: 0; transition: opacity .3s;
}
.gq-btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(124,131,255,.4); }
.gq-btn-fill:hover::before { opacity: 1; }
.gq-btn-outline {
    padding: 14px 34px; border-radius: var(--gq-r-pill);
    background: transparent; color: var(--gq-text); border: 1px solid var(--gq-border2);
    font-size: .95rem; font-weight: 600; transition: all .25s;
}
.gq-btn-outline:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); }
.gq-hero-stats {
    display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap;
}
.gq-hero-stat { text-align: left; }
.gq-hero-stat-val {
    font-family: var(--gq-display);
    font-size: 2.3rem; font-weight: 700; line-height: 1; letter-spacing: -.02em;
    color: var(--gq-text);
}
.gq-hero-stat-val span { font-size: 1.1rem; font-weight: 600; color: var(--gq-primary); }
.gq-hero-stat-lbl {
    font-size: .72rem; color: var(--gq-muted); margin-top: 8px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
}
/* Right carousel */
.gq-hero-carousel {
    position: relative; width: 100%; height: 440px;
    border-radius: var(--gq-r-lg); overflow: hidden;
    border: 1px solid var(--gq-border);
    background: var(--gq-bg2);
}
.gq-carousel-track {
    display: flex; height: 100%;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.gq-carousel-slide {
    flex: 0 0 100%; width: 100%; height: 100%; position: relative;
}
.gq-carousel-link {
    display: block; width: 100%; height: 100%;
    position: relative; text-decoration: none;
}
.gq-carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
}
.gq-carousel-slide::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(10,14,23,.85) 0%, rgba(10,14,23,.15) 50%, transparent 80%);
}
.gq-carousel-caption {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 28px 24px 22px;
}
.gq-carousel-tag {
    display: inline-block; padding: 3px 10px; border-radius: var(--gq-r-pill);
    background: var(--gq-grad); color: #fff;
    font-size: .68rem; font-weight: 600; letter-spacing: .4px;
    margin-bottom: 8px;
}
.gq-carousel-title {
    font-size: 1.05rem; font-weight: 700; color: #fff;
    line-height: 1.35; margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
/* Dots */
.gq-carousel-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; gap: 8px;
}
.gq-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.35); transition: all .3s; padding: 0;
}
.gq-carousel-dot.gq-active {
    background: var(--gq-primary); box-shadow: 0 0 8px rgba(124,131,255,.5);
}

/* ============ SHELL & SECTIONS ============ */
.gq-stage { min-height: 100vh; position: relative; z-index: 1; }
.gq-shell { max-width: var(--gq-shell); margin: 0 auto; padding: 0 24px; }
.gq-block { padding: 30px 0; }

/* ============ SECTION HEADERS ============ */
.gq-sec-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px; gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gq-border);
    position: relative;
}
.gq-sec-head::after {
    content: ''; position: absolute; bottom: -1px; left: 0;
    width: 56px; height: 3px; border-radius: 3px;
    background: var(--gq-grad);
}
.gq-sec-head-left { display: flex; align-items: baseline; gap: 14px; }
.gq-sec-title {
    font-family: var(--gq-display);
    font-size: 1.7rem; font-weight: 700; color: var(--gq-text);
    letter-spacing: -.02em;
}
.gq-sec-badge {
    padding: 4px 14px; border-radius: var(--gq-r-pill);
    background: rgba(124,131,255,.10); color: var(--gq-primary);
    font-size: .74rem; font-weight: 600; border: 1px solid rgba(124,131,255,.18);
}
.gq-sec-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600;
    padding: 8px 18px; border-radius: var(--gq-r-pill);
    transition: all .25s; color: var(--gq-primary); border: 1px solid rgba(124,131,255,.15);
}
.gq-sec-link:hover { background: rgba(124,131,255,.08); border-color: rgba(124,131,255,.3); }
.gq-sec-link svg { width: 16px; height: 16px; }

/* ================================================================
   MODULE SECTIONS — unified gq-gcard grid
   (same card style as the list page)
   ================================================================ */
.gq-block { padding: 30px 0; }
.gq-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.gq-gcard {
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); overflow: hidden;
    transition: all .35s; display: flex; flex-direction: column;
}
.gq-gcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0,0,0,.4);
    border-color: rgba(124,131,255,.2);
}
.gq-gcard-thumb { position: relative; height: 180px; overflow: hidden; background: var(--gq-bg2); }
.gq-gcard-thumb::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,14,23,.15) 0%, transparent 50%);
}
.gq-gcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gq-gcard:hover .gq-gcard-thumb img { transform: scale(1.08); }
.gq-gcard-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 4px 11px; border-radius: var(--gq-r-pill);
    background: rgba(10,14,23,.75); color: var(--gq-primary);
    font-size: .68rem; font-weight: 600; border: 1px solid rgba(124,131,255,.2);
    backdrop-filter: blur(6px);
}
.gq-gcard-play-overlay {
    position: absolute; inset: 0; background: rgba(10,14,23,.35); z-index: 1;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.gq-gcard:hover .gq-gcard-play-overlay { opacity: 1; }
.gq-gcard-play-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--gq-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: 0 8px 28px rgba(124,131,255,.35);
}
.gq-gcard-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.gq-gcard-title {
    font-size: .98rem; font-weight: 700; color: var(--gq-text);
    line-height: 1.35; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.gq-gcard-desc {
    font-size: .82rem; color: var(--gq-text2); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    flex: 1; margin-bottom: 12px;
}
.gq-gcard-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--gq-border);
}
.gq-gcard-rating { font-size: .82rem; color: var(--gq-secondary); }

/* ================================================================
   STYLE B — IMAGE-LEFT LIST
   Horizontal rows: square thumb on the left, text on the right
   ================================================================ */
.gq-list { display: flex; flex-direction: column; gap: 14px; }
.gq-row {
    display: flex; gap: 18px; align-items: stretch;
    background: var(--gq-card); border: 1px solid var(--gq-border);
    border-radius: var(--gq-r-lg); overflow: hidden;
    transition: all .3s; text-decoration: none;
}
.gq-row:hover {
    border-color: rgba(124,131,255,.25);
    box-shadow: 0 14px 34px rgba(0,0,0,.38);
    transform: translateY(-2px);
}
.gq-row-thumb {
    position: relative; flex: 0 0 190px; align-self: stretch; min-height: 132px;
    overflow: hidden; background: var(--gq-bg2);
}
.gq-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gq-row:hover .gq-row-thumb img { transform: scale(1.08); }
.gq-row-play {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: #fff; opacity: 0;
    background: rgba(10,14,23,.4); transition: opacity .3s;
}
.gq-row:hover .gq-row-play { opacity: 1; }
.gq-row-body {
    flex: 1; min-width: 0; padding: 16px 18px 16px 0;
    display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.gq-row-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gq-row-title {
    font-size: 1.02rem; font-weight: 700; color: var(--gq-text);
    line-height: 1.3; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.gq-row-cat {
    flex: none; padding: 3px 11px; border-radius: var(--gq-r-pill);
    background: rgba(124,131,255,.12); color: #7c83ff;
    font-size: .68rem; font-weight: 600; border: 1px solid rgba(124,131,255,.18);
}
.gq-row-desc {
    font-size: .84rem; color: var(--gq-text2); line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gq-row-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.gq-row-rating { font-size: .8rem; color: var(--gq-secondary); }
.gq-row-go {
    font-size: .8rem; font-weight: 600; color: var(--gq-primary);
    opacity: .8; transition: opacity .2s, transform .2s;
}
.gq-row:hover .gq-row-go { opacity: 1; transform: translateX(3px); }

/* ================================================================
   STYLE C — COMPACT TILES
   Small image-filled tiles with a bottom title overlay
   ================================================================ */
.gq-tiles {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px;
}
.gq-tile {
    position: relative; display: block; aspect-ratio: 4 / 3;
    border-radius: var(--gq-r-lg); overflow: hidden;
    border: 1px solid var(--gq-border); background: var(--gq-bg2);
    transition: all .35s; text-decoration: none;
}
.gq-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    border-color: rgba(124,131,255,.28);
}
.gq-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.gq-tile:hover img { transform: scale(1.1); }
.gq-tile-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
    padding: 14px;
    background: linear-gradient(to top, rgba(10,14,23,.9) 0%, rgba(10,14,23,.2) 55%, transparent 80%);
}
.gq-tile-title {
    font-size: .88rem; font-weight: 700; color: #fff; line-height: 1.3; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gq-tile-rating { font-size: .76rem; color: var(--gq-secondary); }

/* ============ HORIZONTAL SCROLL ROW (legacy) ============ */
.gq-strip { margin-bottom: 48px; }
.gq-strip-scroll {
    display: flex; gap: 16px; overflow-x: auto;
    padding-bottom: 8px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gq-strip-scroll::-webkit-scrollbar { display: none; }
.gq-strip-card {
    flex: 0 0 220px; scroll-snap-align: start;
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); overflow: hidden;
    transition: all .35s; backdrop-filter: blur(10px);
}
.gq-strip-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.4), var(--gq-glow-blue); border-color: rgba(124,131,255,.25); }
.gq-strip-thumb {
    position: relative; height: 140px; overflow: hidden; background: var(--gq-bg2);
}
.gq-strip-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gq-strip-card:hover .gq-strip-thumb img { transform: scale(1.1); }
.gq-strip-play {
    position: absolute; inset: 0; background: rgba(10,14,23,.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
}
.gq-strip-card:hover .gq-strip-play { opacity: 1; }
.gq-strip-play-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gq-grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; box-shadow: 0 8px 28px rgba(124,131,255,.4);
}
.gq-strip-body { padding: 14px; }
.gq-strip-card-title {
    font-size: .9rem; font-weight: 600; color: var(--gq-text);
    line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px;
}
.gq-strip-card-meta { font-size: .78rem; color: var(--gq-muted); }

/* ============ CATEGORY ICON GRID ============ */
.gq-catgrid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
}
.gq-catcard {
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); padding: 24px 16px;
    text-align: center; transition: all .25s;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.gq-catcard:hover { transform: translateY(-3px); box-shadow: var(--gq-shadow); border-color: var(--gq-primary); }
.gq-catcard-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--gq-primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.gq-catcard-name { font-size: .85rem; font-weight: 600; color: var(--gq-text); }
.gq-catcard-count { font-size: .75rem; color: var(--gq-muted); }

/* ============ STATS BANNER ============ */
.gq-stats-banner {
    background: var(--gq-grad); padding: 40px 0; margin: 0 0 48px;
}
.gq-stats-banner-inner {
    max-width: var(--gq-shell); margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.gq-stat-item { text-align: center; color: #fff; }
.gq-stat-number { font-size: 2rem; font-weight: 800; }
.gq-stat-label { font-size: .82rem; opacity: .8; margin-top: 4px; }

/* ============ CATEGORY BAR (LIST PAGE) ============ */
.gq-catbar {
    display: flex; gap: 6px; overflow-x: auto; padding: 16px 0;
    scrollbar-width: none; flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}
.gq-catbar::-webkit-scrollbar { display: none; }
.gq-catbar a {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: var(--gq-r-pill);
    background: var(--gq-surface); border: 1px solid var(--gq-border);
    font-size: .85rem; font-weight: 500; color: var(--gq-text2);
    transition: all .2s; white-space: nowrap;
}
.gq-catbar a:hover { border-color: var(--gq-primary); color: var(--gq-primary); }
.gq-catbar a.gq-active {
    background: var(--gq-primary); color: #fff; border-color: var(--gq-primary); font-weight: 600;
}

/* ============ PAGE HEADER ============ */
.gq-pagehead {
    padding: 48px 0 32px;
}
.gq-pagehead-center { text-align: center; }
.gq-pagehead h1 { font-size: 2rem; font-weight: 800; color: var(--gq-text); margin-bottom: 8px; }
.gq-pagehead p { font-size: 1rem; color: var(--gq-text2); max-width: 600px; }
.gq-pagehead-center p { margin: 0 auto; }
.gq-pagehead-meta { font-size: .85rem; color: var(--gq-muted); }

/* ============ NARROW CONTENT (about/contact/privacy/terms/disclaimer) ============ */
.gq-narrow { max-width: 800px; margin: 0 auto; padding-bottom: 48px; }
.gq-panel {
    background: var(--gq-surface); border-radius: var(--gq-r-xl);
    border: 1px solid var(--gq-border); padding: 32px;
    margin-bottom: 20px;
}
.gq-panel h2 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 16px;
    color: var(--gq-text); padding-bottom: 10px; border-bottom: 2px solid var(--gq-primary-light);
}
.gq-panel h3 { font-size: 1.05rem; font-weight: 600; color: var(--gq-text); margin: 20px 0 8px; }
.gq-panel p { color: var(--gq-text2); line-height: 1.7; margin-bottom: 12px; }
.gq-panel p:last-child { margin-bottom: 0; }
.gq-content { line-height: 1.8; color: var(--gq-text2); }
.gq-content h2 {
    font-size: 1.3rem; font-weight: 700; color: var(--gq-text);
    margin: 32px 0 12px; padding-bottom: 8px;
    border-bottom: 2px solid var(--gq-primary-light);
}
.gq-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--gq-text); margin: 20px 0 8px; }
.gq-content p { margin-bottom: 12px; }
.gq-content a { color: var(--gq-primary); text-decoration: underline; }
.gq-content strong { color: var(--gq-text); }

/* ============ SIDEBAR (LIST PAGE) ============ */
.gq-with-side { display: block; padding-bottom: 48px; }
.gq-side-sec {
    background: var(--gq-surface); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); padding: 20px; margin-bottom: 16px;
}
.gq-side-sec .gq-side-sec-title {
    font-size: .9rem; font-weight: 700; color: var(--gq-text);
    margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.gq-side-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gq-primary); flex-shrink: 0; }
.gq-side-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gq-side-tag {
    padding: 5px 12px; border-radius: var(--gq-r-pill);
    background: var(--gq-bg2); font-size: .78rem; color: var(--gq-text2);
    border: 1px solid var(--gq-border); transition: all .2s;
}
.gq-side-tag:hover { background: var(--gq-primary-light); color: var(--gq-primary); border-color: var(--gq-primary); }
.gq-side-nav { display: flex; flex-direction: column; gap: 2px; }
.gq-side-nav a {
    padding: 9px 12px; border-radius: var(--gq-r-sm);
    font-size: .85rem; color: var(--gq-text2); transition: all .15s;
    display: flex; align-items: center; gap: 8px;
}
.gq-side-nav a:hover { background: var(--gq-primary-light); color: var(--gq-primary); }
.gq-side-nav a.gq-active {
    background: rgba(124,131,255,.12); color: var(--gq-primary);
    font-weight: 600;
}
.gq-side-nav svg { width: 14px; height: 14px; color: var(--gq-primary); flex-shrink: 0; }

/* ============ PAGINATION ============ */
.gq-pager { padding: 32px 0; }
.gq-pager .pagination-container { display: flex; justify-content: center; }
.gq-pager ul.pagination-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.gq-pager li.pagination-item { list-style: none; }
.gq-pager .pagination-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 8px;
    border-radius: var(--gq-r-sm); font-size: .88rem; font-weight: 500;
    border: 1px solid var(--gq-border); color: var(--gq-text2);
    background: var(--gq-bg2); transition: all .15s; text-decoration: none;
}
.gq-pager a.pagination-link:hover {
    border-color: var(--gq-primary); color: var(--gq-primary);
    background: var(--gq-primary-light);
}
.gq-pager .pagination-link.current,
.gq-pager .pagination-item.active .pagination-link {
    background: var(--gq-primary); color: #fff;
    border-color: var(--gq-primary); font-weight: 700;
}
.gq-pager .pagination-link.disabled {
    opacity: .45; pointer-events: none; cursor: not-allowed;
}

/* ============ FORM ELEMENTS ============ */
.gq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gq-field { margin-bottom: 16px; }
.gq-field label {
    display: block; font-size: .85rem; font-weight: 600;
    color: var(--gq-text); margin-bottom: 6px;
}
.gq-field input, .gq-field select, .gq-field textarea {
    width: 100%; padding: 11px 16px; border: 2px solid var(--gq-border);
    border-radius: var(--gq-r); background: var(--gq-bg);
    font-size: .9rem; color: var(--gq-text); transition: all .2s;
    outline: none;
}
.gq-field input:focus, .gq-field select:focus, .gq-field textarea:focus {
    border-color: var(--gq-primary);
    box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.gq-field textarea { resize: vertical; min-height: 120px; }
.gq-btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; border-radius: var(--gq-r-pill);
    background: var(--gq-primary); color: #fff;
    font-size: .92rem; font-weight: 700; transition: all .2s;
}
.gq-btn-primary:hover { background: var(--gq-primary-dark); transform: translateY(-1px); box-shadow: var(--gq-shadow); }
.gq-btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: var(--gq-r-pill);
    background: transparent; border: 2px solid var(--gq-border);
    color: var(--gq-text2); font-size: .88rem; font-weight: 600; transition: all .2s;
}
.gq-btn-ghost:hover { border-color: var(--gq-primary); color: var(--gq-primary); }
.gq-btn-ghost-danger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px; border-radius: var(--gq-r-pill);
    background: transparent; border: 2px solid var(--gq-border);
    color: var(--gq-accent); font-size: .88rem; font-weight: 600; transition: all .2s;
}
.gq-btn-ghost-danger:hover { border-color: var(--gq-accent); background: rgba(248,113,113,.1); }

/* ============ DETAIL PAGE ============ */
.gq-crumb { padding: 16px 0; font-size: .85rem; color: var(--gq-muted); }
.gq-crumb ol {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    list-style: none; margin: 0; padding: 0;
}
.gq-crumb li { display: flex; align-items: center; }
.gq-crumb li.gq-crumb-sep {
    color: var(--gq-border); font-size: .75rem; user-select: none;
    padding: 0;
}
.gq-crumb a { color: var(--gq-text2); transition: color .2s; }
.gq-crumb a:hover { color: var(--gq-primary); }
.gq-crumb .gq-cur { color: var(--gq-text); font-weight: 600; }
.gq-detail-hero {
    background: linear-gradient(160deg, #0a1628 0%, #0f1f3d 40%, #111d3a 100%);
    color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.gq-detail-hero::before {
    content: ''; position: absolute; top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,131,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.gq-detail-hero-inner {
    max-width: var(--gq-shell); margin: 0 auto; padding: 0 24px;
    display: flex; gap: 32px; align-items: center;
}
.gq-detail-cover {
    flex-shrink: 0; width: 260px; border-radius: var(--gq-r-lg);
    overflow: hidden; box-shadow: var(--gq-shadow-lg);
}
.gq-detail-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gq-detail-info { flex: 1; }
.gq-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.gq-detail-tag {
    padding: 4px 12px; border-radius: var(--gq-r-pill);
    background: rgba(255,255,255,.15); font-size: .78rem;
}
.gq-detail-info h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.gq-detail-info .gq-detail-brief { font-size: .95rem; opacity: .85; line-height: 1.6; margin-bottom: 20px; }
.gq-detail-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.gq-detail-stat { display: flex; align-items: center; gap: 10px; }
.gq-detail-stat-icon { font-size: 1.4rem; }
.gq-detail-stat small { display: block; font-size: .72rem; opacity: .6; }
.gq-detail-stat strong { font-size: .9rem; }
.gq-detail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gq-btn-play {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--gq-r-pill);
    background: var(--gq-grad-warm); color: #fff;
    font-size: 1rem; font-weight: 700; transition: all .2s;
    box-shadow: 0 4px 20px rgba(245,158,11,.35);
}
.gq-btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,.45); }
.gq-btn-fav {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all .2s;
}
.gq-btn-fav:hover { background: rgba(239,68,68,.3); border-color: #ef4444; }
.gq-btn-fav.gq-faved { background: #ef4444; border-color: #ef4444; }

.gq-detail-share { display: flex; align-items: center; gap: 6px; }
.gq-detail-share a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; transition: all .2s;
}
.gq-detail-share a:hover { background: rgba(255,255,255,.25); }

/* Game Player */
.gq-player-wrap {
    background: var(--gq-surface); border-radius: var(--gq-r-xl);
    border: 1px solid var(--gq-border); padding: 24px;
    margin: 32px 0;
}
.gq-player-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .95rem; font-weight: 700; color: var(--gq-text);
    margin-bottom: 16px;
}
.gq-player {
    aspect-ratio: 16/9; border-radius: var(--gq-r); overflow: hidden;
    background: #000;
}
.gq-player iframe { width: 100%; height: 100%; border: none; }

/* Detail Tabs */
.gq-detail-tabs {
    display: flex; gap: 4px; border-bottom: 2px solid var(--gq-border);
    margin-bottom: 24px; overflow-x: auto; overflow-y: hidden;
}
.gq-detail-tabs button {
    padding: 12px 24px; background: none;
    font-size: .9rem; font-weight: 600; color: var(--gq-text2);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all .2s; white-space: nowrap;
}
.gq-detail-tabs button:hover { color: var(--gq-primary); }
.gq-detail-tabs button.gq-active { color: var(--gq-primary); border-bottom-color: var(--gq-primary); }
.gq-detail-tab-count {
    display: inline-block; padding: 2px 8px; border-radius: var(--gq-r-pill);
    background: rgba(255,255,255,.06); font-size: .78rem; margin-left: 6px;
}
.gq-detail-panel { display: none; }
.gq-detail-panel.gq-active { display: block; }
.gq-detail-panel-title {
    font-size: 1.15rem; font-weight: 700; color: var(--gq-text);
    margin: 0 0 20px;
}

/* FAQ */
.gq-faq-item {
    background: var(--gq-surface); border: 1px solid var(--gq-border);
    border-radius: var(--gq-r); margin-bottom: 10px; overflow: hidden;
}
.gq-faq-item summary {
    padding: 16px 20px; font-weight: 600; color: var(--gq-text);
    cursor: pointer; font-size: .95rem; display: flex; justify-content: space-between;
    align-items: center; transition: all .15s;
}
.gq-faq-item summary:hover { color: var(--gq-primary); }
.gq-faq-item[open] summary { color: var(--gq-primary); border-bottom: 1px solid var(--gq-border); }
.gq-faq-answer { padding: 16px 20px; color: var(--gq-text2); line-height: 1.7; }

/* Comments */
.gq-comments-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.gq-comments-head h2 { font-size: 1.15rem; font-weight: 700; }
.gq-comments-count { font-size: .85rem; color: var(--gq-muted); }
.gq-comment-form {
    background: var(--gq-surface); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); padding: 20px; margin-bottom: 20px;
}
.gq-comment-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gq-comment-form-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gq-grad); color: #fff; display: flex;
    align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
}
.gq-comment-form-author { font-size: .9rem; font-weight: 600; color: var(--gq-text); }
.gq-comment-form-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.gq-comment-form-rating label { font-size: .85rem; color: var(--gq-text2); margin-right: 4px; }
.gq-rate-star { cursor: pointer; color: var(--gq-border2); font-size: 1.1rem; transition: color .15s; }
.gq-rate-star.gq-on, .gq-rate-star:hover { color: var(--gq-secondary); }
.gq-comment-form textarea {
    width: 100%; padding: 12px; border: 2px solid var(--gq-border);
    border-radius: var(--gq-r); background: var(--gq-bg);
    font-size: .9rem; resize: vertical; min-height: 90px;
    outline: none; color: var(--gq-text);
}
.gq-comment-form textarea:focus { border-color: var(--gq-primary); }
.gq-comment-form-foot { margin-top: 12px; }
.gq-comment-login {
    padding: 20px; text-align: center; color: var(--gq-text2);
    background: var(--gq-bg2); border-radius: var(--gq-r);
}
.gq-comment-login a { color: var(--gq-primary); font-weight: 600; }
.gq-comment {
    background: var(--gq-surface); border: 1px solid var(--gq-border);
    border-radius: var(--gq-r); padding: 16px; margin-bottom: 10px;
}
.gq-comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gq-comment-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gq-primary-light); color: var(--gq-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.gq-comment-author { font-size: .9rem; font-weight: 600; color: var(--gq-text); }
.gq-comment-date { font-size: .78rem; color: var(--gq-muted); }
.gq-comment-stars { margin-left: auto; }
.gq-comment-body { font-size: .9rem; color: var(--gq-text2); line-height: 1.6; }
.gq-loadmore {
    display: block; margin: 16px auto; padding: 10px 28px;
    border-radius: var(--gq-r-pill); background: var(--gq-surface);
    border: 2px solid var(--gq-border); color: var(--gq-text2);
    font-size: .88rem; font-weight: 600; transition: all .2s;
}
.gq-loadmore:hover { border-color: var(--gq-primary); color: var(--gq-primary); }

/* Empty states */
.gq-empty {
    text-align: center; padding: 64px 24px;
}
.gq-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.gq-empty h2 { font-size: 1.3rem; margin-bottom: 8px; }
.gq-empty p { color: var(--gq-text2); margin-bottom: 20px; }
.gq-empty-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gq-empty-sm { text-align: center; padding: 32px; color: var(--gq-text2); }

/* ============ PROFILE PAGE ============ */
.gq-profile-grid {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px;
    padding: 32px 0 48px;
}
.gq-profile-card {
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); padding: 28px; text-align: center;
    margin-bottom: 16px; backdrop-filter: blur(10px);
}
.gq-profile-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--gq-grad); color: #fff; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700;
}
.gq-profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gq-profile-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.gq-profile-card p { font-size: .85rem; color: var(--gq-text2); }
.gq-profile-nav {
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); overflow: hidden;
    backdrop-filter: blur(10px);
}
.gq-profile-nav button {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 14px 20px; background: none;
    font-size: .9rem; font-weight: 500; color: var(--gq-text2);
    border-bottom: 1px solid var(--gq-border); transition: all .15s;
    text-align: left;
}
.gq-profile-nav button:last-child { border-bottom: none; }
.gq-profile-nav button:hover { background: rgba(124,131,255,.06); color: var(--gq-text); }
.gq-profile-nav button.gq-active { background: rgba(124,131,255,.1); color: var(--gq-primary); font-weight: 600; }
.gq-profile-panel {
    background: var(--gq-card); border-radius: var(--gq-r-lg);
    border: 1px solid var(--gq-border); padding: 28px;
    backdrop-filter: blur(10px);
}
.gq-profile-pane { display: none; }
.gq-profile-pane.gq-active { display: block; }
.gq-profile-heading {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid rgba(124,131,255,.15);
}
.gq-profile-stats { display: flex; gap: 16px; margin-bottom: 20px; }
.gq-profile-stat {
    padding: 14px 24px; border-radius: var(--gq-r);
    background: rgba(255,255,255,.04); text-align: center;
}
.gq-stat-val { font-size: 1.5rem; font-weight: 800; color: var(--gq-primary); }
.gq-stat-label { font-size: .78rem; color: var(--gq-text2); margin-top: 2px; }
.gq-mini-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.gq-mini-card {
    background: var(--gq-bg2); border-radius: var(--gq-r);
    overflow: hidden; border: 1px solid var(--gq-border); transition: all .2s;
}
.gq-mini-card:hover { border-color: var(--gq-primary); }
.gq-mini-card a { display: flex; }
.gq-mini-img {
    width: 80px; height: 60px; object-fit: cover; flex-shrink: 0;
}
.gq-mini-body { padding: 10px 14px; display: flex; align-items: center; flex: 1; }
.gq-mini-title { font-size: .85rem; font-weight: 600; color: var(--gq-text); }
.gq-mini-actions { padding: 8px 14px; border-top: 1px solid var(--gq-border); }
.gq-btn-unfav {
    font-size: .78rem; color: var(--gq-accent); background: none; font-weight: 500;
    padding: 4px 10px; border-radius: var(--gq-r-sm); transition: all .15s;
}
.gq-btn-unfav:hover { background: rgba(248,113,113,.1); }

.gq-avatar-zone {
    background: rgba(255,255,255,.03); border-radius: var(--gq-r);
    padding: 20px; margin-bottom: 20px; border: 1px solid var(--gq-border);
}
.gq-avatar-zone-head { margin-bottom: 14px; }
.gq-avatar-zone-title { font-size: .9rem; font-weight: 600; }
.gq-avatar-row { display: flex; align-items: center; gap: 16px; }
.gq-avatar-preview {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--gq-grad); color: #fff; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700;
}
.gq-avatar-preview img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gq-avatar-actions { display: flex; flex-direction: column; gap: 8px; }
.gq-avatar-hint { font-size: .75rem; color: var(--gq-muted); margin-top: 10px; }
.gq-file-input { font-size: .85rem; }
.gq-field-group { margin-bottom: 16px; }
.gq-field-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gq-text); margin-bottom: 4px; }
.gq-field-group input {
    width: 100%; padding: 10px 14px; border: 2px solid var(--gq-border);
    border-radius: var(--gq-r); background: var(--gq-bg);
    font-size: .9rem; color: var(--gq-text); outline: none; transition: all .2s;
}
.gq-field-group input:focus { border-color: var(--gq-primary); }
.gq-field-group input:disabled { background: var(--gq-bg2); color: var(--gq-muted); cursor: not-allowed; }
.gq-profile-loading { text-align: center; padding: 40px; }
.gq-profile-spinner {
    width: 36px; height: 36px; border: 3px solid var(--gq-border);
    border-top-color: var(--gq-primary); border-radius: 50%;
    animation: gq-spin .7s linear infinite;
    margin: 0 auto 12px;
}
@keyframes gq-spin { to { transform: rotate(360deg); } }
.gq-profile-loading-text { font-size: .88rem; color: var(--gq-text2); }
.gq-profile-empty { text-align: center; padding: 40px; color: var(--gq-text2); }
.gq-profile-empty-icon { font-size: 2.5rem; margin-bottom: 10px; }

/* ============ ALERT / TOAST ============ */
.gq-alert {
    padding: 12px 18px; border-radius: var(--gq-r);
    font-size: .88rem; margin-bottom: 16px; display: none;
}
.gq-alert.gq-show { display: block; }
.gq-alert.success { background: rgba(16,185,129,.1); color: #7c83ff; border: 1px solid rgba(16,185,129,.2); }
.gq-alert.error { background: rgba(248,113,113,.1); color: #f87171; border: 1px solid rgba(248,113,113,.2); }
.gq-alert.info { background: rgba(124,131,255,.1); color: var(--gq-primary); border: 1px solid rgba(124,131,255,.2); }

.gq-toast {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    padding: 14px 24px; border-radius: var(--gq-r-pill);
    font-size: .88rem; font-weight: 600; box-shadow: var(--gq-shadow-lg);
    transform: translateY(100px); opacity: 0; transition: all .3s;
    pointer-events: none;
}
.gq-toast.gq-show { transform: translateY(0); opacity: 1; }
.gq-toast.success { background: #065f46; color: #fff; }
.gq-toast.error { background: #991b1b; color: #fff; }
.gq-toast.warning { background: #92400e; color: #fff; }

/* Confirm modal */
.gq-confirm {
    position: fixed; inset: 0; z-index: 5000;
    background: rgba(10,14,23,.7); display: none;
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.gq-confirm.gq-open { display: flex; }
.gq-confirm-box {
    background: var(--gq-card-solid); border-radius: var(--gq-r-xl);
    padding: 32px; max-width: 420px; width: 90%;
    text-align: center; border: 1px solid var(--gq-border);
}
.gq-confirm-icon { font-size: 2.5rem; margin-bottom: 12px; }
.gq-confirm-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.gq-confirm-text { font-size: .9rem; color: var(--gq-text2); margin-bottom: 24px; }
.gq-confirm-btns { display: flex; gap: 10px; justify-content: center; }
.gq-confirm-btn {
    padding: 10px 24px; border-radius: var(--gq-r-pill);
    font-size: .88rem; font-weight: 600; transition: all .2s;
}
.gq-confirm-btn-cancel {
    background: rgba(255,255,255,.06); color: var(--gq-text2); border: 1px solid var(--gq-border);
}
.gq-confirm-btn-cancel:hover { background: rgba(255,255,255,.1); }
.gq-confirm-btn-danger {
    background: var(--gq-accent); color: #fff;
}
.gq-confirm-btn-danger:hover { background: #ef4444; }

/* ============ NOTIFY ============ */
.gq-notify {
    position: fixed; top: 24px; right: 24px; z-index: 9999;
    max-width: 400px; background: var(--gq-card-solid);
    border-radius: var(--gq-r-lg); box-shadow: var(--gq-shadow-lg);
    border: 1px solid var(--gq-border);
    overflow: hidden; animation: gq-slideIn .3s ease;
}
@keyframes gq-slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.gq-notify-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 18px; font-weight: 700; font-size: .9rem;
}
.gq-notify--ok .gq-notify-head { background: rgba(16,185,129,.15); color: #7c83ff; }
.gq-notify--err .gq-notify-head { background: rgba(248,113,113,.15); color: #f87171; }
.gq-notify-body { padding: 14px 18px; font-size: .88rem; color: var(--gq-text2); }
.gq-notify-x { background: none; font-size: 1.2rem; color: inherit; }
.gq-hidden { display: none !important; }

/* ============ AUTH OVERLAY ============ */
.gq-auth-overlay {
    position: fixed; inset: 0; z-index: 6000;
    background: rgba(10,14,23,.75); display: flex;
    align-items: center; justify-content: center;
    padding: 24px; backdrop-filter: blur(6px);
}
.gq-auth-card {
    background: var(--gq-card-solid); border-radius: var(--gq-r-xl);
    padding: 40px; max-width: 440px; width: 100%;
    max-height: 90vh; overflow-y: auto; position: relative;
    border: 1px solid var(--gq-border); box-shadow: var(--gq-shadow-lg);
}
.gq-auth-x {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); font-size: 1.3rem; color: var(--gq-text2);
    display: flex; align-items: center; justify-content: center;
}
.gq-auth-head { text-align: center; margin-bottom: 28px; }
.gq-auth-head h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.gq-auth-head p { font-size: .9rem; color: var(--gq-text2); }
.gq-auth-tabs {
    display: flex; gap: 0; margin-bottom: 24px;
    background: rgba(255,255,255,.04); border-radius: var(--gq-r-pill); padding: 4px;
}
.gq-auth-tabs button {
    flex: 1; padding: 10px; border-radius: var(--gq-r-pill);
    background: transparent; font-size: .9rem; font-weight: 600;
    color: var(--gq-text2); transition: all .2s;
}
.gq-auth-tabs button.gq-active {
    background: rgba(255,255,255,.08); color: var(--gq-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gq-auth-form { display: none; }
.gq-auth-form.gq-active { display: block; }
.gq-pass { position: relative; }
.gq-pass input { padding-right: 44px !important; }
.gq-pass-icon {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    cursor: pointer; color: var(--gq-muted); font-size: 1rem;
}
.gq-auth-submit {
    width: 100%; padding: 12px; border-radius: var(--gq-r-pill);
    background: var(--gq-grad); color: #fff;
    font-size: .95rem; font-weight: 700; margin-top: 8px; transition: all .25s;
    box-shadow: 0 4px 16px rgba(124,131,255,.2);
}
.gq-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,131,255,.3); }
.gq-auth-submit.gq-busy { opacity: .7; pointer-events: none; }
.gq-auth-foot { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--gq-text2); }
.gq-auth-foot a { color: var(--gq-primary); font-weight: 600; }
.gq-field-error { font-size: .78rem; color: var(--gq-accent); margin-top: 4px; }
.gq-has-error input { border-color: var(--gq-accent) !important; }

/* ============ GAME OVERLAY ============ */
.gq-overlay {
    position: fixed; inset: 0; z-index: 8000; background: #000;
    display: flex; align-items: center; justify-content: center;
}
.gq-overlay-stage { width: 100%; height: 100%; max-width: 1400px; max-height: 900px; }
.gq-overlay-stage iframe { width: 100%; height: 100%; border: none; }
.gq-overlay-exit {
    position: absolute; top: 20px; right: 20px; z-index: 10;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    font-size: 1.3rem; display: flex; align-items: center;
    justify-content: center; transition: all .2s;
}
.gq-overlay-exit:hover { background: rgba(239,68,68,.6); }

/* ============ PROSE ============ */
.gq-prose { line-height: 1.8; color: var(--gq-text2); }
.gq-prose h2 { font-size: 1.2rem; font-weight: 700; color: var(--gq-text); margin: 24px 0 12px; }
.gq-prose h3 { font-size: 1rem; font-weight: 600; color: var(--gq-text); margin: 16px 0 8px; }
.gq-prose p { margin-bottom: 12px; }

/* ============ FOOTER ============ */
.gq-foot {
    background: #060b14; color: #94a3b8; padding: 56px 0 24px; margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.06); position: relative;
}
.gq-foot::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 400px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,131,255,.4), rgba(124,131,255,.4), transparent);
}
.gq-foot-inner { max-width: var(--gq-shell); margin: 0 auto; padding: 0 24px; }
.gq-foot-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px;
}
.gq-foot-brand {
    font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 14px; display: block;
    letter-spacing: -.01em;
}
.gq-foot-about { font-size: .88rem; line-height: 1.7; margin-bottom: 18px; color: #64748b; }
.gq-foot-social { display: flex; gap: 10px; }
.gq-foot-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.06); color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; transition: all .25s;
    border: 1px solid rgba(255,255,255,.06);
}
.gq-foot-social a:hover { background: var(--gq-grad); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(124,131,255,.25); }
.gq-foot-col .gq-foot-col-title { font-size: .88rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.gq-foot-col li { margin-bottom: 9px; }
.gq-foot-col a { font-size: .85rem; color: #64748b; transition: color .15s; }
.gq-foot-col a:hover { color: var(--gq-primary); }
.gq-foot-bar {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 20px; text-align: center; font-size: .82rem; color: #475569;
}

/* ============ COOKIE ============ */
.gq-cookie {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(10,14,23,.95); border-top: 1px solid var(--gq-border);
    padding: 18px 24px; display: none; backdrop-filter: blur(16px);
    align-items: center; justify-content: center; gap: 24px;
    flex-wrap: wrap; box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}
.gq-cookie.gq-show { display: flex; }
.gq-cookie-text { font-size: .85rem; color: var(--gq-text2); max-width: 480px; }
.gq-cookie-btns { display: flex; gap: 10px; }
.gq-cookie-btn {
    padding: 9px 22px; border-radius: var(--gq-r-pill);
    font-size: .85rem; font-weight: 600; transition: all .25s;
}
.gq-cookie-btn-accept { background: var(--gq-grad); color: #fff; box-shadow: 0 2px 12px rgba(124,131,255,.2); }
.gq-cookie-btn-accept:hover { box-shadow: 0 4px 20px rgba(124,131,255,.35); transform: translateY(-1px); }
.gq-cookie-btn:not(.gq-cookie-btn-accept) {
    background: rgba(255,255,255,.04); color: var(--gq-text2); border: 1px solid var(--gq-border);
}
.gq-cookie-btn:not(.gq-cookie-btn-accept):hover { background: rgba(255,255,255,.08); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .gq-header-nav a { padding: 8px 12px; font-size: .82rem; }
    .gq-header-search { width: 200px; }
    .gq-detail-hero-inner { flex-direction: column; }
    .gq-detail-cover { width: 200px; }
    .gq-profile-grid { grid-template-columns: 220px 1fr; }
    .gq-hero-carousel { height: 380px; }
}
@media (max-width: 768px) {
    .gq-header-nav, .gq-header-search { display: none; }
    .gq-hamburger { display: flex; }
    .gq-hero { padding: 72px 0 56px; }
    .gq-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .gq-hero-copy { max-width: 100%; }
    .gq-hero-title { font-size: 2.4rem; }
    .gq-hero-sub { font-size: .92rem; }
    .gq-hero-stats { gap: 40px; }
    .gq-hero-stat-val { font-size: 2rem; }
    .gq-hero-carousel { height: 300px; }
    .gq-carousel-title { font-size: .92rem; }
    .gq-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .gq-strip-card { flex: 0 0 170px; }
    .gq-strip-thumb { height: 110px; }
    .gq-with-side { grid-template-columns: 1fr; }
    .gq-side { order: 2; }
    .gq-foot-grid { grid-template-columns: 1fr; gap: 32px; }
    .gq-catgrid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .gq-detail-hero-inner { flex-direction: column; }
    .gq-detail-stats { gap: 16px; }
    .gq-profile-grid { grid-template-columns: 1fr; }
    .gq-form-grid { grid-template-columns: 1fr; }
    .gq-stats-banner-inner { gap: 20px; }
    .gq-stat-number { font-size: 1.5rem; }
    .gq-block { padding: 30px 0; }
    .gq-sec-title { font-size: 1.35rem; }
    .gq-sec-head { margin-bottom: 24px; }
    /* Style B list → stack thumb above text */
    .gq-row { flex-direction: column; gap: 0; }
    .gq-row-thumb { flex: none; width: 100%; height: 170px; min-height: 0; }
    .gq-row-body { padding: 14px 16px 16px; }
    /* Style C tiles → smaller columns */
    .gq-tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
    .gq-shell { padding: 0 16px; }
    .gq-hero-title { font-size: 1.9rem; }
    .gq-hero-btns { flex-direction: column; align-items: flex-start; }
    .gq-hero-collage { height: 220px; gap: 10px; }
    .gq-hero-stats { gap: 28px; }
    .gq-hero-stats { gap: 32px; }
    .gq-hero-stat-val { font-size: 1.6rem; }
    .gq-grid { grid-template-columns: 1fr; gap: 14px; }
    .gq-strip-card { flex: 0 0 150px; }
    .gq-strip-thumb { height: 95px; }
    .gq-detail-cover { width: 160px; }
    .gq-detail-info h1 { font-size: 1.3rem; }
    .gq-panel { padding: 20px; }
    .gq-auth-card { padding: 24px; }
    .gq-cookie { flex-direction: column; text-align: center; }
    .gq-sec-title { font-size: 1.2rem; }
}
