/**
 * DamnModz Theme - Category Page Styles
 * Premium design matching CriminalModz/Skycoach references
 */

/* ==========================================================================
   Game Hero Section - Premium Immersive Design
   ========================================================================== */

.dm-game-hero {
    position: relative;
    padding: clamp(60px, 12vh, 120px) 0 clamp(40px, 6vh, 60px);
    overflow: hidden;
}

.dm-game-hero__bg {
    position: absolute;
    inset: 0;
    background:
        /* Dramatic vignette */
        radial-gradient(ellipse 100% 80% at 50% 0%, transparent 30%, rgba(0, 0, 0, 0.8) 100%),
        /* Primary accent glow */
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(var(--accent-primary-rgb), 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(var(--accent-primary-rgb), 0.2) 0%, transparent 40%),
        /* Base gradient */
        linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg-hero-bottom) 100%);
    z-index: -1;
}

/* Optional background image overlay - can be set per-game via inline style */
.dm-game-hero--has-bg .dm-game-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(2px);
}

.dm-game-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.dm-game-hero .dm-breadcrumbs {
    margin-bottom: var(--space-xl);
}

.dm-game-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 var(--space-lg);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Game name with accent color */
.dm-game-hero__title .dm-accent {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dm-game-hero__subtitle {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 55ch;
    margin: 0;
    line-height: 1.7;
}

/* Trust badges row in hero */
.dm-game-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    margin-bottom: 28px;
}

.dm-game-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.dm-game-hero__trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-success);
}

.dm-game-hero__layout {
    position: relative;
}

.dm-game-hero--with-sidebar .dm-game-hero__inner {
    max-width: min(800px, calc(100% - 290px));
}

.dm-game-hero--with-series-grid .dm-game-hero__inner {
    max-width: min(980px, 100%);
}

