/* ==========================================================================
   H5Games - Modern Core PHP Gaming Portal Theme
   Matches Reference Design: Dark gamer aesthetic (#0b0e17, #13192b)
   ========================================================================== */

:root {
    --zon-body-bg: #0b0e17;
    --zon-card-bg: #13192b;
    --zon-card-bg-hover: #182138;
    --zon-card-border: rgba(255, 255, 255, 0.07);
    --zon-card-border-hover: rgba(59, 130, 246, 0.4);
    --zon-primary: #3b82f6;
    --zon-cyan: #00d2ff;
    --zon-purple: #8b5cf6;
    --zon-gold: #f59e0b;
    --zon-gradient-btn: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --zon-gradient-btn-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --zon-text-main: #f8fafc;
    --zon-text-muted: #94a3b8;
    --zon-text-dim: #64748b;
    --zon-radius-sm: 8px;
    --zon-radius-md: 14px;
    --zon-radius-lg: 18px;
    --zon-radius-pill: 9999px;
    --zon-shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    --zon-shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
}

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

body {
    background-color: var(--zon-body-bg);
    color: var(--zon-text-main);
    font-family: 'Poppins', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Container */
.zon-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.zon-game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.gh-header {
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--zon-card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

.gh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
/* Brand Logo (Pure HTML / SVG / CSS) */
.gh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.gh-brand:hover {
    transform: translateY(-1px);
}

.gh-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.45));
    transition: filter 0.2s ease;
}

.gh-brand:hover .gh-brand-icon {
    filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.75));
}

.gh-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.gh-brand-name {
    font-family: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.6px;
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.gh-brand-name .gh-word-game {
    color: #ffffff;
}

.gh-brand-name .gh-word-hub {
    color: #00D2FF;
}

.gh-brand-sub {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #94A3B8;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Desktop Navigation */
.gh-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gh-nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--zon-text-muted);
    padding: 8px 14px;
    border-radius: var(--zon-radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gh-nav-link:hover {
    color: var(--zon-text-main);
    background: rgba(255, 255, 255, 0.05);
}

.gh-nav-link.active {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Dropdown Menu for Categories */
.gh-dropdown {
    position: relative;
}

.gh-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #13192b;
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-md);
    padding: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 120;
    grid-template-columns: 1fr;
    gap: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 210, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.gh-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.gh-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.gh-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.45);
    border-radius: 8px;
}

.gh-dropdown:hover .gh-dropdown-menu {
    display: grid;
}

.gh-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--zon-text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.gh-dropdown-item:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.15);
}

/* Search Bar in Header */
.gh-search-form {
    position: relative;
    max-width: 280px;
    width: 100%;
}

