/* =============================================================
   GameHub Pro — Main Stylesheet
   ============================================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
    --gh-purple:     #7c3aed;
    --gh-purple-dk:  #6d28d9;
    --gh-purple-lt:  #a855f7;
    --gh-indigo:     #1e1b4b;
    --gh-slate:      #475569;
    --gh-body-bg:    #f4f6fb;
    --gh-white:      #ffffff;
    --gh-card-bg:    #ffffff;
    --gh-border:     rgba(124, 58, 237, 0.08);
    --gh-shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.04);
    --gh-shadow-md:  0 8px 24px rgba(0, 0, 0, 0.06);
    --gh-shadow-lg:  0 16px 48px rgba(124, 58, 237, 0.10);
    --gh-radius-sm:  12px;
    --gh-radius-md:  20px;
    --gh-radius-lg:  28px;
    --gh-transition: 0.2s ease;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--gh-body-bg);
    color: #1a1a2e;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--gh-transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Accessibility: Focus ---------- */
:focus-visible {
    outline: 2px solid var(--gh-purple);
    outline-offset: 3px;
}

/* =============================================================
   STICKY HEADER
   ============================================================= */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gh-border);
    padding: 10px 0;
    transition: box-shadow var(--gh-transition);
}

.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

/* Logo */
.gh-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gh-purple), var(--gh-purple-lt));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.gh-site-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gh-indigo);
    margin-left: 10px;
    letter-spacing: -0.02em;
}

.site-logo img {
    max-height: 44px;
    width: auto;
}

/* Small brand tagline beside the existing logo */
.site-tagline {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    line-height: 1.15;
    min-width: 0;
}

.site-tagline strong {
    color: var(--gh-indigo);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.site-tagline small {
    color: #64748b;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Icon Buttons */
.gh-icon-btn {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--gh-transition), color var(--gh-transition);
}

.gh-icon-btn:hover,
.gh-icon-btn:focus-visible {
    background: #e2e8f0;
    color: var(--gh-indigo);
}

/* Search Overlay */
.gh-search-overlay {
    display: none;
    background: var(--gh-white);
    border-top: 1px solid var(--gh-border);
    animation: slideDown 0.15s ease;
}

.gh-search-overlay.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btn-gh-purple {
    background: var(--gh-purple);
    border-color: var(--gh-purple);
    color: #fff;
    font-weight: 600;
    transition: background var(--gh-transition), box-shadow var(--gh-transition);
}

.btn-gh-purple:hover,
.btn-gh-purple:focus {
    background: var(--gh-purple-dk);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* =============================================================
   SECTION TITLES
   ============================================================= */
.gh-section-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--gh-indigo);
    letter-spacing: -0.01em;
    margin: 0;
}

/* =============================================================
   HIGH BONUS SLIDER
   ============================================================= */
.gh-bonus-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.2rem;
    scrollbar-width: thin;
    scrollbar-color: #c4b5fd transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.gh-bonus-scroll::-webkit-scrollbar {
    height: 4px;
}

.gh-bonus-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.gh-bonus-scroll::-webkit-scrollbar-thumb {
    background: #c4b5fd;
    border-radius: 20px;
}

.gh-bonus-item {
    flex: 0 0 76px;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform var(--gh-transition);
}

.gh-bonus-item:hover {
    transform: translateY(-3px);
}

.gh-bonus-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, #eef2ff, #fff);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-weight: 700;
    color: #4c1d95;
    border: 2px solid rgba(124, 58, 237, 0.12);
    overflow: hidden;
}

.gh-bonus-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-bonus-circle .fas {
    font-size: 1.5rem;
    color: var(--gh-purple);
}

.gh-bonus-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 76px;
    margin: 0 auto;
}

.gh-bonus-tag {
    font-size: 0.52rem;
    background: #fef3c7;
    color: #b45309;
    padding: 0.1rem 0.45rem;
    border-radius: 30px;
    display: inline-block;
    margin-top: 3px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* =============================================================
   CATEGORY PILLS
   ============================================================= */
.gh-category-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.75rem;
    scrollbar-width: none;
}