.dm-game-hero-sidebar {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 246px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(10, 10, 16, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 56px -36px rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2;
}

.dm-game-hero-sidebar__eyebrow {
    margin-bottom: 10px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.dm-game-hero-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dm-game-hero-sidebar__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dm-game-hero-sidebar__item:hover {
    transform: translateX(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    box-shadow: 0 14px 30px -24px rgba(var(--accent-primary-rgb), 0.75);
}

.dm-game-hero-sidebar__media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(36, 36, 44, 0.58) 0%, rgba(12, 12, 18, 0.95) 100%);
}

.dm-game-hero-sidebar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-game-hero-sidebar__emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.dm-game-hero-sidebar__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.dm-game-hero-sidebar__name {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.dm-game-hero-sidebar__meta {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.dm-game-series-grid {
    width: 100%;
    max-width: none;
    margin-top: 0;
}

.dm-game-grid--cod-hero {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.dm-game-grid--cod-hero .dm-game-card {
    aspect-ratio: 1.5 / 1;
    min-height: 82px;
    border-radius: 16px;
}

.dm-game-grid--cod-hero .dm-game-card__icon img {
    filter: brightness(0.76);
}

.dm-game-grid--cod-hero .dm-game-card__title {
    opacity: 1;
    transform: translateY(-50%);
    font-size: 0.8rem;
    left: 10%;
    right: 10%;
}

.dm-game-grid--cod-hero .dm-game-card__count {
    opacity: 1;
    transform: translate(-50%, 17px);
    font-size: 0.48rem;
    letter-spacing: 0.07em;
    padding: 3px 7px;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, 150px) !important;
    gap: 10px !important;
    align-items: stretch !important;
    justify-content: center !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card {
    width: 150px !important;
    max-width: 150px !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__icon {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__img,
.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__icon img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__icon::after {
    content: none !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__title {
    opacity: 0 !important;
    transform: translateY(-50%) translateY(10px) !important;
    font-size: 0.85rem !important;
    left: 6% !important;
    right: 6% !important;
    z-index: 3 !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card:hover .dm-game-card__title {
    opacity: 1 !important;
    transform: translateY(-50%) translateY(-12px) !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card__count {
    opacity: 0 !important;
    transform: translate(-50%, 15px) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
    padding: 4px 10px !important;
    z-index: 3 !important;
}

.dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card:hover .dm-game-card__count {
    opacity: 1 !important;
    transform: translate(-50%, 10px) !important;
}

@media (max-width: 760px) {
    .dm-game-page-wrapper[data-dm-game="roblox"] .dm-game-grid--cod-hero .dm-game-card {
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }
}

.dm-game-grid--cod-hero .dm-game-card:hover .dm-game-card__title {
    transform: translateY(-50%) translateY(-6px);
}

.dm-game-grid--cod-hero .dm-game-card:hover .dm-game-card__count {
    transform: translate(-50%, 15px);
}

@media (max-width: 900px) {
    .dm-game-series-grid {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .dm-game-grid--cod-hero .dm-game-card {
        min-height: 78px;
    }

    .dm-game-grid--cod-hero .dm-game-card__title {
        font-size: 0.72rem;
    }

    .dm-game-grid--cod-hero .dm-game-card__count {
        font-size: 0.44rem;
        transform: translate(-50%, 15px);
    }
}

/* ==========================================================================
   Breadcrumbs - Subtle & Clean
   ========================================================================== */

.dm-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.dm-breadcrumbs a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.dm-breadcrumbs a:hover {
    color: var(--accent-primary);
}

.dm-breadcrumbs .separator {
    color: var(--text-muted);
    opacity: 0.4;
    margin: 0 4px;
}

.dm-breadcrumbs .current {
    color: var(--text-primary);
}

.dm-filters-wrap {
    margin-bottom: 0;
}

.dm-filters-wrap--mobile-before {
    display: none;
}

/* Bridge can hide overflow on wrapper containers, which breaks sticky descendants. */
body.dm-game-page .wrapper_inner,
body.dm-game-page .content,
body.dm-game-page .content .content_inner {
    overflow: visible;
}

.dm-subnav-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.dm-subnav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dm-filters-sticky {
    position: relative;
    top: auto;
    z-index: auto;
    background: #000000;
    color: #ffffff;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.dm-filters-container {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 7px 14px;
    box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.7);
    margin: 0 auto;
    width: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dm-filters-container::before {
    content: none;
}

.dm-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    min-height: 40px;
}

.dm-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dm-filter-pills--sections {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    overflow: visible;
}

.dm-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b8b9f;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.dm-filter-pill::after {
    content: none;
}

.dm-filter-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.1em;
    min-width: 1.1em;
    line-height: 1;
    opacity: 0.85;
    font-size: 0.95rem;
    transform: none;
}

.dm-filter-pill__label {
    display: block;
    line-height: 1;
}

.dm-filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
}

.dm-filter-pill.active {
    color: #ffffff;
    background: rgba(255, 42, 68, 0.16);
    border-color: rgba(255, 42, 68, 0.42);
    box-shadow: 0 10px 24px -16px rgba(255, 42, 68, 0.6);
}

.dm-filter-pill.active .dm-filter-pill__icon {
    opacity: 1;
}

.dm-filter-tools {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    flex: 1 1 480px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.dm-platform-selector {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;
    margin-right: 2px;
    padding-left: 16px;
    position: relative;
}

.dm-platform-selector::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 20%, rgba(255, 255, 255, 0.16) 80%, rgba(255, 255, 255, 0) 100%);
}

.dm-platform-selector__options {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dm-platform-selector__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 0;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex: 0 0 auto;
    opacity: 0.46;
    overflow: visible;
}

.dm-platform-selector__option:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.dm-platform-selector__option.is-active {
    transform: translateY(-1px);
    opacity: 1;
}

.dm-platform-selector__option::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: rgba(var(--accent-primary-rgb), 0.92);
    box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.5);
    transform: translateX(-50%) scaleX(0.45);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dm-platform-selector__option.is-active::after {
    content: none;
}

.dm-platform-selector__option.is-active::before {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.dm-platform-selector__option--all {
    min-width: 30px;
    min-height: 30px;
}

.dm-platform-selector__option--all::before {
    width: 18px;
}

.dm-platform-selector__all-icon {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.78;
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.dm-platform-selector__option--playstation.is-active::before {
    background: rgba(var(--accent-info-rgb), 0.96);
    box-shadow: 0 0 12px rgba(var(--accent-info-rgb), 0.45);
}

.dm-platform-selector__option--xbox.is-active::before {
    background: rgba(34, 197, 94, 0.98);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.42);
}

.dm-platform-selector__option--pc.is-active::before {
    background: rgba(14, 165, 233, 0.98);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.44);
}

.dm-platform-selector__logo {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    opacity: 0.68;
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.dm-platform-selector__option:hover .dm-platform-selector__logo,
.dm-platform-selector__option:hover .dm-platform-selector__all-icon,
.dm-platform-selector__option.is-active .dm-platform-selector__logo,
.dm-platform-selector__option.is-active .dm-platform-selector__all-icon {
    opacity: 1;
    transform: translateY(-1px);
}

.dm-platform-selector__option.is-active .dm-platform-selector__logo,
.dm-platform-selector__option.is-active .dm-platform-selector__all-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

.dm-quick-tags {
    display: flex;
    flex: 1 1 auto;
    order: 1;
    min-width: 0;
    width: auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 1px;
}

.dm-quick-tags::before {
    content: none;
}

.dm-quick-tags::-webkit-scrollbar {
    display: none;
}

.dm-quick-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.dm-quick-tag:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.dm-quick-tag.is-active {
    color: #fff;
    border-color: rgba(255, 42, 68, 0.96);
    background: rgba(255, 42, 68, 0.92);
    box-shadow: 0 12px 28px -18px rgba(255, 42, 68, 0.95);
}

.dm-quick-tag--clear {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

@media (hover: hover) and (pointer: fine) {
    .dm-quick-tags:hover,
    .dm-quick-tags:focus-within {
        flex-wrap: wrap;
        overflow: visible;
    }
}

.dm-filter-clear {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}
.dm-filter-clear:hover {
    color: #ff2a44;
    text-decoration-color: #ff2a44;
}

.dm-filter-search {
    flex: 0 1 280px;
    margin: 0;
}

.dm-filter-search__field {
    display: flex;
    align-items: center;
    min-height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 4px 6px 4px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (max-width: 640px) {
    .dm-game-hero-sidebar {
        display: none;
    }

    .dm-game-hero--with-sidebar .dm-game-hero__inner {
        max-width: 100%;
    }
}

.dm-filter-search__field:focus-within {
    border-color: rgba(255, 42, 68, 0.4);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 42, 68, 0.12);
}

.dm-filter-search__input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 4px 0;
    outline: none;
    width: 100%;
}

.dm-filter-search__input::placeholder { color: rgba(255, 255, 255, 0.56); }

.dm-filter-search__submit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    color: #ffffff;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-filter-search__submit:hover {
    color: #ffffff;
    background: #ff2a44;
    border-color: #ff2a44;
}

.dm-filter-search__submit svg { width: 14px; height: 14px; }

.dm-filter-feedback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dm-filter-feedback__spinner {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff2a44;
    animation: dmAjaxSpin 0.85s linear infinite;
}

.dm-game-page-wrapper.is-ajax-loading .dm-filter-feedback {
    opacity: 1;
    transform: translateY(0);
}

.dm-filter-pill.is-pending,
.dm-quick-tag.is-pending,
.dm-load-more.is-pending,
.dm-filter-search__field.is-pending {
    border-color: rgba(255, 42, 68, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 42, 68, 0.12);
}

.dm-filter-pill.is-pending,
.dm-quick-tag.is-pending,
.dm-load-more.is-pending {
    color: #ffffff;
    animation: dmFilterPendingPulse 0.9s ease-in-out infinite;
}

@keyframes dmFilterPendingPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.76;
    }
}

@media (max-width: 1024px) {
    .dm-game-hero-sidebar {
        display: none;
    }

    .dm-game-hero--with-sidebar .dm-game-hero__inner {
        max-width: 100%;
    }

    .dm-filters-sticky {
        padding: 0 16px;
    }

    .dm-filter-bar {
        justify-content: center;
    }
}

@media (max-width: 860px) {
    .dm-game-hero-sidebar {
        display: none;
    }

    .dm-game-hero--with-sidebar .dm-game-hero__inner {
        max-width: 100%;
    }

    .dm-subnav-wrap {
        padding: 0 12px;
        margin-bottom: 0;
    }

    .dm-filter-pills--sections {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .dm-filter-pills--sections::-webkit-scrollbar { display: none; }

    .dm-filters-sticky {
        position: relative;
        top: auto;
        padding: 0 12px;
        margin-top: 0;
    }

    .dm-filter-search {
        flex: 1 1 100%;
        width: 100%;
    }

    .dm-filter-tools {
        flex-basis: 100%;
    }

    .dm-filter-feedback {
        width: 100%;
    }
}

/* ==========================================================================
   Landing Grids (e.g. Roblox hub)
   ========================================================================== */

.dm-landing-grid {
    padding: var(--space-3xl) 0;
}

.dm-landing-grid .dm-section-title {
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   Products Section - Premium Grid
   ========================================================================== */

.dm-category-products {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--accent-primary-rgb), 0.02) 100%);
}

.dm-category-products.is-ajax-loading {
    position: relative;
}

.dm-category-products.is-ajax-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(var(--bg-primary-rgb), 0.55);
    backdrop-filter: blur(2px);
    z-index: 20;
}

.dm-category-products.is-ajax-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    border: 3px solid rgba(var(--text-primary-rgb), 0.14);
    border-top-color: rgba(var(--accent-primary-rgb), 0.9);
    animation: dmAjaxSpin 0.85s linear infinite;
    z-index: 21;
}