.gh-search-input {
    width: 100%;
    height: 38px;
    background: #121829;
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-pill);
    padding: 0 38px 0 16px;
    font-size: 13px;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.gh-search-input:focus {
    border-color: var(--zon-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #151d33;
}

.gh-search-input::placeholder {
    color: var(--zon-text-dim);
}

.gh-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--zon-text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-search-btn:hover {
    color: var(--zon-cyan);
}

/* Header Actions */
.gh-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.gh-theme-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141a29;
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-pill);
    color: var(--zon-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gh-theme-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.gh-btn-login {
    font-size: 13px;
    font-weight: 600;
    color: var(--zon-text-main);
    background: #161e31;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: var(--zon-radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gh-btn-login:hover {
    background: #1c263e;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.gh-btn-signup {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--zon-gradient-btn);
    border: none;
    padding: 8px 20px;
    border-radius: var(--zon-radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.gh-btn-signup:hover {
    background: var(--zon-gradient-btn-hover);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

.gh-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

/* ==========================================================================
   TOP PROMO / ADVERTISEMENT BANNER
   ========================================================================== */
.gh-promo-strip {
    margin-top: 18px;
    margin-bottom: 24px;
}

.gh-promo-card {
    background: linear-gradient(90deg, #091a38 0%, #112652 40%, #1e1b4b 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--zon-radius-md);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.gh-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20%;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.gh-promo-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gh-ad-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--zon-text-dim);
    letter-spacing: 0.5px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.gh-promo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00d2ff, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.gh-promo-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.gh-promo-text p {
    font-size: 12px;
    color: var(--zon-text-muted);
}

.gh-btn-learn {
    background: #3b82f6;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--zon-radius-pill);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.gh-btn-learn:hover {
    background: #2563eb;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* ==========================================================================
   HERO SECTION (2 COLUMNS: FEATURED SLIDER + TRENDING NOW)
   ========================================================================== */
.gh-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 34px;
}

/* Featured Hero Banner */
.gh-featured-slider {
    position: relative;
    border-radius: var(--zon-radius-lg);
    overflow: hidden;
    background: #111726;
    border: 1px solid var(--zon-card-border);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.gh-slider-track {
    width: 100%;
    height: 100%;
}

.gh-slide {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    background-size: cover;
    background-position: center;
}

.gh-slide-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 14, 23, 0.95) 0%, rgba(11, 14, 23, 0.75) 45%, rgba(11, 14, 23, 0.25) 100%),
                linear-gradient(0deg, rgba(11, 14, 23, 0.95) 0%, transparent 60%);
    z-index: 1;
}

.gh-slide-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.gh-featured-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--zon-cyan);
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 4px 12px;
    border-radius: var(--zon-radius-pill);
    margin-bottom: 12px;
}

.gh-slide-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gh-rating-pill {
    font-size: 13px;
    font-weight: 600;
    color: var(--zon-gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gh-rating-pill small {
    color: var(--zon-text-dim);
    font-size: 11px;
    font-weight: normal;
}

.gh-slide-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.gh-tag {
    font-size: 11px;
    font-weight: 600;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 3px 10px;
    border-radius: var(--zon-radius-pill);
}

.gh-slide-desc {
    font-size: 13px;
    color: var(--zon-text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh-btn-play-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--zon-gradient-btn);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--zon-radius-pill);
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.gh-btn-play-hero:hover {
    background: var(--zon-gradient-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6);
}

/* Slider Controls */
.gh-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(11, 14, 23, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.gh-slider-arrow:hover {
    background: var(--zon-primary);
    border-color: var(--zon-primary);
}

.gh-slider-prev { left: 16px; }
.gh-slider-next { right: 16px; }

.gh-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.gh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gh-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--zon-cyan);
}

/* Trending Now Column */
.gh-trending-card {
    background: var(--zon-card-bg);
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.gh-trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.gh-trending-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--zon-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.gh-view-all:hover {
    color: var(--zon-cyan);
    transform: translateX(2px);
}

.gh-trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gh-trending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--zon-radius-md);
    transition: all 0.2s ease;
}

.gh-trending-item:hover {
    background: var(--zon-card-bg-hover);
    border-color: var(--zon-card-border-hover);
    transform: translateX(3px);
}

.gh-trending-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gh-trend-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gh-trend-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.gh-trend-info {
    min-width: 0;
}

.gh-trend-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 2px;
}

.gh-trend-category {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--zon-cyan);
}

.gh-trend-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gh-trending-item:hover .gh-trend-play-btn {
    background: var(--zon-primary);
    border-color: var(--zon-primary);
    transform: scale(1.08);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.gh-section {
    margin-bottom: 38px;
}

.gh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.gh-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   GAME CARDS & GRIDS (8-COLUMN ROW DESKTOP)
   ========================================================================== */
.gh-game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.gh-game-card {
    background: var(--zon-card-bg);
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gh-game-card:hover {
    background: var(--zon-card-bg-hover);
    border-color: var(--zon-card-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(59, 130, 246, 0.25);
}

.gh-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #090d17;
}

.gh-card-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gh-game-card:hover .gh-card-thumb {
    transform: scale(1.08);
}

/* Play button overlay */
.gh-card-play-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.2s ease;
    z-index: 2;
}

.gh-game-card:hover .gh-card-play-overlay {
    background: var(--zon-primary);
    border-color: var(--zon-primary);
    transform: scale(1.12);
    opacity: 1;
}

.gh-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.gh-card-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    display: block;
    transition: color 0.2s ease;
}