.gh-category-pills::-webkit-scrollbar {
    display: none;
}

.gh-cat-pill {
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    transition: all var(--gh-transition);
    white-space: nowrap;
}

.gh-cat-pill:hover,
.gh-cat-pill.active {
    background: var(--gh-purple);
    color: #fff;
    border-color: var(--gh-purple);
}

/* =============================================================
   GAME CARDS
   ============================================================= */
.gh-game-card {
    background: var(--gh-card-bg);
    border-radius: var(--gh-radius-md);
    padding: 1rem;
    box-shadow: var(--gh-shadow-sm);
    border: 1px solid var(--gh-border);
    transition: transform var(--gh-transition), box-shadow var(--gh-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.gh-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gh-shadow-lg);
}

.gh-game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gh-purple), var(--gh-purple-lt));
    opacity: 0;
    transition: opacity var(--gh-transition);
}

.gh-game-card:hover::before {
    opacity: 1;
}

/* Logo wrapper */
.gh-game-logo-wrap {
    position: relative;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.gh-game-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f1f5f9, #fff);
    border: 1px solid #e9edf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.gh-game-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.gh-game-logo .fas {
    font-size: 1.4rem;
    color: var(--gh-purple);
}

/* Card text */
.gh-game-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh-game-meta {
    font-size: 0.68rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.gh-star-wrap {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gh-bonus-chip {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 0.12rem 0.5rem;
    border-radius: 30px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Download button */
.gh-btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--gh-purple), var(--gh-purple-lt));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    border-radius: 40px;
    font-size: 0.78rem;
    width: 100%;
    text-align: center;
    transition: all var(--gh-transition);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
    margin-top: auto;
}

.gh-btn-download:hover,
.gh-btn-download:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.40);
    background: linear-gradient(135deg, var(--gh-purple-dk), var(--gh-purple));
    color: #fff;
}

/* Badges */
.gh-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 30px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