@keyframes dmAjaxSpin {
    to {
        transform: rotate(360deg);
    }
}

.dm-category-products .dm-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

.dm-category-products .dm-products-grid.products {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dm-category-products .dm-products-grid.products > li.product {
    margin: 0 0 30px 0 !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 16px !important;
}

.dm-category-products .dm-product-card__image {
    aspect-ratio: 2 / 1;
    border-radius: 14px;
    margin-bottom: 12px;
}

.dm-category-products .dm-product-card__content {
    padding: 0;
}

.dm-category-products .dm-product-card__title {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.dm-category-products .dm-product-card__features > li.dm-product-card__feature:nth-child(n+6) {
    display: none;
}

.dm-category-products .dm-product-card__footer {
    padding-top: 12px;
    margin-top: auto;
}

.dm-category-products .dm-product-card__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
}

.dm-category-products .dm-product-card__trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.dm-category-products .dm-product-card__trust span::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #ff2a44;
    box-shadow: 0 0 10px rgba(255, 42, 68, 0.7);
}

.dm-category-products .dm-product-card__price {
    font-size: 1.35rem;
}

.dm-category-products .dm-product-card__cta {
    width: 40px;
    min-width: 40px;
    height: 40px;
}

@media (min-width: 1320px) {
    .dm-category-products .dm-products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) {
    .dm-category-products .dm-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .dm-category-products .dm-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .dm-category-products .dm-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .dm-category-products .dm-products-grid.products > li.product {
        margin-bottom: 12px !important;
        padding: 8px !important;
    }

    .dm-category-products .dm-product-card__image {
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .dm-category-products .dm-product-card__title {
        display: -webkit-box;
        min-height: 2.4em;
        margin-bottom: 8px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .dm-category-products .dm-product-card__features,
    .dm-category-products .dm-product-card__trust {
        display: none;
    }

    .dm-category-products .dm-product-card__footer {
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 9px;
        margin-top: 0;
    }

    .dm-category-products .dm-product-card__price-label {
        margin-bottom: 3px;
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }

    .dm-category-products .dm-product-card__price {
        font-size: 1.02rem;
    }

    .dm-category-products .dm-product-card__cta {
        width: 32px;
        min-width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .dm-category-products .dm-platform-badge {
        width: 26px;
        height: 26px;
        border-radius: 9px;
    }

    .dm-category-products .dm-platform-badge__logo {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   Premium Product Cards
   ========================================================================== */

.dm-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(var(--bg-elevated-rgb), 0.95) 0%, rgba(var(--bg-hero-top-rgb), 0.98) 100%);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Gradient border effect */
.dm-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.dm-product-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(var(--accent-primary-rgb), 0.3);
    z-index: 2;
}

.dm-product-card:hover::before {
    background: linear-gradient(180deg,
            rgba(var(--accent-primary-rgb), 0.6) 0%,
            rgba(var(--accent-primary-rgb), 0.2) 50%,
            transparent 100%);
}

/* Card Image Container */
.dm-product-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
}

.dm-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.dm-product-card:hover .dm-product-card__image img {
    transform: scale(1.05);
}

/* Image overlay gradient */
.dm-product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--bg-hero-top-rgb), 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Platform badges (PC / Xbox / PlayStation) */
.dm-product-card__platforms {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    gap: 6px;
    z-index: 11;
    pointer-events: auto;
}

.dm-platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 12px;
    color: var(--text-primary);
    background: rgba(var(--bg-secondary-rgb), 0.75);
    border: 1px solid rgba(var(--text-primary-rgb), 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dm-platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -18px rgba(0, 0, 0, 0.9);
}

.dm-platform-badge.is-active {
    border-color: rgba(var(--accent-primary-rgb), 0.92);
    box-shadow:
        0 0 0 1px rgba(var(--accent-primary-rgb), 0.82),
        0 0 0 4px rgba(var(--accent-primary-rgb), 0.16),
        0 12px 24px -16px rgba(var(--accent-primary-rgb), 0.8);
}

.dm-platform-badge__logo {
    display: block;
    width: 18px;
    height: 18px;
}

.dm-platform-badge--playstation {
    background: rgba(var(--accent-info-rgb), 0.18);
    border-color: rgba(var(--accent-info-rgb), 0.35);
}

.dm-platform-badge--xbox {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.35);
}

.dm-platform-badge--pc {
    background: rgba(14, 165, 233, 0.16);
    border-color: rgba(14, 165, 233, 0.32);
}

/* Sold out badge for product cards (game/category grids) */
.dm-product-card__soldout {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(var(--accent-primary-rgb), 0.92);
    border: 1px solid rgba(var(--accent-primary-light-rgb), 0.22);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* Badges Container - Top of Card */
.dm-product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
}

.dm-product-card__badges-left,
.dm-product-card__badges-right {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Sale Badge - Circular Red */
.dm-badge--sale-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.4);
}

/* Hot Badge */
.dm-badge--hot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(var(--accent-primary-rgb), 0.9);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(var(--accent-primary-rgb), 0.3);
}

/* Bestseller Badge */
.dm-badge--bestseller {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(var(--accent-gold-rgb), 0.9);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-on-accent);
}

