
.slots-page {
    --slots-control-surface: #0F151B;
    --slots-control-surface-hover: #141C24;
    --slots-control-border: rgba(255, 255, 255, 0.05);
    --slot-hover-surface: #fff;
    --slot-hover-surface-ghost: rgba(255, 255, 255, 0.32);
    padding: 0 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.slots-header {
    display: none;
}

.slots-controls {
    margin-bottom: 24px;
}

.slots-search-wrapper {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.slots-search-box {
    display: flex;
    align-items: center;
    background: var(--slots-control-surface);
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px var(--slots-control-border);
    padding: 0 16px;
    height: 44px;
    transition: background 0.2s, box-shadow 0.2s;
    flex: 1;
}

.slots-search-box:focus-within {
    background: var(--slots-control-surface-hover);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.slots-search-icon {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    margin-right: 10px;
}

.slots-search-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    padding: 0;
    font-family: inherit;
}

.slots-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.slots-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.slots-search-clear:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.providers-dropdown-wrapper {
    position: relative;
}

.providers-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    height: 44px;
    border-radius: 10px;
    background: var(--slots-control-surface);
    border: none;
    box-shadow: inset 0 0 0 1px var(--slots-control-border);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.providers-dropdown-toggle:hover,
.providers-dropdown-toggle.active {
    background: var(--slots-control-surface-hover);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #fff;
}

.providers-dropdown-toggle .toggle-arrow {
    transition: transform 0.2s;
}

.providers-dropdown-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

.providers-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    max-height: 360px;
    overflow-y: auto;
    background: var(--slots-control-surface);
    border-radius: 12px;
    padding: 6px;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--slots-control-border);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.providers-dropdown-panel.open {
    display: block;
}

.providers-dropdown-panel::-webkit-scrollbar {
    width: 4px;
}

.providers-dropdown-panel::-webkit-scrollbar-track {
    background: transparent;
}

.providers-dropdown-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.slots-providers-filter {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.provider-btn {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: inherit;
    text-align: left;
}

.provider-btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.provider-btn-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider-btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    line-height: 1;
    flex-shrink: 0;
}

.provider-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.provider-btn.active {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.provider-btn.active .provider-btn-count {
    background: rgba(99, 102, 241, 0.22);
    color: #c7d2fe;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.slot-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.slot-card:hover {
    transform: none;
}

.slot-card:hover .slot-card-hover-overlay {
    opacity: 1;
    pointer-events: auto;
}

.slot-card:hover .slot-card-img,
.home-slot-card:hover .home-slot-img-wrapper img {
    filter: brightness(0.82) blur(1.8px);
}

.slot-card-fav {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s, transform 0.15s;
    padding: 0;
}

.slot-card-fav:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.slot-card-fav svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s;
}

.slot-card-fav.active svg {
    color: #ef4444;
    fill: #ef4444;
}

.favorites-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    height: 44px;
    border-radius: 10px;
    background: var(--slots-control-surface);
    border: none;
    box-shadow: inset 0 0 0 1px var(--slots-control-border);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.favorites-toggle-btn:hover {
    background: var(--slots-control-surface-hover);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #fff;
}

.favorites-toggle-btn.active {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.favorites-toggle-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.slot-play-fav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.slot-play-fav:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.slot-play-fav.active {
    color: #ef4444;
}

.slot-play-fav.active svg {
    fill: #ef4444;
    color: #ef4444;
}

.slot-card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 133.58%; /* 179/134 ratio */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    isolation: isolate;
}

.slot-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, filter 0.3s ease;
}

.slot-card-img.loaded {
    opacity: 1;
}

.slot-card-hover-overlay {
    --slot-hover-surface: rgba(239, 243, 247, 0.96);
    --slot-hover-surface-ghost: rgba(239, 243, 247, 0.32);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 5;
    padding: 12px;
    box-sizing: border-box;
    pointer-events: none;
    background: rgba(15, 21, 27, 0.78);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: inherit;
}