.gh-badge-HOT      { background: #ff4d6d; color: #fff; }
.gh-badge-NEW      { background: #4facfe; color: #fff; }
.gh-badge-HIGHBONUS { background: linear-gradient(135deg, #d35400, #f59e0b); color: #fff; }
.gh-badge-HOTPICK  { background: linear-gradient(135deg, #c0392b, #ec4899); color: #fff; }
.gh-badge-POPULAR  { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; }
.gh-badge-BONUS    { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1e1b4b; }
.gh-badge-PREMIUM  { background: #fbbf24; color: #1e1b4b; }
.gh-badge-FIRE     { background: #ff6b35; color: #fff; }
.gh-badge-HIGHBONUS { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1e1b4b; }
.gh-badge-HOTPICK  { background: linear-gradient(135deg, #ec4899, #f43f5e); color: #fff; }
.gh-badge-TRENDING { background: linear-gradient(135deg, #06b6d4, #3b82f6); color: #fff; }
.gh-badge-FEATURED { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }

/* =============================================================
   SINGLE GAME PAGE
   ============================================================= */
.gh-single-hero {
    background: linear-gradient(160deg, #f0eaff 0%, #fff 60%);
    border-radius: var(--gh-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.08);
    text-align: center;
}

.gh-single-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 2px solid rgba(124, 58, 237, 0.1);
}

.gh-single-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-single-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gh-indigo);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.gh-single-desc {
    color: var(--gh-slate);
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Stats row */
.gh-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.gh-stat {
    text-align: center;
}

.gh-stat-value {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--gh-indigo);
    display: block;
}

.gh-stat-label {
    font-size: 0.7rem;
    color: var(--gh-slate);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Info table */
.gh-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.gh-info-table th {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gh-slate);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.8rem;
    white-space: nowrap;
    background: #f8faff;
    border-radius: var(--gh-radius-sm) 0 0 var(--gh-radius-sm);
    width: 36%;
}

.gh-info-table td {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    padding: 0.6rem 0.8rem;
    background: #fff;
    border-radius: 0 var(--gh-radius-sm) var(--gh-radius-sm) 0;
    box-shadow: var(--gh-shadow-sm);
}

/* Content section */
.gh-content-section {
    background: #fff;
    border-radius: var(--gh-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--gh-shadow-sm);
    border: 1px solid var(--gh-border);
}

.gh-content-section h2 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gh-indigo);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}

/* Features list */
.gh-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gh-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: #334155;
    border-bottom: 1px solid #f8faff;
}

.gh-features-list li:last-child {
    border-bottom: none;
}

.gh-features-list li .fas {
    color: #22c55e;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Big Download Button */
.gh-btn-download-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--gh-purple), var(--gh-purple-lt));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    transition: all var(--gh-transition);
    border: none;
    cursor: pointer;
}

.gh-btn-download-lg:hover,
.gh-btn-download-lg:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
    background: linear-gradient(135deg, var(--gh-purple-dk), var(--gh-purple));
    color: #fff;
}

/* Store buttons */
.gh-store-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.gh-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    transition: background var(--gh-transition);
}

.gh-store-btn:hover {
    background: #1e293b;
    color: #fff;
}

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.gh-faq-item {
    background: #fff;
    border-radius: var(--gh-radius-sm);
    margin-bottom: 0.6rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.gh-faq-question {
    font-weight: 600;
    font-size: 0.92rem;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.85rem 1rem;
    user-select: none;
    gap: 0.5rem;
}

.gh-faq-question .fas {
    color: var(--gh-purple);
    font-size: 0.8rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.gh-faq-question.open .fas {
    transform: rotate(180deg);
}

.gh-faq-answer {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
    padding: 0 1rem 0.85rem;
    display: none;
}

.gh-faq-answer.show {
    display: block;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================= */
.gh-archive-header {
    background: linear-gradient(135deg, var(--gh-purple), var(--gh-purple-lt));
    border-radius: var(--gh-radius-lg);
    padding: 1.8rem 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.gh-archive-header h1 {
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: -0.02em;
}

.gh-archive-header p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0.4rem 0 0;
}

/* =============================================================
   BREADCRUMBS
   ============================================================= */
.gamehub-breadcrumbs {
    font-size: 0.78rem;
    color: var(--gh-slate);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.gamehub-breadcrumbs a {
    color: var(--gh-purple);
}

.gamehub-breadcrumbs a:hover {
    text-decoration: underline;
}

.bc-sep {
    color: #cbd5e1;
    font-size: 0.7rem;
}

/* =============================================================
   PAGINATION
   ============================================================= */
.gamehub-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.gamehub-pagination ul {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.gamehub-pagination ul li a,
.gamehub-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
    color: #334155;
    border: 1.5px solid #e2e8f0;
    transition: all var(--gh-transition);
}

.gamehub-pagination ul li a:hover {
    background: var(--gh-purple);
    color: #fff;
    border-color: var(--gh-purple);
}

.gamehub-pagination ul li .current {
    background: var(--gh-purple);
    color: #fff;
    border-color: var(--gh-purple);
}

/* =============================================================
   SIDEBAR
   ============================================================= */
.gh-sidebar .widget {
    background: #fff;
    border-radius: var(--gh-radius-md);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--gh-shadow-sm);
    border: 1px solid var(--gh-border);
}

.gh-sidebar .widget-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gh-indigo);
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    letter-spacing: -0.01em;
}

/* =============================================================
   FOOTER
   ============================================================= */
.gh-footer {
    background: var(--gh-indigo);
    color: rgba(255, 255, 255, 0.75);
    padding: 2.5rem 0 1.2rem;
    margin-top: 3rem;
}

.gh-footer-brand .gh-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}

.gh-footer-brand .gh-site-title {
    color: #fff;
    font-size: 1.1rem;
}

.gh-footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.4rem;
}

.gh-footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}

.gh-footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    padding: 0.2rem 0;
    transition: color var(--gh-transition);
}

.gh-footer-link:hover {
    color: #fff;
}

.gh-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================================
   SEARCH PAGE
   ============================================================= */
.gh-search-header {
    background: #fff;
    border-radius: var(--gh-radius-md);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--gh-shadow-sm);
    border: 1px solid var(--gh-border);
}

