/* Ported from SULTAN assets/css/style.css — homepage + header + cards */
:root {
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-elevated: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-dim: #64748b;
    --text-faint: #94a3b8;
    --accent: #c9a227;
    --accent-hover: #b8921f;
    --accent-muted: rgba(201, 162, 39, 0.14);
    --accent-grad: linear-gradient(165deg, #f7f1d6 0%, #eadba6 46%, #dcc56e 100%);
    --accent-grad-hover: linear-gradient(165deg, #f3e9c4 0%, #e2d08a 48%, #c9a227 100%);
    --accent-text-grad: linear-gradient(180deg, #f4ebc8 0%, #e4d08c 48%, #c9a227 100%);
    --radius-lg: 18px;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── SITE HEADER (dark, site-wide) ── */
.site-header {
    --header-accent: var(--accent);
    --header-accent-fg: #0d0f14;
    --header-accent-glow: color-mix(in srgb, var(--accent) 16%, transparent);
    --header-surface: rgba(28, 28, 32, 0.88);
    --header-surface-hover: rgba(42, 42, 48, 0.95);
    --header-border: rgba(255, 255, 255, 0.12);
    background: #0a0a0c;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 120;
}

body.page-home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.page-home .site-header.is-solid {
    position: fixed;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.site-header-inner {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-rows: 58px;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    box-sizing: border-box;
}

/* Inline header search: non-home always (desktop); home when header is solid (scrolled) */
.header-search {
    display: none;
}

body.page-home .header-search-toggle {
    display: none !important;
}

@media (min-width: 769px) {
    body:not(.page-home) .header-search,
    body.page-home .site-header.is-solid .header-search {
        display: flex !important;
    }
    body:not(.page-home) .header-search-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Mobilde inline arama kutusu; toggle gizlenir */
    body.page-home .header-search-toggle,
    body.page-home .site-header.is-solid .header-search-toggle {
        display: none !important;
    }

    .site-header-inner {
        display: grid;
        grid-template-columns: minmax(0, auto) 1fr auto;
        grid-template-rows: 52px;
        grid-template-areas: "logo . actions";
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
        padding: 0 12px;
    }

    .logo {
        grid-area: logo;
        grid-column: auto;
        grid-row: auto;
    }

    .header-search,
    body:not(.page-home) .header-search,
    body.page-home .site-header.is-solid .header-search {
        display: none !important;
    }

    .header-right {
        grid-area: actions;
        grid-column: auto;
        grid-row: auto;
        flex-wrap: nowrap;
        justify-self: end;
    }

    .header-lang-code {
        display: none;
    }
}

.logo { color: #fff; }
.logo:hover { color: #fff; opacity: 0.9; }

.header-right {
    grid-column: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    flex-shrink: 0;
}

.header-locale-switchers {
    padding: 0;
    margin: 0;
    border: none !important;
    gap: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.header-search-toggle { display: inline-flex; }

.header-icon-btn,
.header-search-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--header-border);
    background: var(--header-surface);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.header-icon-btn:hover,
.header-search-toggle:hover {
    background: var(--header-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.categories-btn {
    grid-column: 2;
    grid-row: 1;
}

body.page-home .categories-btn {
    display: none !important;
}

body.page-home .site-header.is-solid .categories-btn,
body.page-home .site-header.is-scrolled .categories-btn {
    display: inline-flex !important;
}

@media (max-width: 768px) {
    body.page-home .categories-btn,
    body.page-home .site-header.is-solid .categories-btn,
    body.page-home .site-header.is-scrolled .categories-btn,
    .header-icon-btn.categories-btn,
    .categories-btn {
        display: none !important;
    }
}

.header-icon-btn svg,
.header-search-toggle svg {
    flex-shrink: 0;
    stroke: #fff;
    color: #fff;
}

.header-icon-btn.cart-btn {
    position: relative;
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--header-surface);
    border: 1px solid var(--header-border);
    color: #fff;
    box-shadow: none;
}

.header-icon-btn.cart-btn svg {
    stroke: #fff;
    color: #fff;
    width: 18px;
    height: 18px;
}

.header-icon-btn.cart-btn:hover {
    background: var(--header-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.header-icon-btn.cart-btn:hover svg {
    stroke: #fff;
    color: #fff;
}

.cart-btn-label { display: none; }

.header-locale-switchers .lang-switcher-btn,
.header-locale-switchers .currency-pill {
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--header-border);
    background: var(--header-surface);
    color: #fff;
    box-shadow: none;
}

.header-locale-switchers .lang-switcher-btn:hover,
.header-locale-switchers .currency-pill:hover,
.header-locale-switchers .lang-switcher-wrap.open .lang-switcher-btn,
.header-locale-switchers .currency-switcher-wrap.open .currency-pill {
    background: var(--header-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}

/* Yuvarlak kırpımda amblem ortada kalsın: TR'de ay-yıldız flamanın solunda (x ≈ 0.18–0.59) */
.flag-round-tr { object-position: 15% center; }

/* Masaüstü dil butonu: yuvarlak bayrak + dil adı (mobilde de aynısı) */
.lang-flag-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-name-full {
    display: inline-flex;
    font: inherit;
    color: inherit;
    white-space: nowrap;
}

.lang-globe-icon { display: none; }

.lang-code-short {
    display: none;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.header-locale-switchers .lang-switcher-btn svg:last-child,
.header-locale-switchers .currency-pill svg:last-child {
    opacity: 0.55;
    stroke: #fff;
}

.header-account-btn,
.account-dropdown-wrap .header-account-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    height: 40px;
    padding: 0 18px;
    background: var(--accent-grad);
    border: none;
    border-radius: 9999px;
    color: var(--header-accent-fg, #fff);
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--header-accent-glow, color-mix(in srgb, var(--accent) 16%, transparent));
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
}

.header-account-btn:hover,
.account-dropdown-wrap .header-account-btn:hover {
    background: var(--accent-grad-hover);
    color: var(--header-accent-fg, #0d0f14);
    border: none;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: none;
}

.header-account-btn svg,
.account-dropdown-wrap .header-account-btn svg:not(.account-chevron) {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    color: currentColor;
}

.account-dropdown-wrap .header-account-btn .account-chevron {
    stroke: currentColor;
    opacity: 0.7;
}


.logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.3px;
    transition: opacity 0.15s;
}

.logo:hover { color: #fff; opacity: 0.9; }

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0d0f14;
    font-weight: 800;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-search {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    max-width: 560px;
    justify-self: stretch;
    position: relative;
    align-items: center;
    overflow: visible;
    z-index: 1;
    background: rgba(28, 28, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 4px 4px 4px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.header-search.is-search-active {
    z-index: 1200;
}

.header-search input {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 8px 12px 8px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    height: auto;
    box-shadow: none;
    transition: none;
}

.header-search input:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.header-search button {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--accent-grad);
    color: var(--header-accent-fg, #0d0f14);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px var(--header-accent-glow, color-mix(in srgb, var(--accent) 16%, transparent));
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover {
    color: var(--header-accent-fg, #0d0f14);
    background: var(--accent-grad-hover);
    transform: scale(1.04);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* ── HOME HERO (search + trending) ── */
.home-hero {
    --home-hero-accent: var(--accent);
    --home-hero-accent-fg: #0d0f14;
    --home-hero-accent-glow: color-mix(in srgb, var(--accent) 14%, transparent);
    position: relative;
    width: 100%;
    min-height: clamp(420px, 62vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: #0a0a0b;
    margin: 0 0 32px;
}

body.page-home .home-hero {
    margin-top: 0;
}

.home-hero:has(.home-hero-search.is-search-active) {
    z-index: 40;
}

/* Hero → sayfa zemini: gövde rengine yumuşak geçiş (açık/koyu temada açık bant bırakmaz) */
.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 0%,
        color-mix(in srgb, var(--bg-body) 45%, transparent) 42%,
        var(--bg-body) 100%
    );
    transition: opacity 0.15s ease;
}

.home-hero:has(.home-hero-search.is-search-active)::after {
    opacity: 0;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-hero-grid {
    position: absolute;
    inset: -4%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    padding: 14px;
    transform: scale(1.04);
    filter: saturate(0.86) brightness(0.86);
    animation: homeHeroGridDrift 28s ease-in-out infinite alternate;
}

.home-hero-tile {
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #1a1a1c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 7, 5, 0.46) 0%, rgba(8, 7, 5, 0.12) 36%, transparent 58%),
        radial-gradient(ellipse 80% 70% at 50% 42%, rgba(201, 162, 39, 0.08) 0%, rgba(18, 14, 8, 0.44) 48%, rgba(8, 7, 5, 0.84) 100%),
        linear-gradient(180deg, rgba(18, 14, 8, 0.44) 0%, rgba(12, 10, 6, 0.26) 42%, rgba(8, 7, 5, 0.70) 100%);
}

.home-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 96px 24px 56px;
    text-align: center;
}

.home-hero-title,
body.page-home h1.home-hero-title {
    font-size: clamp(1.35rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 28px;
    padding: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(14px);
    animation: homeHeroFadeUp 0.7s ease forwards 0.1s;
}

.home-hero-title span {
    display: inline;
    color: #e2cc7a;
    background-image: var(--accent-text-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    border: none;
    box-shadow: none;
}

.home-hero-search {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(28, 28, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 6px 6px 6px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(14px);
    animation: homeHeroFadeUp 0.7s ease forwards 0.25s;
}

.home-hero-search.is-search-active {
    z-index: 5;
}

.home-hero-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 12px 12px 12px 0;
}

.home-hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.home-hero-search-btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--accent-grad);
    color: var(--home-hero-accent-fg, #fff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 3px var(--home-hero-accent-glow);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-hero-search-btn:hover {
    background: var(--accent-grad-hover);
    transform: scale(1.04);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.home-hero .home-hero-search.header-game-search-form,
.home-hero .ps-hero-search.header-game-search-form {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: rgba(28, 28, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 6px 6px 6px 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.home-hero .home-hero-search .header-game-search-input {
    height: auto;
    padding: 12px 12px 12px 0;
    font-size: 0.95rem;
}

.home-hero .home-hero-search .header-game-search-btn,
.home-hero .ps-hero-search .header-game-search-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin: 0;
    box-shadow: 0 0 0 3px var(--home-hero-accent-glow);
}

.home-hero .home-hero-trending-label {
    color: rgba(255, 255, 255, 0.55);
}

.home-hero-autocomplete {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 6;
    max-height: min(58vh, 440px);
    padding: 8px 0;
    border-radius: 18px;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
    text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.home-hero-autocomplete::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.home-hero-autocomplete .ac-section {
    padding: 4px 0;
}

.home-hero-autocomplete .ac-section + .ac-section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.home-hero-autocomplete .ac-section-label {
    padding: 8px 16px 6px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.06em;
}

.home-hero-autocomplete .ac-item {
    gap: 12px;
    padding: 10px 16px;
    color: #fff;
    text-align: left;
}

.home-hero-autocomplete .ac-item:hover,
.home-hero-autocomplete .ac-item.ac-active {
    background: rgba(255, 255, 255, 0.07);
}

.home-hero-autocomplete .ac-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-hero-autocomplete .ac-item-icon img {
    object-fit: cover;
}

.home-hero-autocomplete .ac-abbr {
    color: rgba(255, 255, 255, 0.7);
}

.home-hero-autocomplete .ac-item-text {
    text-align: left;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 500;
}

.home-hero-autocomplete .ac-item-text mark,
.home-hero-autocomplete .ac-item-name mark,
.home-hero-autocomplete mark {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border-radius: 0;
    padding: 0;
    box-shadow: inset 0 -2px 0 rgba(10, 10, 12, 0.85);
}

.home-hero-autocomplete .ac-item-price,
.home-hero-autocomplete .ac-empty,
.home-hero-autocomplete .ac-hint {
    color: rgba(255, 255, 255, 0.5);
}

.home-hero-autocomplete .ac-item-arrow {
    color: rgba(255, 255, 255, 0.35);
}

.home-hero-autocomplete .ac-item:hover .ac-item-arrow,
.home-hero-autocomplete .ac-item.ac-active .ac-item-arrow {
    color: #fff;
    opacity: 0.85;
}

.home-hero-autocomplete .ac-all {
    margin-top: 4px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-autocomplete .ac-all:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Mobil: header arama kutusu logo ile dil/para birimi arasında dar kalıyor.
   Öneri paneli form yerine .site-header-inner'a göre konumlanıp ekrana yayılır.
   (Bu kurallar .header-search / .home-hero-autocomplete tanımlarından sonra
   gelmek zorunda; cascade'de daha erken yazılırsa ezilir.) */
@media (max-width: 768px) {
    .header-search {
        position: static;
    }
    .header-search .search-autocomplete {
        top: calc(100% + 6px);
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
        max-height: min(66vh, 420px);
        overscroll-behavior: contain;
    }
}

.home-hero-trending {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(14px);
    animation: homeHeroFadeUp 0.7s ease forwards 0.4s;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.home-hero-search.is-search-active ~ .home-hero-trending,
.home-hero-search.is-search-active ~ .home-hero-trustpilot,
.ps-hero-search-wrap.is-search-active ~ .home-hero-trending,
.ps-hero-search-wrap.is-search-active ~ .home-hero-trustpilot {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

.home-hero-trustpilot {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(14px);
    animation: homeHeroFadeUp 0.7s ease forwards 0.55s;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.home-hero-tp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(18, 18, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    color: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-hero-tp:hover {
    background: rgba(28, 28, 32, 0.88);
    border-color: rgba(0, 182, 122, 0.45);
    transform: translateY(-1px);
}

.home-hero-tp-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.home-hero-tp-star {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00b67a;
}

.home-hero-tp-star svg {
    display: block;
    fill: #fff;
}

.home-hero-tp-star--half {
    background: linear-gradient(90deg, #00b67a 50%, rgba(255, 255, 255, 0.22) 50%);
}

.home-hero-tp-star--empty {
    background: rgba(255, 255, 255, 0.22);
}

.home-hero-tp-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.home-hero-tp-label {
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: #fff;
}

.home-hero-tp-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.home-hero-tp-score {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    font-variant-numeric: tabular-nums;
}

.home-hero-tp-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.home-hero-tp-brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}

.home-hero-tp-brand svg {
    display: block;
    flex-shrink: 0;
}

.home-hero-trending-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}

.home-hero-trending-label svg {
    color: var(--home-hero-accent);
    stroke: var(--home-hero-accent);
}

.home-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.home-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 9999px;
    background: rgba(40, 40, 44, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a.home-hero-tag,
a.home-hero-tag:link,
a.home-hero-tag:visited,
a.home-hero-tag:focus,
a.home-hero-tag:active {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.home-hero-tag:hover,
a.home-hero-tag:hover {
    background: rgba(55, 55, 60, 0.95);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

@keyframes homeHeroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeHeroGridDrift {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.06) translateY(-10px); }
}

@media (max-width: 900px) {
    .home-hero-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .home-hero {
        min-height: 420px;
        margin-bottom: 28px;
    }
    .home-hero-inner {
        padding: 88px 16px 40px;
    }
    .home-hero-title,
    body.page-home h1.home-hero-title {
        margin-bottom: 22px;
        font-size: clamp(1.05rem, 4.8vw, 1.55rem);
    }
    .home-hero-search {
        padding: 5px 5px 5px 16px;
    }
    .home-hero-search-input {
        font-size: 0.88rem;
        padding: 10px 8px 10px 0;
    }
    .home-hero-search-btn {
        width: 42px;
        height: 42px;
    }
    .home-hero-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .home-hero-tile {
        border-radius: 12px;
    }
    .home-hero-trending {
        margin-top: 22px;
    }
    .home-hero-trustpilot {
        margin-top: 18px;
    }
    .home-hero-tp {
        gap: 9px;
        padding: 8px 12px;
    }
    .home-hero-tp-star {
        width: 16px;
        height: 16px;
    }
    .home-hero-tp-star svg {
        width: 10px;
        height: 10px;
    }
    .home-hero-tp-label,
    .home-hero-tp-brand {
        font-size: 0.74rem;
    }
    .home-hero-tp-score {
        font-size: 0.72rem;
    }
    .home-hero-tag {
        padding: 7px 12px;
        font-size: 0.76rem;
    }
}

/* ── SECTIONS ── */
.section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 40px;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
    padding: 0;
    gap: 16px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: rgba(10, 10, 12, 0.06);
    border: 1px solid rgba(10, 10, 12, 0.12);
    margin-bottom: 8px;
}

.section-title {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-transform: none;
    letter-spacing: -0.02em;
    font-style: normal;
    line-height: 1.3;
}

.section-header-box {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.section-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a0a0c;
    background: rgba(10, 10, 12, 0.06);
    padding: 8px 18px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.section-view-all-btn:hover {
    background: rgba(10, 10, 12, 0.1);
    color: #0a0a0c;
    transform: none;
    opacity: 1;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-dim);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.section-link:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--bg-elevated);
}

/* ── GAME GRID ── */
.game-grid {
    display: grid;
    grid-template-columns: repeat(var(--game-cols, 4), 1fr);
    gap: 14px;
}

.game-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: var(--text);
}

.game-card:hover {
    border-color: rgba(10, 10, 12, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(10, 10, 12, 0.16), 0 8px 16px -8px rgba(15, 23, 42, 0.1);
    color: var(--text);
}

.game-card-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-elevated);
    flex-shrink: 0;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-elevated);
    text-transform: uppercase;
}

.game-card-body {
    flex: 1;
    min-width: 0;
}

.game-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    word-break: break-word;
}

.game-card-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #0a0a0c;
    font-weight: 500;
}

.game-card:hover .game-card-action {
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .game-grid { --game-cols: 3 !important; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .game-grid { --game-cols: 3 !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .section { padding: 0 16px; margin-bottom: 32px; }
    .section-header { margin-bottom: 14px; gap: 10px; }
    .section-title { font-size: 1.25rem; }
    .section-view-all-btn { font-size: 0.75rem; padding: 7px 14px; }
    .game-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 6px 8px;
        gap: 6px;
    }
    .game-card:hover {
        transform: translateY(-2px);
    }
    .game-card-image {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .game-card-body {
        width: 100%;
    }
    .game-card-name {
        font-size: 0.72rem;
        line-height: 1.25;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .game-card-name-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .game-card-name-flag {
        margin-left: 0;
    }
    .game-card-action {
        display: none;
    }
}
@media (max-width: 600px) {
    .game-card {
        padding: 10px 6px 8px;
        gap: 6px;
    }
    .game-card-image {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .game-card-name {
        font-size: 0.72rem;
    }
}
@media (max-width: 480px) {
    .section { padding: 0 12px; }
    .game-grid { gap: 6px; }
    .game-card { padding: 8px 4px 6px; gap: 5px; }
    .game-card-image { width: 36px; height: 36px; border-radius: 8px; }
    .game-card-name { font-size: 0.66rem; }
}

.ps-hero-search-wrap {
    width: 100%;
}

body.page-home,
body.home-light.page-home {
    background: var(--bg-body);
    font-family: var(--font-sans);
}

body.page-home > main,
body.home-light > main,
body.games-page > main {
    width: 100%;
    box-sizing: border-box;
}

body.page-home #categories {
    width: 100%;
}

body.page-home h2,
body.page-home h3,
body.games-page h1,
body.games-page h2 {
    margin: 0;
}

.cat-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 40px;
    box-sizing: border-box;
}
.cat-page.section {
    margin-bottom: 40px;
}

.cp-page-head { margin-bottom: 20px; }
.cp-page-head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 0 8px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: var(--text);
}
.cp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}
.cp-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.cp-breadcrumb-link,
.cp-breadcrumb-mid,
.cp-breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    letter-spacing: inherit;
    min-width: 0;
}
.cp-breadcrumb-link,
.cp-breadcrumb-mid {
    color: var(--text-dim);
    opacity: 1;
}
.cp-breadcrumb-link {
    text-decoration: none;
    transition: color 0.2s;
}
.cp-breadcrumb-link:hover { color: var(--accent); }
.cp-breadcrumb-link svg,
.cp-breadcrumb-sep svg {
    flex-shrink: 0;
    color: inherit;
    stroke: currentColor;
}
.cp-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    color: var(--text-faint);
    opacity: 1;
}
.cp-breadcrumb-current {
    color: var(--text);
    opacity: 1;
}
@media (max-width: 640px) {
    .cp-page-head { margin-bottom: 12px; }
    .cp-page-head-inner { padding: 2px 0 4px; }
    .cp-breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
        font-size: 0.72rem;
        line-height: 1.25;
        max-width: 100%;
        padding-bottom: 1px;
    }
    .cp-breadcrumb::-webkit-scrollbar { display: none; }
    .cp-breadcrumb-item { gap: 4px; flex-shrink: 0; }
    .cp-breadcrumb--collapsible .cp-breadcrumb-item--mobile-hide { display: none; }
    .cp-breadcrumb-sep svg {
        width: 12px;
        height: 12px;
    }
}