.dm-badge--old-games {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(var(--accent-gold-rgb), 0.92);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.5);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-on-accent);
    box-shadow: 0 10px 24px rgba(var(--accent-gold-rgb), 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Remove "BEST SELLER" + "HOT" from listing cards */
body.dm-category-page .dm-badge--bestseller,
body.dm-category-page .dm-badge--featured,
body.dm-category-page .dm-badge--hot,
body.dm-category-page .dm-badge--sale,
body.dm-category-page .dm-badge--sale-circle,
body.dm-game-page .dm-badge--bestseller,
body.dm-game-page .dm-badge--featured,
body.dm-game-page .dm-badge--hot,
body.dm-game-page .dm-badge--sale,
body.dm-game-page .dm-badge--sale-circle {
    display: none !important;
}

.dm-product-card__badges .dm-product-card__soldout {
    position: static;
    top: auto;
    left: auto;
    min-height: 24px;
}

/* Card Content Area - Premium Redesign */
.dm-product-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    padding-top: 16px;
}

.dm-product-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px;
    line-height: 1.35;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-product-card:hover .dm-product-card__title {
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
    color: #fff;
    transform: translateX(2px);
}

/* Feature List */
.dm-product-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dm-product-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.dm-product-card:hover .dm-product-card__feature {
    color: rgba(255, 255, 255, 0.85);
}

.dm-product-card__feature::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(var(--accent-primary-rgb), 0.6);
    transition: transform 0.3s ease;
}

.dm-product-card:hover .dm-product-card__feature::before {
    transform: scale(1.3);
}

/* Card Footer - Price & CTA */
.dm-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.dm-product-card:hover .dm-product-card__footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.dm-product-card__price-wrap {
    display: flex;
    flex-direction: column;
}

.dm-product-card__price-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 700;
}

.dm-product-card__price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    transition: color 0.3s ease;
}

.dm-product-card__price--sale {
    display: block;
    line-height: 1;
}

.dm-product-card__sale-price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.dm-product-card__regular-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.55em;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.dm-product-card__regular-price::before {
    content: "Was";
    color: rgba(255, 255, 255, 0.36);
    font-family: var(--font-body);
    font-size: 0.78em;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dm-product-card__regular-price .woocommerce-Price-amount {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(240, 24, 70, 0.9);
}

.dm-product-card__sale-price {
    display: block;
    color: #ffffff;
    line-height: 0.98;
    text-decoration: none;
}

.dm-product-card__sale-price .woocommerce-Price-currencySymbol {
    font-size: 0.78em;
}

/* Cached game listings already include server-rendered prices, so don't hide them behind the async currency mask. */
body.dm-game-page .dm-product-card__price .yay-currency-cache-loading .woocommerce-Price-amount.amount {
    color: inherit !important;
}

body.dm-game-page .dm-product-card__price .yay-currency-cache-loading .woocommerce-Price-amount.amount::before,
body.dm-game-page .dm-product-card__price .yay-currency-cache-loading .woocommerce-Price-amount.amount::after {
    content: none !important;
    display: none !important;
}

.dm-product-card:hover .dm-product-card__price {
    color: #fff;
    text-shadow: 0 0 16px rgba(255,255,255,0.1);
}

.dm-product-card__price .dm-price-cents {
    font-size: 0.65em;
    vertical-align: super;
}

/* Buy Now Button - Subdued until hover */
.dm-product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    background: rgba(var(--accent-primary-rgb), 0.08);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.dm-product-card:hover .dm-product-card__cta {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: scale(1.1) translateX(4px);
    box-shadow: 0 8px 20px rgba(var(--accent-primary-rgb), 0.4);
}

/* Link wrapper */
.dm-product-card__link {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

/* Hover over image interaction */
.dm-product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.dm-product-card:hover .dm-product-card__image::after {
    opacity: 1;
}

/* ==========================================================================
   No Products State
   ========================================================================== */

.dm-no-products {
    text-align: center;
    padding: var(--space-3xl);
    background: rgba(var(--bg-elevated-rgb), 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.dm-no-products p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.dm-no-products__support {
    max-width: 460px;
    margin: -8px auto var(--space-lg);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.5;
}

.dm-no-products__support a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(255, 42, 68, 0.72);
    text-underline-offset: 3px;
}

.woocommerce-no-products-found.dm-no-products {
    margin: var(--space-xl) auto;
}

.woocommerce-no-products-found.dm-no-products .woocommerce-info {
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   SEO Content Section
   ========================================================================== */

/* ==========================================================================
   Ground-Up Cyberpunk / Terminal SEO Block (V2)
   ========================================================================== */

.dm-seo-v2 {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    background: radial-gradient(circle at 50% -20%, rgba(var(--accent-primary-rgb), 0.15) 0%, rgba(var(--bg-primary-rgb), 1) 60%);
    border-top: 1px solid rgba(var(--accent-primary-rgb), 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Background Cyber Grid Overlay */
.dm-seo-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
}

.dm-seo-v2 .container {
    position: relative;
    z-index: 2;
}

.dm-seo-v2-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 6vw, 80px);
}

/* V2 Header & Title */
.dm-seo-v2-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.dm-seo-v2-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dm-seo-v2-title-glitch {
    color: var(--accent-primary);
    margin-right: 12px;
    font-weight: 400;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(var(--accent-primary-rgb), 0.5));
}

/* V2 Quick Points Cards */
.dm-seo-v2-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.dm-seo-v2-card {
    position: relative;
    padding: 36px 32px;
    background: rgba(var(--bg-elevated-rgb), 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.dm-seo-v2-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-primary-rgb), 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-primary-rgb), 0.2);
}

.dm-seo-v2-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at top left, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dm-seo-v2-card:hover .dm-seo-v2-card-bg {
    opacity: 1;
}

.dm-seo-v2-card-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(var(--accent-primary-rgb), 0.48);
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.18);
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.dm-seo-v2-card:hover .dm-seo-v2-card-icon {
    color: rgba(var(--accent-primary-rgb), 0.95);
    text-shadow: 0 0 36px rgba(var(--accent-primary-rgb), 0.28);
    transform: scale(1.05) translate(4px, -4px);
}

.dm-seo-v2-card-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.dm-seo-v2-card:hover .dm-seo-v2-card-content p {
    color: var(--text-primary);
}