.gh-search-form .form-control {
    border-radius: 40px 0 0 40px;
    border: 1.5px solid #e2e8f0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.gh-search-form .btn {
    border-radius: 0 40px 40px 0;
}

/* =============================================================
   404 PAGE
   ============================================================= */
.gh-404-wrap {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.gh-404-number {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gh-purple), var(--gh-purple-lt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* =============================================================
   STAR RATINGS
   ============================================================= */
.star-filled { color: #fbbf24; }
.star-empty  { color: #e2e8f0; }

/* =============================================================
   UTILITIES
   ============================================================= */
.text-purple { color: var(--gh-purple) !important; }

.gh-no-results {
    background: #fff;
    border-radius: var(--gh-radius-md);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--gh-border);
}

.gh-no-results .fas {
    font-size: 2.5rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
}

/* =============================================================
   OFFCANVAS MOBILE MENU
   ============================================================= */
.offcanvas {
    --bs-offcanvas-width: 280px;
}

#ghMobileMenu .navbar-nav .nav-item a {
    display: block;
    padding: 0.7rem 0;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    transition: color var(--gh-transition);
}

#ghMobileMenu .navbar-nav .nav-item a:hover {
    color: var(--gh-purple);
}

/* =============================================================
   RESPONSIVE OVERRIDES
   ============================================================= */

/* Mobile: 2 cards per row */
@media (max-width: 575.98px) {
    .gh-site-title { font-size: 1.1rem; }
    .site-tagline { margin-left: 6px; }
    .site-tagline strong { font-size: 0.68rem; }
    .site-tagline small { font-size: 0.5rem; }
    .gh-game-card  { padding: 0.7rem; }
    .gh-bonus-circle { width: 58px; height: 58px; }
    .gh-bonus-item { flex: 0 0 66px; }
    .gh-single-hero { padding: 1.2rem 1rem; }
    .gh-btn-download-lg { font-size: 0.88rem; padding: 0.7rem 1.6rem; }
    .gh-404-number { font-size: 4rem; }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 767.98px) {
    .gh-game-name { font-size: 0.82rem; }
}

/* Ensure 2 cols on xs screens */
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }


/* =============================================================
   HOMEPAGE SEO CONTENT + FAQ
   ============================================================= */
.gh-home-intro {
    background: linear-gradient(135deg, #ffffff, #f5f3ff);
    border: 1px solid rgba(124, 58, 237, 0.10);
    border-radius: var(--gh-radius-md);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--gh-shadow-sm);
}

.gh-home-title {
    margin: 0 0 0.7rem;
    color: var(--gh-indigo);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.gh-home-intro p {
    color: #475569;
    margin-bottom: 0.65rem;
    font-size: 0.96rem;
}

.gh-home-intro strong {
    color: #4c1d95;
}

.gh-home-faq {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gh-faq-item {
    background: #fff;
    border: 1px solid rgba(124, 58, 237, 0.10);
    border-radius: var(--gh-radius-sm);
    margin-bottom: 0.7rem;
    box-shadow: var(--gh-shadow-sm);
    overflow: hidden;
}

.gh-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 1rem;
    color: var(--gh-indigo);
    font-weight: 700;
}

.gh-faq-item summary::-webkit-details-marker {
    display: none;
}

.gh-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--gh-purple);
    font-size: 1.15rem;
    line-height: 1;
}

.gh-faq-item[open] summary::after {
    content: '−';
}

.gh-faq-item p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}



/* =============================================================
   HIGH BONUS - PREMIUM 4 GAME CARDS
   ============================================================= */
.gh-bonus-scroll {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    overflow: visible;
    padding: 6px 2px 16px;
}