.slot-card:hover .slot-card-hover-overlay,
.home-slot-card:hover .slot-card-hover-overlay {
    pointer-events: auto;
}

.slot-hover-top-row {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.slot-hover-center {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-hover-center-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.slot-hover-icon-stack {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-hover-icon-stack::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--slot-hover-surface-ghost);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.28);
}

.slot-hover-icon-badge {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--slot-hover-surface);
    color: #111821;
}

.slot-hover-icon-badge svg {
    width: 22px;
    height: 22px;
    display: block;
}

.slot-hover-name {
    width: min(100%, 144px);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.slot-hover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    border: none;
    text-decoration: none;
    font-family: inherit;
    box-sizing: border-box;
}

.slot-hover-bottom-row {
    display: flex;
    width: 85%;
    gap: 5px;
    justify-content: center;
}

.slot-hover-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
}

.slot-hover-actions--single {
    grid-template-columns: minmax(0, 1fr);
}

.slot-hover-actions .slot-hover-btn {
    width: 100%;
}

.slot-hover-btn-play {
    background: #87E578;
    color: #0B0B0F;
}

.slot-hover-btn-play:hover {
    background: #9deb90;
}

.slot-hover-btn-demo,
.slot-hover-btn-soon {
    background: #fff;
    color: #0B0B0F;
}

.slot-hover-btn-demo:hover,
.slot-hover-btn-soon:hover {
    background: #e8e8e8;
}

.slot-hover-btn-demo {
    flex: 1;
    width: auto;
}

.slot-hover-bottom-row .slot-hover-btn-fav {
    width: 26px;
    min-width: 26px;
    min-height: 26px;
    height: 26px;
    flex: 0 0 26px;
    padding: 0;
    background: #fff;
    color: #0B0B0F;
}

.slot-hover-bottom-row .slot-hover-btn-fav:hover {
    background: #e8e8e8;
}

.slot-hover-bottom-row .slot-hover-btn-fav svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.slot-hover-bottom-row .slot-hover-btn-fav.active {
    color: #ef4444;
}

.slot-hover-btn-soon {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(19, 26, 34, 0.94);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.slot-hover-btn-soon:hover {
    background: rgba(26, 35, 45, 0.98);
}

.slot-hover-top-row .slot-hover-btn-fav {
    width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    padding: 0;
    margin-left: auto;
    background: var(--slot-hover-surface);
    color: #111821;
}

.slot-hover-top-row .slot-hover-btn-fav:hover {
    background: rgba(248, 250, 252, 0.98);
}

.slot-hover-top-row .slot-hover-btn-fav svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.78;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.slot-hover-top-row .slot-hover-btn-fav.active {
    background: var(--slot-hover-surface);
}

.slot-hover-top-row .slot-hover-btn-fav.active svg {
    color: #ef4444;
    fill: currentColor;
    opacity: 1;
}

.slot-card-overlay {
    display: none;
}

.slot-play-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.slot-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.slots-loading .slot-card.skeleton {
    aspect-ratio: 1 / 1;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.08) 18%, rgba(255,255,255,0.04) 33%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border-radius: 12px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.slot-card-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.08) 18%, rgba(255,255,255,0.04) 33%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    z-index: 1;
    border-radius: 10px;
    transition: opacity 0.4s ease;
}

.slot-card-skeleton.loaded {
    opacity: 0;
    pointer-events: none;
}

.slots-empty,
.slots-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

.slots-load-more {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.slots-load-more-btn {
    padding: 12px 40px;
    border-radius: 10px;
    background: var(--slots-control-surface);
    border: none;
    box-shadow: inset 0 0 0 1px var(--slots-control-border);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.slots-load-more-btn:hover {
    background: var(--slots-control-surface-hover);
}


.home-slots-section {
    margin-bottom: 32px;
}

.home-slot-category {
    margin-bottom: 26px;
}

.home-slot-category:last-child {
    margin-bottom: 0;
}

.home-slot-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-slot-category-title {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
}

.home-slot-category-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-slot-category-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.12s ease;
}

.home-slot-category-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-slot-category-nav-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

.home-slot-category-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
}