/* V2 Terminal Design */
.dm-seo-v2-terminal {
    background: linear-gradient(180deg, rgba(var(--bg-card-rgb), 0.9) 0%, rgba(var(--bg-primary-rgb), 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.dm-seo-v2-terminal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dm-seo-v2-terminal-dots {
    display: flex;
    gap: 10px;
}

.dm-seo-v2-terminal-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex: 0 0 14px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dm-seo-v2-terminal-dots span:nth-child(1) {
    background: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.35);
}

.dm-seo-v2-terminal-dots span:nth-child(2) {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.3);
}

.dm-seo-v2-terminal-dots span:nth-child(3) {
    background: #27c93f;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.3);
}

.dm-seo-v2-terminal:hover .dm-seo-v2-terminal-dots span:nth-child(1) {
    box-shadow: 0 0 14px rgba(255, 95, 86, 0.65);
    transform: scale(1.05);
}

.dm-seo-v2-terminal:hover .dm-seo-v2-terminal-dots span:nth-child(2) {
    box-shadow: 0 0 14px rgba(255, 189, 46, 0.6);
    transform: scale(1.05);
}

.dm-seo-v2-terminal:hover .dm-seo-v2-terminal-dots span:nth-child(3) {
    box-shadow: 0 0 14px rgba(39, 201, 63, 0.6);
    transform: scale(1.05);
}

.dm-seo-v2-terminal-status {
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-success);
    letter-spacing: 2px;
    opacity: 0.8;
}

.dm-seo-v2-terminal-body {
    padding: clamp(32px, 6vw, 70px);
}

/* Animations for nested content */
@keyframes dmSeoFadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* V2 Text Elements Inside Terminal */
.dm-seo-v2-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.85;
}

.dm-seo-v2-text > p:first-child {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.dm-seo-v2-text h2, 
.dm-seo-v2-text h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dm-seo-v2-text h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.dm-seo-v2-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, transparent 100%);
    border-radius: 2px;
}

.dm-seo-v2-text h3 {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dm-seo-v2-text h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.6);
}

.dm-seo-v2-text p {
    margin-bottom: 1.5rem;
}

/* Lists styling inside Terminal */
.dm-seo-v2-text ul {
    display: grid;
    gap: 14px;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.dm-seo-v2-text ul li {
    position: relative;
    margin: 0;
    padding: 18px 24px 18px 56px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: dmSeoFadeInUp 0.5s ease-out forwards;
}

/* Stagger list animations */
.dm-seo-v2-text ul li:nth-child(1) { animation-delay: 0.1s; }
.dm-seo-v2-text ul li:nth-child(2) { animation-delay: 0.15s; }
.dm-seo-v2-text ul li:nth-child(3) { animation-delay: 0.2s; }
.dm-seo-v2-text ul li:nth-child(4) { animation-delay: 0.25s; }
.dm-seo-v2-text ul li:nth-child(5) { animation-delay: 0.3s; }
.dm-seo-v2-text ul li:nth-child(n+6) { animation-delay: 0.35s; }

.dm-seo-v2-text ul li:hover {
    background: rgba(var(--accent-primary-rgb), 0.06);
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.dm-seo-v2-text ul li::before {
    content: "✦";
    position: absolute;
    top: 17px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    font-size: 16px;
    text-shadow: 0 0 12px rgba(var(--accent-primary-rgb), 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dm-seo-v2-text ul li:hover::before {
    transform: scale(1.4) rotate(15deg);
}

/* Rich Tables Inside Terminal */
.dm-seo-v2-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    animation: dmSeoFadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.dm-seo-v2-text th,
.dm-seo-v2-text td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dm-seo-v2-text th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-seo-v2-text td {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease, background 0.3s ease;
}

.dm-seo-v2-text tr:last-child td {
    border-bottom: none;
}

.dm-seo-v2-text tr:hover td {
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-primary);
}

/* Collapsible Details Inside Terminal */
.dm-seo-v2-text details {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: dmSeoFadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.dm-seo-v2-text details:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    background: rgba(255, 255, 255, 0.025);
}

.dm-seo-v2-text details[open] {
    border-color: rgba(var(--accent-primary-rgb), 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.2);
}

.dm-seo-v2-text summary {
    padding: 24px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 70px;
    outline: none;
    transition: color 0.3s ease;
}

.dm-seo-v2-text details[open] summary {
    color: var(--accent-primary-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dm-seo-v2-text summary::-webkit-details-marker {
    display: none;
}

.dm-seo-v2-text summary::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dm-seo-v2-text details[open] summary::after {
    content: "−";
    background: rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    transform: translateY(-50%) rotate(180deg);
}

.dm-seo-v2-text summary:hover::after {
    background-color: rgba(var(--accent-primary-rgb), 0.15);
    color: var(--text-primary);
}

.dm-seo-v2-text details > *:not(summary) {
    padding: 24px 28px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    animation: dmSeoFadeInUp 0.4s ease-out forwards;
}

.dm-seo-v2-text details > p:last-child {
    padding-bottom: 30px;
}

/* Media Queries for SEO V2 */
@media (max-width: 768px) {
    .dm-seo-v2-card {
        padding: 24px;
    }
    
    .dm-seo-v2-terminal-body {
        padding: 24px;
    }

    .dm-seo-v2-text {
        max-width: 100%;
        overflow-x: visible;
        overflow-y: visible;
    }

    .dm-seo-v2-text table {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 1.75rem 0;
        border-radius: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        table-layout: fixed;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--accent-primary-rgb), 0.65) rgba(255, 255, 255, 0.08);
    }

    .dm-seo-v2-text table::-webkit-scrollbar {
        height: 8px;
    }

    .dm-seo-v2-text table::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 999px;
    }

    .dm-seo-v2-text table::-webkit-scrollbar-thumb {
        background: rgba(var(--accent-primary-rgb), 0.65);
        border-radius: 999px;
    }

    .dm-seo-v2-text table thead,
    .dm-seo-v2-text table tbody {
        display: table;
        width: 620px;
        min-width: 620px;
        table-layout: fixed;
    }

    .dm-seo-v2-text table tr {
        display: table-row;
    }
    
    .dm-seo-v2-text ul li {
        padding: 16px 20px 16px 48px;
    }
    
    .dm-seo-v2-text ul li::before {
        left: 16px;
    }
    
    .dm-seo-v2-text th, 
    .dm-seo-v2-text td {
        padding: 12px 14px;
        font-size: 0.84rem;
        line-height: 1.4;
        vertical-align: top;
    }

    .dm-seo-v2-text th {
        font-size: 0.68rem;
        line-height: 1.25;
        letter-spacing: 0.35px;
    }
    
    .dm-seo-v2-text summary {
        padding: 20px 24px;
        padding-right: 60px;
        font-size: 1.05rem;
    }
    
    .dm-seo-v2-text summary::after {
        right: 20px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .dm-seo-v2-text details > *:not(summary) {
        padding: 20px 24px;
    }
}

/* ==========================================================================
   Why Choose Us - Trust Section (Premium)
   ========================================================================== */

.dm-why-choose-us {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--accent-primary-rgb), 0.03) 100%);
}