.gh-bonus-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    min-height: 214px;
    padding: 10px 9px 11px;
    border-radius: 20px;
    background: linear-gradient(145deg, #7c3aed 0%, #5b21b6 100%);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 8px 20px rgba(76,29,149,.18), inset 0 1px 0 rgba(255,255,255,.30);
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gh-bonus-item:nth-child(2) { background: linear-gradient(145deg, #19b78b 0%, #087a61 100%); }
.gh-bonus-item:nth-child(3) { background: linear-gradient(145deg, #f59e0b 0%, #b85b08 100%); }
.gh-bonus-item:nth-child(4) { background: linear-gradient(145deg, #0ea5e9 0%, #075985 100%); }

.gh-bonus-item::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    right: -48px;
    top: -48px;
    background: rgba(255,255,255,.13);
    z-index: -1;
}

.gh-bonus-item::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    left: -38px;
    bottom: -40px;
    background: rgba(255,255,255,.08);
    z-index: -1;
}

.gh-bonus-item:hover,
.gh-bonus-item:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(76,29,149,.25), inset 0 1px 0 rgba(255,255,255,.35);
}

.gh-bonus-topline {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.gh-bonus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 21px;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 7px;
    background: #fb7185;
    color: #fff;
    font-size: .50rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .15px;
    white-space: nowrap;
    box-shadow: 0 3px 7px rgba(0,0,0,.13);
}

.gh-bonus-badge-hot { background: #f97316; }

.gh-bonus-circle {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin: 1px auto 8px;
    border-radius: 18px;
    background: #fff;
    border: 3px solid rgba(255,255,255,.78);
    box-shadow: 0 7px 16px rgba(0,0,0,.18);
    overflow: hidden;
}

.gh-bonus-circle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-bonus-circle .fas {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #7c3aed;
    font-size: 1.65rem;
}

.gh-bonus-label {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    width: 100%;
    min-height: 35px;
    padding: 0 2px;
    overflow: hidden;
    color: #fff;
    font-size: .73rem;
    font-weight: 800;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gh-bonus-amount {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 2px;
    color: rgba(255,255,255,.95);
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-bonus-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    margin-top: auto;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #4c1d95;
    font-size: .62rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,.13);
}

.gh-bonus-cta i { margin-right: 4px; }

@media (max-width: 767px) {
    /* Mobile: keep the 4 cards in one horizontal premium row, like the original design. */
    .gh-bonus-scroll {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px 0 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gh-bonus-scroll::-webkit-scrollbar { display: none; }

    .gh-bonus-item {
        flex: 0 0 102px;
        width: 102px;
        min-width: 102px;
        min-height: 190px;
        height: 190px;
        padding: 9px 7px 10px;
        border-radius: 19px;
        scroll-snap-align: start;
    }

    .gh-bonus-topline { height: 24px; }
    .gh-bonus-badge { font-size: .49rem; padding: 4px 6px; }
    .gh-bonus-circle { width: 62px; height: 62px; margin-bottom: 7px; }
    .gh-bonus-label { font-size: .67rem; min-height: 32px; }
    .gh-bonus-amount { font-size: .57rem; }
    .gh-bonus-cta { height: 29px; font-size: .56rem; }
}

@media (max-width: 380px) {
    .gh-bonus-scroll { gap: 8px; }
    .gh-bonus-item {
        flex-basis: 98px;
        width: 98px;
        min-width: 98px;
        min-height: 184px;
        height: 184px;
        padding-left: 6px;
        padding-right: 6px;
    }
    .gh-bonus-circle { width: 58px; height: 58px; border-radius: 15px; }
    .gh-bonus-label { font-size: .65rem; }
    .gh-bonus-amount { font-size: .55rem; }
    .gh-bonus-cta { height: 28px; font-size: .54rem; }
}

/* =============================================================
   ALL GAME CARDS - SUBTLE PREMIUM FINISH
   ============================================================= */
.gh-game-card {
    border: 1px solid rgba(124, 58, 237, 0.10);
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.07), 0 1px 0 rgba(255,255,255,.9) inset;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
}
.gh-game-card:hover {
    border-color: rgba(124, 58, 237, 0.20);
    box-shadow: 0 12px 30px rgba(76, 29, 149, 0.11), 0 1px 0 rgba(255,255,255,.95) inset;
}
.gh-game-logo {
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

@media (min-width: 768px) {
    .gh-bonus-scroll { gap: 14px; }
    .gh-bonus-item { min-height: 220px; padding: 11px 10px 12px; }
    .gh-bonus-circle { width: 80px; height: 80px; }
    .gh-bonus-label { font-size: .78rem; }
    .gh-bonus-amount { font-size: .66rem; }
    .gh-bonus-cta { height: 34px; font-size: .66rem; }
}


/* =============================================================
   REFERENCE MATCH v3 — YONO NEW PREMIUM BONUS + GAME CARDS
   Visual-only override: no content/functionality changes.
   ============================================================= */

/* High Bonus section: match the supplied 4-card reference */
.gh-bonus-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 8px 0 18px !important;
    overflow: visible !important;
}

.gh-bonus-item,
.gh-bonus-item:nth-child(1),
.gh-bonus-item:nth-child(2),
.gh-bonus-item:nth-child(3),
.gh-bonus-item:nth-child(4) {
    min-width: 0 !important;
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    padding: 14px 13px 15px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    box-shadow: 0 12px 28px rgba(31,20,70,.20), inset 0 1px 0 rgba(255,255,255,.32) !important;
}

/* Exact reference palette */
.gh-bonus-item:nth-child(1) { background: linear-gradient(145deg, #8b35e8 0%, #4b176f 100%) !important; }
.gh-bonus-item:nth-child(2) { background: linear-gradient(145deg, #10b76d 0%, #064f3d 100%) !important; }
.gh-bonus-item:nth-child(3) { background: linear-gradient(145deg, #e9a30a 0%, #754005 100%) !important; }
.gh-bonus-item:nth-child(4) { background: linear-gradient(145deg, #3159e9 0%, #102f91 100%) !important; }

.gh-bonus-item::before {
    width: 145px !important;
    height: 145px !important;
    right: -58px !important;
    top: -58px !important;
    background: radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,0) 70%) !important;
}

.gh-bonus-item::after {
    width: 120px !important;
    height: 120px !important;
    left: -55px !important;
    bottom: -62px !important;
    background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 72%) !important;
}

.gh-bonus-topline {
    height: 34px !important;
    justify-content: flex-start !important;
}

.gh-bonus-badge {
    min-height: 31px !important;
    padding: 6px 12px !important;
    border-radius: 9px !important;
    font-size: .78rem !important;
    letter-spacing: .2px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,.18) !important;
}

.gh-bonus-badge-hot { background: #ff2d7a !important; }
.gh-bonus-item:nth-child(2) .gh-bonus-badge { background: #20e05b !important; }
.gh-bonus-item:nth-child(3) .gh-bonus-badge { background: #ff5b1a !important; }
.gh-bonus-item:nth-child(4) .gh-bonus-badge { background: #2638e8 !important; }

.gh-bonus-circle {
    width: 142px !important;
    height: 142px !important;
    margin: 0 auto 13px !important;
    border-radius: 31px !important;
    border: 4px solid rgba(255,255,255,.82) !important;
    background: #12351e !important;
    box-shadow: 0 0 0 2px rgba(255,210,75,.18), 0 8px 24px rgba(0,0,0,.30), 0 0 20px rgba(255,210,70,.30) !important;
}

.gh-bonus-circle img {
    object-fit: cover !important;
}

.gh-bonus-label {
    min-height: 42px !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
}

.gh-bonus-amount {
    margin-top: 2px !important;
    font-size: .86rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.gh-bonus-amount::first-letter { color: #fff; }

.gh-bonus-cta {
    height: 52px !important;
    margin-top: 10px !important;
    border-radius: 999px !important;
    color: #6d20d9 !important;
    font-size: .94rem !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 13px rgba(0,0,0,.16) !important;
}

.gh-bonus-cta i {
    margin-right: 7px !important;
    font-size: 1rem !important;
}

/* All Games: premium white cards like the reference */
#allGamesGrid {
    row-gap: 18px !important;
}

#allGamesGrid > [class*="col-"] {
    display: flex;
}

.gh-game-card {
    width: 100% !important;
    min-height: 205px !important;
    padding: 15px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%) !important;
    border: 1px solid rgba(124,58,237,.08) !important;
    box-shadow: 0 8px 25px rgba(42,28,82,.09), inset 0 1px 0 #fff !important;
}

.gh-game-logo-wrap,
.gh-game-logo {
    width: 74px !important;
    height: 74px !important;
}

.gh-game-logo {
    border-radius: 18px !important;
    border: 2px solid #f0eaff !important;
    box-shadow: 0 6px 15px rgba(36,26,74,.12) !important;
}

.gh-game-logo img {
    border-radius: 16px !important;
}

.gh-game-name {
    font-size: 1rem !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    color: #151535 !important;
}

.gh-game-meta {
    margin-top: 4px !important;
    font-size: .76rem !important;
}

.gh-bonus-chip {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    font-size: .73rem !important;
    background: linear-gradient(135deg,#fff4c7,#ffe8a1) !important;
    color: #97430e !important;
}

.gh-btn-download {
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    background: linear-gradient(90deg,#7a20ea 0%,#a23df3 100%) !important;
    box-shadow: 0 7px 17px rgba(124,58,237,.28) !important;
}

/* Desktop/tablet: two-column All Games cards */
@media (min-width: 768px) {
    #allGamesGrid > .col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Mobile: keep bonus cards horizontally scrollable but large enough to look premium */
@media (max-width: 767px) {
    .gh-bonus-scroll {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 8px 1px 18px !important;
        scrollbar-width: none !important;
    }

    .gh-bonus-scroll::-webkit-scrollbar { display: none !important; }

    .gh-bonus-item,
    .gh-bonus-item:nth-child(1),
    .gh-bonus-item:nth-child(2),
    .gh-bonus-item:nth-child(3),
    .gh-bonus-item:nth-child(4) {
        flex: 0 0 145px !important;
        width: 145px !important;
        min-width: 145px !important;
        height: 282px !important;
        min-height: 282px !important;
        padding: 11px 9px 12px !important;
        border-radius: 21px !important;
    }

    .gh-bonus-topline { height: 29px !important; }
    .gh-bonus-badge { min-height: 25px !important; padding: 5px 9px !important; font-size: .60rem !important; }
    .gh-bonus-circle { width: 112px !important; height: 112px !important; border-radius: 25px !important; margin-bottom: 10px !important; }
    .gh-bonus-label { min-height: 36px !important; font-size: .82rem !important; }
    .gh-bonus-amount { font-size: .68rem !important; }
    .gh-bonus-cta { height: 42px !important; font-size: .72rem !important; }

    .gh-game-card {
        min-height: 190px !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }

    .gh-game-logo-wrap,
    .gh-game-logo {
        width: 62px !important;
        height: 62px !important;
    }

    .gh-game-name { font-size: .84rem !important; }
    .gh-game-meta { font-size: .66rem !important; }
    .gh-bonus-chip { min-height: 24px !important; padding: 3px 8px !important; font-size: .61rem !important; }
    .gh-btn-download { min-height: 40px !important; font-size: .76rem !important; }
}

@media (max-width: 380px) {
    .gh-bonus-item,
    .gh-bonus-item:nth-child(1),
    .gh-bonus-item:nth-child(2),
    .gh-bonus-item:nth-child(3),
    .gh-bonus-item:nth-child(4) {
        flex-basis: 138px !important;
        width: 138px !important;
        min-width: 138px !important;
    }
    .gh-bonus-circle { width: 105px !important; height: 105px !important; }
}