.home-slot-carousel {
    --home-slot-gap: 10px;
    display: flex;
    gap: var(--home-slot-gap);
    padding-top: 8px;
    margin-top: -8px;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
}

.home-slot-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.home-slot-carousel.is-dragging .home-slot-card {
    pointer-events: none;
}

.home-slot-carousel::-webkit-scrollbar {
    display: none;
}

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

.home-slots-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.home-slots-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    padding: 8px 18px;
    border-radius: 8px;
    background: #161922;
}

.home-slots-more:hover {
    background: #1e2230;
    color: rgba(255, 255, 255, 0.85);
}

.home-slots-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.home-slot-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease;
    text-decoration: none;
    display: block;
    position: relative;
    z-index: 0;
}

.home-slot-carousel .home-slot-card {
    flex: 0 0 calc((100% - (var(--home-slot-gap) * 6)) / 7);
    min-width: 150px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home-slot-card:hover {
    transform: none;
    z-index: 2;
}

.home-slot-card:hover .slot-card-hover-overlay {
    opacity: 1;
}

.home-slot-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    min-width: 36px;
    padding: 4px 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #69b6ff 0%, #4f8fff 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(79, 143, 255, 0.22);
}

.home-slot-card-badge--new {
    background: linear-gradient(135deg, #ff8b9c 0%, #ff657f 100%);
    box-shadow: 0 10px 22px rgba(255, 101, 127, 0.22);
}

.home-slot-card-badge--top {
    background: linear-gradient(135deg, #69b6ff 0%, #4f8fff 100%);
}

.home-slot-img-wrapper {
    width: 100%;
    padding-top: 133.58%; /* 179/134 ratio */
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.home-slot-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, filter 0.3s ease;
}

.home-slot-img-wrapper img.loaded {
    opacity: 1;
}

@media (max-width: 768px) {
    .slots-page {
        padding: 0 16px 32px;
    }

    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .home-slots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .home-slot-category {
        margin-bottom: 22px;
    }

    .home-slot-category-title {
        font-size: 18px;
    }

    .home-slot-category-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .home-slot-carousel {
        --home-slot-gap: 6px;
    }

    .home-slot-carousel .home-slot-card {
        flex-basis: calc((100% - (var(--home-slot-gap) * 3)) / 4);
        min-width: 120px;
    }

    .slots-search-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .slots-search-box {
        flex: 1;
        height: 40px;
    }

    .favorites-toggle-btn {
        height: 40px;
        padding: 0 12px;
        font-size: 0;
        gap: 0;
    }

    .favorites-toggle-btn svg {
        width: 18px;
        height: 18px;
    }

    .providers-dropdown-toggle {
        height: 40px;
        padding: 0 12px;
        font-size: 0.8rem;
        gap: 6px;
        white-space: nowrap;
    }

    .providers-dropdown-toggle svg {
        width: 18px;
        height: 18px;
    }

    .providers-dropdown-toggle .toggle-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .home-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .home-slot-category-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .home-slot-category-title {
        font-size: 16px;
    }

    .home-slot-category-nav-btn {
        width: 34px;
        height: 34px;
    }

    .home-slot-carousel {
        --home-slot-gap: 4px;
    }

    .home-slot-carousel .home-slot-card {
        flex-basis: calc((100% - (var(--home-slot-gap) * 2)) / 3);
        min-width: 104px;
    }

    .home-slot-card-badge {
        top: 6px;
        right: 6px;
        min-width: 32px;
        padding: 3px 7px;
        border-radius: 7px;
        font-size: 9px;
    }

    .provider-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Codex homepage slot palette surfaces */
.home-slots-section {
    margin-bottom: 32px;
}

.home-slot-category {
    margin-bottom: 26px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.home-slot-category-header {
    margin-bottom: 16px;
}

.home-slot-category-title {
    color: var(--theme-text-primary);
}

.home-slot-category-nav-btn,
.home-slots-more {
    background: var(--theme-sidebar-item);
    color: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px var(--theme-border-soft);
}

.home-slot-category-nav-btn {
    background: #131A22;
    color: #fff;
    box-shadow: none;
    border-radius: 0;
}

.home-slot-category-nav {
    gap: 6px;
}

.home-slot-category-nav-btn:first-child {
    border-radius: 12px 0 0 12px;
}

.home-slot-category-nav-btn:last-child {
    border-radius: 0 12px 12px 0;
}

.home-slot-category-nav-btn:hover,
.home-slots-more:hover {
    background: var(--theme-panel-subtle);
    color: var(--theme-text-primary);
}

.home-slot-category-nav-btn:hover {
    background: #18212b;
    color: #fff;
}

.home-slot-category-nav-btn:active {
    transform: translateY(1px) scale(0.96);
}

.home-slot-category-nav-btn:disabled:hover {
    background: #131A22;
    color: #fff;
}

.home-slot-card {
    border-radius: 14px;
}

.home-slot-card .home-slot-img-wrapper {
    box-shadow: inset 0 0 0 1px var(--theme-border-soft);
}

.home-slot-card:nth-child(odd) .home-slot-img-wrapper {
    background: var(--theme-card-odd);
}

.home-slot-card:nth-child(even) .home-slot-img-wrapper {
    background: var(--theme-card-even);
}

.home-slot-card:hover {
    transform: none;
}

.slot-card-hover-overlay {
    --slot-hover-surface: rgba(239, 243, 247, 0.96);
    --slot-hover-surface-ghost: rgba(239, 243, 247, 0.32);
    background: rgba(15, 21, 27, 0.78);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.slot-hover-btn-play {
    background: #b9ff66;
    color: #0b0f13;
}

.slot-hover-btn-play:hover {
    background: #c6ff82;
}

.slot-hover-btn-demo {
    background: var(--slot-hover-surface);
    color: #111821;
}

.slot-hover-top-row .slot-hover-btn-fav,
.slot-hover-top-row .slot-hover-btn-fav.active {
    background: var(--slot-hover-surface);
    color: #111821;
}

.slot-hover-btn-demo:hover,
.slot-hover-top-row .slot-hover-btn-fav:hover {
    background: rgba(248, 250, 252, 0.98);
}

.slot-hover-btn-soon:hover {
    background: rgba(26, 35, 45, 0.98);
}

.slot-hover-btn-soon {
    background: rgba(19, 26, 34, 0.94);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Match the wallet accent and keep the slots controls borderless. */
.slots-search-box,
.slots-search-box:focus-within,
.favorites-toggle-btn,
.favorites-toggle-btn:hover,
.favorites-toggle-btn.active,
.providers-dropdown-toggle,
.providers-dropdown-toggle:hover,
.providers-dropdown-toggle.active,
.slots-load-more-btn,
.slots-load-more-btn:hover {
    border: none;
    outline: none;
    box-shadow: none;
}

.providers-dropdown-panel {
    border: none;
    outline: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.provider-btn.active {
    background: rgba(209, 255, 130, 0.15);
    color: #D1FF82;
}

.provider-btn.active .provider-btn-count {
    background: rgba(209, 255, 130, 0.22);
    color: #D1FF82;
}

.slot-card-skeleton {
    background: linear-gradient(110deg, rgba(25, 33, 42, 0.92) 8%, rgba(30, 39, 48, 1) 18%, rgba(19, 26, 34, 0.92) 33%);
    background-size: 200% 100%;
}