.dm-why-choose-us .dm-section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2xl);
}

.dm-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .dm-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .dm-trust-grid {
        grid-template-columns: 1fr;
    }
}

.dm-trust-card {
    position: relative;
    background: linear-gradient(180deg, rgba(var(--bg-elevated-rgb), 0.8) 0%, rgba(var(--bg-hero-top-rgb), 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dm-trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dm-trust-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dm-trust-card:hover::before {
    opacity: 1;
}

.dm-trust-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.dm-trust-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.dm-trust-card__text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Pagination - Modern (Universal)
   ========================================================================== */

.woocommerce-pagination,
nav.woocommerce-pagination,
.dm-pagination,
.dm-load-more-wrap {
    margin-top: var(--space-3xl);
    text-align: center;
}

.dm-load-more-wrap {
    display: flex;
    justify-content: center;
}

.dm-load-more {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: min(100%, 240px);
    padding: 16px 26px;
    border-radius: 18px;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
    background: rgba(var(--bg-elevated-rgb), 0.9);
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.dm-load-more:hover,
.dm-load-more:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-primary-rgb), 0.46);
    background: rgba(var(--bg-elevated-rgb), 0.96);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
}

.dm-load-more__label {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dm-load-more__meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.dm-category-products[aria-busy="true"] .dm-load-more {
    pointer-events: none;
    opacity: 0.72;
}

/* Target all page-numbers lists */
ul.page-numbers,
.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 16px 24px !important;
    margin: 0 auto var(--space-2xl) !important;
    background: rgba(var(--bg-elevated-rgb), 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
}

/* Individual page number items */
ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
}

/* All page number links/spans */
ul.page-numbers .page-numbers,
.woocommerce-pagination .page-numbers,
.page-numbers a,
.page-numbers span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    background: rgba(var(--bg-secondary-rgb), 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: var(--text-secondary) !important;
    font-family: var(--font-heading) !important;
    font-size: var(--text-sm) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

/* Hover state */
ul.page-numbers .page-numbers:hover,
.woocommerce-pagination .page-numbers:hover,
.page-numbers a:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.5) !important;
    color: var(--text-primary) !important;
    background: rgba(var(--accent-primary-rgb), 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Current page - active state */
ul.page-numbers .page-numbers.current,
.woocommerce-pagination .page-numbers.current,
.page-numbers span.current {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%) !important;
    border-color: transparent !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.45) !important;
}

ul.page-numbers .page-numbers.current:hover {
    transform: none !important;
}

/* Dots/ellipsis */
ul.page-numbers .page-numbers.dots,
.page-numbers span.dots {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--text-muted) !important;
    min-width: 30px !important;
    cursor: default !important;
}

ul.page-numbers .page-numbers.dots:hover {
    transform: none !important;
    background: transparent !important;
}

/* Next/Previous buttons */
ul.page-numbers .next,
ul.page-numbers .prev,
.page-numbers a.next,
.page-numbers a.prev {
    padding: 0 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 12px !important;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.dm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.dm-btn--primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.35);
}