.gh-game-card:hover .gh-card-title {
    color: var(--zon-cyan);
}

.gh-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-card-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--zon-text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.gh-card-rating {
    font-size: 10px;
    font-weight: 600;
    color: var(--zon-gold);
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ==========================================================================
   MID-PAGE PROMO BANNER (DISCOVER NEW WORLDS)
   ========================================================================== */
.gh-mid-banner {
    background: linear-gradient(90deg, #091733 0%, #152750 50%, #1f1a4e 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--zon-radius-lg);
    padding: 24px 36px;
    margin: 36px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.gh-mid-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.gh-mid-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.gh-mid-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(0, 210, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zon-cyan);
    flex-shrink: 0;
}

.gh-mid-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.gh-mid-text p {
    font-size: 13px;
    color: var(--zon-text-muted);
}

.gh-mid-right {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

.gh-mid-ad-placeholder {
    font-size: 11px;
    color: var(--zon-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 6px;
}

.gh-btn-play-mid {
    background: #3b82f6;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--zon-radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    white-space: nowrap;
}

.gh-btn-play-mid:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-1px);
}

/* ==========================================================================
   BROWSE BY CATEGORY (2x4 GRID)
   ========================================================================== */
.gh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gh-category-card {
    background: #0a1122;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.22s ease;
    text-decoration: none;
}

.gh-category-card:hover {
    background: #0f182e;
    border-color: rgba(0, 210, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 210, 255, 0.15);
}

.gh-cat-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gh-cat-icon-exact {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gh-cat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-cat-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.gh-cat-info span {
    font-size: 11.5px;
    color: #8da2c0;
    line-height: 1.2;
}

.gh-cat-arrow {
    color: #60a5fa;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.gh-category-card:hover .gh-cat-arrow {
    color: #00d2ff;
    transform: translateX(4px);
}

/* ==========================================================================
   VALUE PROPOSITION (PLAY FREE ONLINE GAMES)
   ========================================================================== */
.gh-features-section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 36px 0 44px;
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 28px;
    align-items: center;
}

.gh-features-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gh-features-heading {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gh-features-desc {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.gh-features-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gh-feature-box {
    background: #0a1122;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: all 0.22s ease;
}

.gh-feature-box:hover {
    background: #0f182e;
    border-color: rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.gh-feature-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.gh-feature-circle.circle-blue {
    background: #0284c7;
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.5);
}

.gh-feature-circle.circle-purple {
    background: #7c3aed;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}

.gh-feature-circle.circle-teal {
    background: #0891b2;
    box-shadow: 0 0 16px rgba(8, 145, 178, 0.5);
}

.gh-feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gh-feature-text h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.gh-feature-text p {
    font-size: 11px;
    color: #8da2c0;
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.gh-blog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.gh-blog-card {
    background: var(--zon-card-bg);
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
}

.gh-blog-card:hover {
    border-color: var(--zon-card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.gh-blog-thumb-wrap {
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
    overflow: hidden;
    background: #090d17;
}

.gh-blog-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gh-blog-card:hover .gh-blog-thumb {
    transform: scale(1.08);
}

.gh-blog-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.gh-blog-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.gh-blog-card:hover .gh-blog-title {
    color: var(--zon-cyan);
}

.gh-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--zon-text-dim);
}

.gh-blog-read-more {
    color: var(--zon-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.gh-blog-card:hover .gh-blog-read-more {
    color: var(--zon-cyan);
}

/* ==========================================================================
   NEWSLETTER BANNER
   ========================================================================== */
.gh-newsletter-card {
    background: linear-gradient(90deg, #101935 0%, #1e1b4b 50%, #111a36 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--zon-radius-lg);
    padding: 24px 36px;
    margin: 38px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.gh-newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gh-nl-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.gh-nl-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
}

.gh-nl-text p {
    font-size: 12.5px;
    color: var(--zon-text-muted);
}

.gh-newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    width: 100%;
}

.gh-nl-input {
    flex: 1;
    height: 44px;
    background: rgba(11, 14, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--zon-radius-pill);
    padding: 0 20px;
    font-size: 13px;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.gh-nl-input:focus {
    border-color: var(--zon-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.gh-nl-input::placeholder {
    color: var(--zon-text-dim);
}

.gh-btn-subscribe {
    background: var(--zon-gradient-btn);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 0 24px;
    height: 44px;
    border-radius: var(--zon-radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.gh-btn-subscribe:hover {
    background: var(--zon-gradient-btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.gh-footer {
    background: #080a12;
    border-top: 1px solid var(--zon-card-border);
    padding-top: 50px;
    padding-bottom: 30px;
    margin-top: 40px;
}

.gh-footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.gh-footer-tagline {
    font-size: 12.5px;
    color: var(--zon-text-dim);
    line-height: 1.7;
    margin: 14px 0 20px 0;
    max-width: 360px;
}

.gh-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zon-text-muted);
    transition: all 0.2s ease;
}

.gh-social-btn:hover {
    background: var(--zon-primary);
    border-color: var(--zon-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.gh-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gh-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-footer-links a {
    font-size: 13px;
    color: var(--zon-text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.gh-footer-links a:hover {
    color: var(--zon-cyan);
    transform: translateX(3px);
}

.gh-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--zon-text-dim);
}

/* ==========================================================================
   GAME DETAIL / PLAY PAGE STYLES
   ========================================================================== */
.gh-gameplay-wrapper {
    background: var(--zon-card-bg);
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-lg);
    overflow: hidden;
    box-shadow: var(--zon-shadow-card);
    margin-top: 20px;
}

.gh-iframe-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #000000;
}

.gh-iframe-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.gh-gameplay-bar {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--zon-card-border);
    background: #111728;
    flex-wrap: wrap;
    gap: 16px;
}

.gh-gameplay-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gh-gameplay-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}

.gh-gameplay-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.gh-gameplay-submeta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--zon-text-dim);
    margin-top: 2px;
}

.gh-gameplay-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: var(--zon-radius-pill);
    background: #161e31;
    border: 1px solid var(--zon-card-border);
    color: var(--zon-text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gh-act-btn:hover {
    background: #1c263e;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.gh-act-btn.liked svg {
    fill: #ef4444;
    color: #ef4444;
}

.gh-desc-box {
    background: var(--zon-card-bg);
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-md);
    padding: 24px;
    margin-top: 24px;
}

.gh-desc-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.gh-desc-box p {
    font-size: 13px;
    color: var(--zon-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   PAGE HEADINGS & LOADERS
   ========================================================================== */
.gh-page-header {
    margin: 28px 0 20px 0;
}

.gh-page-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-skeleton-card {
    background: #13192b;
    border: 1px solid var(--zon-card-border);
    border-radius: var(--zon-radius-md);
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.gh-skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    animation: gh-skeleton 1.5s infinite;
}

@keyframes gh-skeleton {
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.gh-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gh-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gh-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #0e1322;
    border-left: 1px solid var(--zon-card-border);
    padding: 24px;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gh-drawer-overlay.active .gh-drawer {
    right: 0;
}

.gh-drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media screen and (max-width: 1280px) {
    .gh-game-grid { grid-template-columns: repeat(6, 1fr); }
    .gh-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 1024px) {
    .gh-hero-grid { grid-template-columns: 1fr; }
    .gh-game-grid { grid-template-columns: repeat(4, 1fr); }
    .gh-category-grid { grid-template-columns: repeat(2, 1fr); }
    .gh-features-section { grid-template-columns: 1fr; }
    .gh-features-boxes { grid-template-columns: repeat(3, 1fr); }
    .gh-footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media screen and (max-width: 768px) {
    .gh-nav, .gh-search-form, .gh-actions .gh-btn-login, .gh-actions .gh-btn-signup { display: none; }
    .gh-mobile-toggle { display: block; }
    .gh-game-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .gh-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .gh-features-boxes { grid-template-columns: 1fr; }
    .gh-mid-banner { flex-direction: column; text-align: center; gap: 20px; padding: 20px; }
    .gh-mid-left { flex-direction: column; }
    .gh-mid-right { flex-direction: column; width: 100%; }
    .gh-btn-play-mid { width: 100%; }
    .gh-newsletter-card { flex-direction: column; text-align: center; padding: 24px 20px; }
    .gh-newsletter-left { flex-direction: column; }
    .gh-newsletter-form { flex-direction: column; width: 100%; }
    .gh-btn-subscribe { width: 100%; }
    .gh-promo-card { flex-direction: column; text-align: center; gap: 14px; }
    .gh-promo-left { flex-direction: column; }
    .gh-slide { padding: 20px; }
    .gh-slide-title { font-size: 24px; }
    .gh-iframe-container { min-height: 400px; }
    .gh-iframe-container iframe { height: 400px; }
}

@media screen and (max-width: 480px) {
    .gh-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gh-category-grid { grid-template-columns: 1fr; }
    .gh-blog-grid { grid-template-columns: 1fr; }
    .gh-footer-top { grid-template-columns: 1fr; }
    .gh-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ==========================================================================
   AUTH PAGES (LOGIN & REGISTER)
   ========================================================================== */
.gh-auth-container {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    width: 100%;
}

.gh-auth-card {
    background: #13192b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--zon-radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.15);
    padding: 38px 34px;
    width: 100%;
    max-width: 440px;
    position: relative;
}

.gh-auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.gh-auth-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.gh-auth-subtitle {
    font-size: 13px;
    color: var(--zon-text-muted);
}

.gh-form-group {
    margin-bottom: 18px;
    text-align: left;
}

.gh-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.gh-form-input {
    width: 100%;
    height: 46px;
    background: #0d1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13.5px;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gh-form-input:focus {
    border-color: var(--zon-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: #11182c;
}

.gh-form-input::placeholder {
    color: var(--zon-text-dim);
}

.gh-btn-auth {
    width: 100%;
    height: 48px;
    background: var(--zon-gradient-btn) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--zon-radius-pill) !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.gh-btn-auth:hover {
    background: var(--zon-gradient-btn-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.6);
}

.gh-btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.gh-auth-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--zon-text-muted);
}

.gh-auth-footer a {
    color: var(--zon-cyan);
    font-weight: 600;
    transition: color 0.2s;
}

.gh-auth-footer a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* ==========================================================================
   LIGHT MODE OVERRIDES ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] {
    --zon-body-bg: #f1f4f9;
    --zon-card-bg: #ffffff;
    --zon-card-bg-hover: #f8fafc;
    --zon-card-border: #e2e8f0;
    --zon-card-border-hover: rgba(59, 130, 246, 0.4);
    --zon-primary: #2563eb;
    --zon-cyan: #0284c7;
    --zon-purple: #7c3aed;
    --zon-text-main: #0f172a;
    --zon-text-muted: #475569;
    --zon-text-dim: #94a3b8;
    --zon-shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] body {
    background-color: var(--zon-body-bg);
    color: var(--zon-text-main);
}

[data-theme="light"] .gh-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .gh-header .gh-brand-name .gh-word-game,
[data-theme="light"] .gh-header .gh-word-game {
    color: #000000 !important;
}

[data-theme="light"] .gh-header .gh-brand-sub {
    color: #64748b;
}

[data-theme="light"] .gh-logo-title {
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gh-nav-link {
    color: #475569;
}

[data-theme="light"] .gh-nav-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gh-nav-link.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .gh-search-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .gh-search-input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .gh-search-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .gh-theme-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="light"] .gh-theme-btn:hover {
    color: #0f172a;
    border-color: #94a3b8;
}

[data-theme="light"] .gh-btn-login {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .gh-btn-login:hover {
    background: #f1f5f9;
}

[data-theme="light"] .gh-mobile-toggle {
    color: #0f172a;
}

[data-theme="light"] .gh-trending-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .gh-trending-title {
    color: #0f172a;
}

[data-theme="light"] .gh-trending-item {
    background: #f8fafc;
    border-color: #f1f5f9;
}

[data-theme="light"] .gh-trending-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .gh-trend-name {
    color: #0f172a;
}

[data-theme="light"] .gh-trend-play-btn {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .gh-section-title {
    color: #0f172a;
}

[data-theme="light"] .gh-game-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gh-game-card:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 0 15px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .gh-card-title {
    color: #0f172a;
}

[data-theme="light"] .gh-card-category {
    background: #f1f5f9;
    color: #475569;
}

[data-theme="light"] .gh-category-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .gh-category-card:hover {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .gh-cat-info h4 {
    color: #0f172a;
}

[data-theme="light"] .gh-features-section {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .gh-features-heading {
    color: #0f172a;
}

[data-theme="light"] .gh-feature-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .gh-feature-box h4 {
    color: #0f172a;
}

[data-theme="light"] .gh-blog-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gh-blog-title {
    color: #0f172a;
}

[data-theme="light"] .gh-auth-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .gh-auth-title {
    color: #0f172a;
}

[data-theme="light"] .gh-form-label {
    color: #334155;
}

[data-theme="light"] .gh-form-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .gh-form-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .gh-desc-box {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .gh-desc-box h3 {
    color: #0f172a;
}

[data-theme="light"] .gh-gameplay-wrapper {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .gh-gameplay-bar {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .gh-gameplay-title {
    color: #0f172a;
}

[data-theme="light"] .gh-act-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .gh-act-btn:hover {
    background: #f1f5f9;
}

[data-theme="light"] .gh-dropdown-menu {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gh-dropdown-item {
    color: #334155;
}

[data-theme="light"] .gh-dropdown-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

[data-theme="light"] .gh-drawer {
    background: #ffffff;
    border-left-color: #e2e8f0;
}

[data-theme="light"] .gh-drawer-close {
    color: #0f172a;
}

[data-theme="light"] .gh-page-title {
    color: #0f172a;
}

[data-theme="light"] .gh-skeleton-card {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

[data-theme="light"] .gh-footer {
    background: #0b0e17; /* Keep sleek dark footer */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   COMING SOON PAGE (BLOGS & FUTURE SECTIONS)
   ========================================================================== */
.gh-cs-container {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gh-cs-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.gh-cs-card {
    position: relative;
    z-index: 1;
    background: #13192b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.1);
    padding: 50px 40px;
    width: 100%;
    max-width: 640px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gh-cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: #00d2ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.gh-cs-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00d2ff;
    box-shadow: 0 0 10px #00d2ff;
    animation: ghPulse 2s infinite;
}

@keyframes ghPulse {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 210, 255, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

.gh-cs-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.2);
}

.gh-cs-icon-wrapper svg {
    width: 40px;
    height: 40px;
    color: #00d2ff;
}

.gh-cs-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.gh-cs-gradient-text {
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gh-cs-desc {
    font-size: 15px;
    color: var(--zon-text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}

.gh-cs-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
}

.gh-cs-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gh-cs-feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

.gh-cs-feature-icon {
    font-size: 20px;
}

.gh-cs-feature-label {
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
}

.gh-cs-notify-form {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 440px;
    margin-bottom: 24px;
}

.gh-cs-input {
    flex: 1;
    height: 44px;
    background: #0d1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13.5px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.gh-cs-input:focus {
    border-color: #00d2ff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}

.gh-cs-btn-notify {
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.gh-cs-btn-notify:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.35);
    transform: translateY(-1px);
}

.gh-cs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zon-text-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gh-cs-back-btn:hover {
    color: #00d2ff;
}

/* Light Mode Overrides */
[data-theme="light"] .gh-cs-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gh-cs-title {
    color: #0f172a;
}

[data-theme="light"] .gh-cs-desc {
    color: #64748b;
}

[data-theme="light"] .gh-cs-feature-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .gh-cs-feature-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .gh-cs-feature-label {
    color: #1e293b;
}

[data-theme="light"] .gh-cs-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .gh-cs-back-btn {
    color: #64748b;
}

[data-theme="light"] .gh-cs-back-btn:hover {
    color: #2563eb;
}

@media (max-width: 640px) {
    .gh-cs-card {
        padding: 36px 20px;
    }
    .gh-cs-title {
        font-size: 26px;
    }
    .gh-cs-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gh-cs-notify-form {
        flex-direction: column;
    }
    .gh-cs-btn-notify {
        width: 100%;
    }
}

/* ==========================================================================
   BANNER 1: PLAY MORE. SAVE MORE. (PURE HTML / CSS / SVG)
   ========================================================================== */
.gh-banner-play-more {
    width: 100%;
    margin: 22px 0 32px;
    background: linear-gradient(90deg, #051433 0%, #0a245e 35%, #0f1a4a 65%, #190a36 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    padding: 0 16px 0 24px;
    min-height: 90px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gh-banner-play-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(59, 130, 246, 0.35);
    border-color: rgba(0, 210, 255, 0.6);
}

.gh-b1-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    flex: 1;
}

.gh-b1-ad-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #60a5fa;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.gh-b1-ad-tag small {
    color: #64748b;
    font-size: 10px;
}

.gh-b1-bolt {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.6);
}

.gh-b1-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gh-b1-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.gh-b1-subtitle {
    font-size: 13px;
    color: #93c5fd;
    margin: 0;
    line-height: 1.2;
}

.gh-b1-btn {
    background: #0066ff;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    margin-left: 12px;
}

.gh-b1-btn:hover {
    background: #0052cc;
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.7);
    transform: translateY(-1px);
}

.gh-b1-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 90px;
    position: relative;
}

.gh-b1-svg {
    height: 90px;
    width: auto;
    display: block;
}

/* ==========================================================================
   BANNER 2: DISCOVER NEW WORLDS (PURE HTML / CSS / SVG)
   ========================================================================== */
.gh-banner-discover {
    width: 100%;
    margin: 32px 0;
    background: linear-gradient(90deg, #030f28 0%, #071c4c 35%, #0e163d 65%, #180933 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    padding: 0 16px 0 24px;
    min-height: 90px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gh-banner-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(59, 130, 246, 0.35);
    border-color: rgba(0, 210, 255, 0.6);
}

.gh-b2-left {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 2;
}

.gh-b2-pad-icon {
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.6));
}

.gh-b2-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gh-b2-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.gh-b2-subtitle {
    font-size: 13px;
    color: #93c5fd;
    margin: 0;
    line-height: 1.2;
}

.gh-b2-center {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 2;
}

.gh-b2-ad-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #60a5fa;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.gh-b2-ad-tag small {
    color: #64748b;
    font-size: 10px;
}

.gh-b2-btn {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.gh-b2-btn:hover {
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.75);
    transform: translateY(-1px);
}

.gh-b2-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 90px;
    position: relative;
}

.gh-b2-svg {
    height: 90px;
    width: auto;
    display: block;
}

/* Light mode overrides for banners */
[data-theme="light"] .gh-banner-play-more,
[data-theme="light"] .gh-banner-discover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .gh-banner-play-more,
    .gh-banner-discover {
        flex-direction: column;
        padding: 16px 20px;
        gap: 16px;
    }
    .gh-b1-left,
    .gh-b2-left,
    .gh-b2-center {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .gh-b1-right,
    .gh-b2-right {
        display: none;
    }
}

[data-theme="light"] .gh-category-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gh-category-card:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .gh-cat-info h4 {
    color: #0f172a;
}

[data-theme="light"] .gh-cat-info span {
    color: #64748b;
}

[data-theme="light"] .gh-features-heading {
    color: #0f172a;
}

[data-theme="light"] .gh-features-desc {
    color: #64748b;
}

[data-theme="light"] .gh-feature-box {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .gh-feature-box:hover {
    background: #f8fafc;
    border-color: #3b82f6;
}

[data-theme="light"] .gh-feature-text h4 {
    color: #0f172a;
}

[data-theme="light"] .gh-feature-text p {
    color: #64748b;
}

@media (max-width: 1024px) {
    .gh-features-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gh-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gh-features-boxes {
        grid-template-columns: 1fr;
    }
    .gh-category-grid {
        grid-template-columns: 1fr;
    }
}