.dm-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-primary-rgb), 0.5);
    color: var(--text-primary);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .dm-game-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
        text-align: center;
    }

    .dm-game-hero__inner {
        max-width: 100%;
    }

    .dm-game-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .dm-game-hero__trust {
        justify-content: center;
    }

    .dm-filter-pills--sections {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        width: 100%;
        overflow: visible;
        padding: 4px 0 2px;
    }

    .dm-filters-wrap {
        margin-bottom: 18px;
    }

    .dm-filters-wrap--mobile-before {
        display: block;
        margin-bottom: 8px;
    }

    .dm-filters-wrap--desktop-after {
        display: none;
    }

    .dm-filters-sticky {
        position: relative;
        top: auto;
        padding: 0 8px;
        margin-top: 0;
        margin-bottom: 6px;
    }

    .dm-filters-wrap .dm-filters-container {
        width: 100%;
        max-width: none;
        padding: 4px 6px;
        border-radius: 10px;
    }

    .dm-filter-bar {
        position: relative;
        justify-content: flex-start;
        gap: 4px;
        min-height: 0;
    }

    .dm-filter-search__field {
        min-height: 32px;
        padding: 2px 3px 2px 8px;
    }

    .dm-filter-tools {
        width: 100%;
        order: 2;
        justify-content: flex-start;
        gap: 6px;
    }

    .dm-platform-selector {
        margin-left: 0;
        width: auto;
        justify-content: flex-start;
        margin-right: 0;
        padding-left: 12px;
    }

    .dm-platform-selector__options {
        gap: 4px;
    }

    .dm-filter-search {
        order: 1;
        width: 100%;
        flex-basis: 100%;
    }

    .dm-quick-tags {
        flex: 1 1 auto;
        width: auto;
        justify-content: flex-start;
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 1px;
        scrollbar-width: none;
    }

    .dm-quick-tags::-webkit-scrollbar {
        display: none;
    }

    .dm-quick-tag {
        font-size: 0.62rem;
        padding: 4px 7px;
    }

    .dm-platform-selector__option {
        min-width: 26px;
        min-height: 26px;
    }

    .dm-platform-selector__option--all {
        min-width: 26px;
        min-height: 26px;
    }

    .dm-platform-selector__logo {
        width: 14px;
        height: 14px;
    }

    .dm-platform-selector__all-icon {
        width: 13px;
        height: 13px;
    }

    .dm-filter-pills--sections .dm-filter-pill {
        justify-content: center;
        gap: 6px;
        min-width: 0;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.82rem;
        font-weight: 850;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.075));
        border-color: rgba(255, 255, 255, 0.24);
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 22px -18px rgba(0, 0, 0, 0.8);
    }

    .dm-filter-pills--sections .dm-filter-pill.active {
        color: #ffffff;
        background: linear-gradient(180deg, rgba(255, 42, 68, 1), rgba(176, 20, 43, 0.96));
        border-color: rgba(255, 144, 158, 0.88);
        box-shadow: 0 12px 26px -16px rgba(255, 42, 68, 1), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .dm-filter-pills--sections .dm-filter-pill__icon {
        display: none;
    }

    .dm-filter-pills--sections .dm-filter-pill__label {
        overflow: hidden;
        line-height: 1.08;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dm-subnav {
        justify-content: flex-start;
    }

    .dm-subnav-wrap {
        padding: 0 8px;
    }

    .dm-filter-feedback {
        position: absolute;
        top: 3px;
        right: 3px;
        width: auto;
        flex: 0 0 auto;
        min-width: 20px;
        min-height: 20px;
        padding: 0;
        gap: 0;
        font-size: 0.54rem;
        letter-spacing: 0.04em;
        background: rgba(8, 8, 8, 0.94);
        backdrop-filter: blur(8px);
        border-color: rgba(255, 255, 255, 0.12);
        z-index: 2;
    }

    .dm-filter-feedback__spinner {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .dm-filter-feedback__text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .dm-product-card__content {
        padding: 16px;
    }

    .dm-product-card__footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .dm-filter-pills--sections .dm-filter-pill {
        min-height: 42px;
        padding: 10px 8px;
        font-size: 0.8rem;
        border-radius: 13px;
    }

    .dm-filters-sticky {
        padding: 0 6px;
    }

    .dm-subnav-wrap {
        padding: 0 6px;
    }

    .dm-filters-wrap .dm-filters-container {
        padding: 4px 5px;
        border-radius: 9px;
    }

    .dm-filter-search__field {
        min-height: 30px;
    }

    .dm-filter-search__input {
        height: 24px;
        font-size: 0.72rem;
    }

    .dm-quick-tag {
        padding: 4px 6px;
        font-size: 0.6rem;
    }

    .dm-quick-tag--platform {
        gap: 4px;
    }

    .dm-quick-tag__platform-logo {
        width: 11px;
        height: 11px;
    }

    .dm-filter-search__submit {
        width: 24px;
        height: 24px;
    }

    .dm-filter-search__submit svg {
        width: 12px;
        height: 12px;
    }

    .dm-filter-feedback {
        top: 3px;
        right: 3px;
        min-width: 18px;
        min-height: 18px;
        padding: 0;
        font-size: 0.5rem;
    }

    .dm-breadcrumbs {
        font-size: var(--text-xs);
        justify-content: center;
    }

    .dm-game-hero__title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Search Results Page Styles
   ========================================================================== */

body.search-results {
    background: var(--bg-primary);
}

/* Search page hero/header area */
body.search-results .dm-site-content > .container {
    max-width: none;
    padding: 0;
}

body.search-results .woocommerce-products-header {
    padding: clamp(80px, 12vh, 120px) var(--space-lg) var(--space-2xl);
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, transparent 30%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(var(--accent-primary-rgb), 0.25) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg-hero-bottom) 100%);
    text-align: center;
}

body.search-results .woocommerce-products-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

body.search-results .woocommerce-result-count {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-top: var(--space-md);
}

/* Search results product grid container */
body.search-results .site-main,
body.search-results .dm-site-content .woocommerce,
body.search-results .dm-site-content .container_inner {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* WooCommerce Builder limits archive rows to 1170px by default; match our theme container on search pages */
body.search-results .wpbforwpbakery_archive .vc_row.wpb_row.vc_row-fluid {
    max-width: var(--container-max) !important;
}

/* Let the search hero go full-bleed even inside constrained builder wrappers */
body.search-results .dm-search-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Style the products grid - this is the key fix */
body.search-results ul.products,
body.search-results .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    max-width: var(--container-max);
    margin: 0 auto !important;
    padding: var(--space-2xl) var(--space-lg) var(--space-3xl) !important;
    list-style: none !important;
}

/* Disable WooCommerce clearfix pseudo-elements in grid mode to prevent ghost cells */
body.search-results ul.products::before,
body.search-results ul.products::after,
body.search-results .woocommerce ul.products::before,
body.search-results .woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

body.search-results ul.products > li.product,
body.search-results .woocommerce ul.products > li.product {
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Ensure dm-product-card fills its grid cell */
body.search-results ul.products > li.product .dm-product-card,
body.search-results .woocommerce ul.products > li.product .dm-product-card {
    height: 100%;
}

body.search-results ul.products > li.product .dm-product-card__link,
body.search-results .woocommerce ul.products > li.product .dm-product-card__link {
    height: 100%;
}

/* Responsive grid for search results */
@media (min-width: 1320px) {
    body.search-results ul.products,
    body.search-results .woocommerce ul.products {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) {
    body.search-results ul.products,
    body.search-results .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.search-results ul.products,
    body.search-results .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        padding: var(--space-xl) var(--space-md) var(--space-2xl) !important;
    }
    
    body.search-results .woocommerce-products-header {
        padding: var(--space-3xl) var(--space-md) var(--space-xl);
    }
}

@media (max-width: 480px) {
    body.search-results ul.products,
    body.search-results .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: var(--space-lg) 10px var(--space-2xl) !important;
    }

    body.search-results ul.products > li.product,
    body.search-results .woocommerce ul.products > li.product {
        padding: 8px !important;
    }

    body.search-results .dm-product-card__title {
        display: -webkit-box;
        min-height: 2.4em;
        margin-bottom: 8px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.78rem;
        line-height: 1.2;
    }

    body.search-results .dm-product-card__features,
    body.search-results .dm-product-card__trust {
        display: none;
    }

    body.search-results .dm-product-card__footer {
        flex-wrap: nowrap;
        gap: 8px;
        padding-top: 9px;
        margin-top: 0;
    }

    body.search-results .dm-product-card__price {
        font-size: 1.02rem;
    }

    body.search-results .dm-product-card__cta {
        width: 32px;
        min-width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* WooCommerce ordering and result count bar */
body.search-results .woocommerce-notices-wrapper + .woocommerce-result-count,
body.search-results .woocommerce-ordering {
    margin-bottom: var(--space-xl);
}

body.search-results .woocommerce-ordering select {
    padding: var(--space-sm) var(--space-lg);
    background-color: rgba(var(--bg-elevated-rgb), 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-sm);
}

/* No results state */
body.search-results .woocommerce-info {
    background: rgba(var(--bg-elevated-rgb), 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    color: var(--text-secondary);
}

body.search-results .woocommerce-info::before {
    color: var(--accent-primary);
}

/* ==========================================================================
   Search Hero - Premium Design
   ========================================================================== */

.dm-search-hero {
    position: relative;
    padding: clamp(60px, 12vh, 120px) 0 clamp(40px, 6vh, 60px);
    overflow: hidden;
    text-align: center;
}

.dm-search-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, transparent 30%, rgba(0, 0, 0, 0.85) 100%),
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(var(--accent-primary-rgb), 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-hero-top) 0%, var(--bg-hero-bottom) 100%);
    z-index: -2;
}

.dm-search-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.dm-search-hero__glow--1 {
    top: -20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(var(--accent-primary-rgb), 0.4);
    animation: searchGlowPulse 8s ease-in-out infinite;
}

.dm-search-hero__glow--2 {
    bottom: -10%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: rgba(var(--accent-primary-rgb), 0.25);
    animation: searchGlowPulse 10s ease-in-out infinite reverse;
}

@keyframes searchGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.dm-search-hero__container {
    position: relative;
    z-index: 1;
}

.dm-search-hero__content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.dm-search-hero__breadcrumbs {
    justify-content: center;
    margin-bottom: var(--space-xl);
}

/* Decorative Rings */
.dm-search-hero__rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: -1;
}

.dm-search-hero__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.dm-search-hero__ring--outer {
    width: 100%;
    height: 100%;
    animation: ringRotate 40s linear infinite;
}

.dm-search-hero__ring--inner {
    width: 70%;
    height: 70%;
    border-color: rgba(var(--accent-primary-rgb), 0.25);
    animation: ringRotate 30s linear infinite reverse;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Title */
.dm-search-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 var(--space-lg);
    letter-spacing: -0.03em;
}

.dm-search-hero__title-top {
    display: block;
    color: var(--text-primary);
    text-transform: uppercase;
}

.dm-search-hero__title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-light, #4ade80) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.dm-search-hero__subtitle {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    margin: 0 0 var(--space-xl);
}

.dm-search-hero__subtitle strong {
    color: var(--text-primary);
}

/* Search Bar */
.dm-search-hero__search-wrap {
    margin-bottom: var(--space-lg);
}

.dm-search-hero__form {
    max-width: 600px;
    margin: 0 auto;
}

.dm-search-hero__input-wrap {
    display: flex;
    align-items: center;
    background: rgba(var(--bg-elevated-rgb), 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 8px 8px 24px;
    transition: all var(--transition-base);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dm-search-hero__input-wrap:focus-within {
    border-color: rgba(var(--accent-primary-rgb), 0.5);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 4px rgba(var(--accent-primary-rgb), 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dm-search-hero__search-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    margin-right: var(--space-sm);
}

.dm-search-hero__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: var(--text-base);
    padding: var(--space-sm) 0;
    min-width: 0;
}

.dm-search-hero__input::placeholder {
    color: var(--text-muted);
}

.dm-search-hero__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
    border: none;
    border-radius: 100px;
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.4);
}

.dm-search-hero__submit:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(var(--accent-primary-rgb), 0.5);
}

.dm-search-hero__submit svg {
    transition: transform var(--transition-fast);
}

.dm-search-hero__submit:hover svg {
    transform: translateX(3px);
}

/* Result count */
.dm-search-hero__meta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.dm-search-hero__count {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dm-search-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .dm-search-hero__rings {
        display: none;
    }
    
    .dm-search-hero__title {
        font-size: 2rem;
    }
    
    .dm-search-hero__input-wrap {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        padding: var(--space-sm);
    }
    
    .dm-search-hero__search-icon {
        display: none;
    }
    
    .dm-search-hero__input {
        width: 100%;
        padding: var(--space-md);
        text-align: center;
    }
    
    .dm-search-hero__submit {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-sm);
    }
}

/* FAQ section spacing on game pages (FAQ accordion styles live in components.css) */
body.dm-game-page .dm-faq-section {
    padding: var(--space-3xl) 0;
}

/* GTA 6 launch countdown card. */
.dm-game-hero--with-countdown .dm-game-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(286px, 340px);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.dm-game-hero--with-countdown .dm-game-hero__inner {
    grid-column: 1;
    grid-row: 1;
    max-width: min(800px, 100%);
}

.dm-gta6-countdown {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 14px;
    width: min(340px, 100%);
    margin: 0;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(13, 15, 24, 0.9), rgba(8, 9, 14, 0.78)),
        radial-gradient(circle at 90% 0%, rgba(var(--accent-primary-rgb), 0.22), transparent 44%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    box-shadow:
        0 28px 60px -42px rgba(0, 0, 0, 0.92),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dm-gta6-countdown__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dm-gta6-countdown__eyebrow {
    color: var(--accent-primary-light, #ff6b6b);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dm-gta6-countdown__copy strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.72rem);
    line-height: 1;
}

.dm-gta6-countdown__copy span:last-child {
    color: rgba(235, 242, 255, 0.66);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.dm-gta6-countdown__timer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.dm-gta6-countdown__unit {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.dm-gta6-countdown__unit--days {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    align-items: end;
    justify-items: start;
    padding: 13px 14px;
}

.dm-gta6-countdown__unit strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.32rem);
    font-weight: 900;
    line-height: 1;
}

.dm-gta6-countdown__unit--days strong {
    font-size: clamp(2rem, 4vw, 2.65rem);
}

.dm-gta6-countdown__unit span {
    color: rgba(235, 242, 255, 0.62);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.dm-gta6-countdown__unit--days span {
    justify-self: end;
    padding-bottom: 5px;
}

@media (max-width: 980px) {
    .dm-game-hero--with-countdown .dm-game-hero__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .dm-game-hero--with-countdown .dm-game-hero__inner,
    .dm-gta6-countdown {
        grid-column: 1;
        grid-row: auto;
    }

    .dm-gta6-countdown {
        justify-self: center;
        width: min(420px, 100%);
        margin-top: 0;
    }
}

@media (max-width: 520px) {
    .dm-gta6-countdown {
        justify-self: start;
        width: calc(100% - 58px);
        padding: 14px;
        border-radius: 16px;
    }

    .dm-gta6-countdown__timer {
        gap: 7px;
    }

    .dm-gta6-countdown__unit {
        padding: 9px 4px;
    }

    .dm-gta6-countdown__unit--days {
        padding: 11px 12px;
    }
}
