/* ================================================================
   Habba CMS — Shop Shared Styles
   Works across all themes (habba, og, classic, modern).
   ================================================================ */

/* ----------------------------------------------------------------
   SHOP CONTAINER
   ---------------------------------------------------------------- */
.cms-shop {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Ubuntu', 'Segoe UI', Arial, sans-serif;
}

/* ----------------------------------------------------------------
   SHOP HEADER BAR
   ---------------------------------------------------------------- */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shop-header__title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.shop-header__icon {
    font-size: 22px;
}
.shop-header__text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.shop-header__balance {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    padding: 6px 14px;
    border-radius: 20px;
}
.shop-header__token-icon {
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(0,200,255,0.4));
}
.shop-header__token-amount {
    font-size: 16px;
    font-weight: 700;
    color: #b0d4ff;
}
.shop-header__token-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----------------------------------------------------------------
   TAB NAV
   ---------------------------------------------------------------- */
.shop-tabs {
    display: flex;
    gap: 0;
    background: #12122a;
    border-bottom: 2px solid rgba(255,255,255,0.06);
    overflow-x: auto;
}
.shop-tab {
    flex: 1;
    min-width: 0;
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}
.shop-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.03);
}
.shop-tab.active {
    color: #fff;
    border-bottom-color: #6366f1;
    background: rgba(99,102,241,0.08);
}

/* ----------------------------------------------------------------
   PANEL VISIBILITY
   ---------------------------------------------------------------- */
.shop-panel {
    display: none;
    background: #14142a;
    padding: 24px 20px;
    border-radius: 0 0 8px 8px;
}
.shop-panel.active {
    display: block;
}

/* ----------------------------------------------------------------
   HOME TAB
   ---------------------------------------------------------------- */
.shop-home__welcome {
    text-align: center;
    margin-bottom: 24px;
}
.shop-home__welcome h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.shop-home__welcome p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.shop-home__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.shop-home__card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.shop-home__card:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.2);
    transform: translateY(-2px);
}
.shop-home__card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}
.shop-home__card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.shop-home__card p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}
.shop-home__balance-bar {
    text-align: center;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.12);
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.shop-home__balance-bar strong {
    color: #b0d4ff;
}

/* ----------------------------------------------------------------
   BUY TOKENS TAB
   ---------------------------------------------------------------- */
.shop-tokens h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.shop-tokens__subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 20px;
}
.shop-tokens__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.shop-token-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.2s ease;
}
.shop-token-card:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.06);
    transform: translateY(-2px);
}
.shop-token-card__amount {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.shop-token-card__label {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.shop-token-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 12px;
}
.shop-token-card__btn {
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.shop-token-card__btn:hover {
    filter: brightness(1.15);
}

/* ----------------------------------------------------------------
   BUY PACKAGES TAB
   ---------------------------------------------------------------- */
.shop-packages {
    display: flex;
    gap: 20px;
}
.shop-packages__main {
    flex: 1;
    min-width: 0;
}
.shop-packages__main h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.shop-packages__subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0 0 20px;
}
.shop-packages__empty {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
.shop-packages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.shop-pkg-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.shop-pkg-card:hover {
    border-color: rgba(99,102,241,0.25);
}
.shop-pkg-card__img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.shop-pkg-card__img img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}
.shop-pkg-card__img--placeholder {
    font-size: 40px;
    color: rgba(255,255,255,0.15);
}
.shop-pkg-card__body {
    padding: 14px 16px;
}
.shop-pkg-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.shop-pkg-card__desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 8px;
    line-height: 1.4;
}
.shop-pkg-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.shop-pkg-card__reward {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    color: rgba(255,255,255,0.6);
}
.shop-pkg-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shop-pkg-card__cost {
    font-size: 14px;
    font-weight: 700;
    color: #a78bfa;
}
.shop-pkg-card__add {
    padding: 6px 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shop-pkg-card__add:hover {
    filter: brightness(1.15);
}
.shop-pkg-card__add.in-cart {
    background: #22c55e;
}

/* ----------------------------------------------------------------
   CART SIDEBAR
   ---------------------------------------------------------------- */
.shop-cart {
    width: 280px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 16px;
    align-self: flex-start;
    position: sticky;
    top: 20px;
}
.shop-cart__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.shop-cart__empty {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 20px 0;
}
.shop-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.shop-cart__item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-cart__item-cost {
    font-weight: 700;
    color: #a78bfa;
    margin: 0 8px;
    white-space: nowrap;
}
.shop-cart__item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
}
.shop-cart__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.shop-cart__total {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    text-align: right;
}
.shop-cart__total strong {
    color: #fff;
}
.shop-cart__buy {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shop-cart__buy:hover {
    filter: brightness(1.15);
}
.shop-cart__buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----------------------------------------------------------------
   SLOTS TAB — Pixel Art Style
   ---------------------------------------------------------------- */
.shop-slots__disabled {
    padding: 40px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
.shop-slots__layout {
    display: flex;
    gap: 16px;
}
.shop-slots__machine {
    flex: 1;
    min-width: 0;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    image-rendering: pixelated;
}
.shop-slots__header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1a1a3e, #0f0f2a);
    border-bottom: 2px solid rgba(255,255,255,0.06);
}
.shop-slots__logo {
    font-size: 22px;
    image-rendering: pixelated;
}
.shop-slots__title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(99,102,241,0.5);
    font-family: 'Press Start 2P', 'Courier New', monospace;
}
.shop-slots__balance-display {
    display: flex;
    align-items: center;
    gap: 6px;
}
.shop-slots__diamond-icon {
    font-size: 14px;
}
.shop-slots__balance-val {
    font-size: 14px;
    font-weight: 700;
    color: #b0d4ff;
}

/* Big Wins Banner */
.shop-slots__bigwins {
    padding: 10px 16px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.shop-slots__bigwins-label {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(74,222,128,0.4);
}
.shop-slots__bigwins-signs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.shop-slots__sign {
    background: linear-gradient(180deg, #3d2b1f, #2a1d14);
    border: 2px solid #5a3d2b;
    border-radius: 4px;
    padding: 4px 10px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    image-rendering: pixelated;
}
.shop-slots__sign-name {
    display: block;
    font-size: 9px;
    color: #d4a57b;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}
.shop-slots__sign-amount {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #4ade80;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

/* Reel Area */
.shop-slots__reels-area {
    padding: 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.3));
    position: relative;
}
.shop-slots__reel-frame {
    display: flex;
    gap: 6px;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(99,102,241,0.2);
    border-radius: 6px;
    padding: 12px 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}

/* ---- Payline Indicators ---- */
.shop-slots__paylines {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}
.shop-slots__payline {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}
.shop-slots__payline > span {
    position: absolute;
    left: -14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
/* Line 1 = middle row (green) — at center of reel (16px padding + 12px frame pad + 100px center) */
.shop-slots__payline--1 {
    top: calc(16px + 12px + 100px);
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74,222,128,0.5);
}
.shop-slots__payline--1 > span { background: #4ade80; color: #000; }
/* Line 2 = top row (yellow) — at 1/3 of reel height */
.shop-slots__payline--2 {
    top: calc(16px + 12px + 33px);
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251,191,36,0.5);
}
.shop-slots__payline--2 > span { background: #fbbf24; color: #000; }
/* Line 3 = bottom row (cyan) — at 2/3 of reel height */
.shop-slots__payline--3 {
    top: calc(16px + 12px + 167px);
    background: #22d3ee;
    box-shadow: 0 0 8px rgba(34,211,238,0.5);
}
.shop-slots__payline--3 > span { background: #22d3ee; color: #000; }

.shop-slots__payline.active {
    opacity: 0.6;
}
.shop-slots__payline.winning {
    opacity: 1;
    animation: paylineFlash 0.5s ease-in-out 3;
    height: 4px;
}
@keyframes paylineFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---- Line Selection Buttons ---- */
.shop-slots__lines {
    display: flex;
    align-items: center;
    gap: 4px;
}
.shop-slots__lines-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 4px;
    font-weight: 700;
}
.shop-slots__line-btn {
    width: 30px;
    height: 26px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shop-slots__line-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.shop-slots__line-btn.active {
    background: #6366f1;
    border-color: #818cf8;
    color: #fff;
}
.shop-slots__reel {
    width: 80px;
    height: 200px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 4px;
    position: relative;
}
.shop-slots__reel::before,
.shop-slots__reel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}
.shop-slots__reel::before {
    top: 0;
    background: linear-gradient(180deg, rgba(20,20,42,0.9), transparent);
}
.shop-slots__reel::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(20,20,42,0.9), transparent);
}
.shop-slots__reel-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease;
}
.shop-slots__reel-inner.spinning {
    transition: none;
}
.shop-slots__symbol {
    width: 80px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- HABBO-STYLE CURRENCY ICONS (CSS-based pixel art) ---- */
.shop-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    flex-shrink: 0;
}
.shop-icon--lg {
    width: 24px;
    height: 24px;
}
.shop-icon--xl {
    width: 32px;
    height: 32px;
}
.shop-icon--token {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='4' y='1' width='8' height='14' rx='4' fill='%23f5a623'/%3E%3Crect x='5' y='2' width='6' height='12' rx='3' fill='%23ffd54f'/%3E%3Crect x='6' y='4' width='4' height='1' fill='%23f5a623'/%3E%3Crect x='7' y='5' width='2' height='5' fill='%23f5a623'/%3E%3Crect x='6' y='10' width='4' height='1' fill='%23f5a623'/%3E%3C/svg%3E");
}
.shop-icon--diamond {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpolygon points='8,2 14,7 8,14 2,7' fill='%2364b5f6'/%3E%3Cpolygon points='8,2 11,7 8,14 5,7' fill='%2390caf9'/%3E%3Cpolygon points='2,7 8,2 8,7' fill='%23bbdefb'/%3E%3Cpolygon points='8,7 14,7 8,2' fill='%2342a5f5'/%3E%3C/svg%3E");
}
.shop-icon--cart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 1h2l1 2h10l-2 6H5L3 3H1z' fill='%239e9e9e'/%3E%3Cpath d='M4 3h10l-2 6H5z' fill='%23bdbdbd'/%3E%3Ccircle cx='6' cy='12' r='1.5' fill='%23757575'/%3E%3Ccircle cx='11' cy='12' r='1.5' fill='%23757575'/%3E%3C/svg%3E");
}
.shop-icon--slots {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='2' y='2' width='12' height='12' rx='2' fill='%23e53935'/%3E%3Crect x='3' y='3' width='10' height='10' rx='1' fill='%23ef5350'/%3E%3Crect x='4' y='4' width='2' height='6' fill='%23fff'/%3E%3Crect x='7' y='4' width='2' height='6' fill='%23fff'/%3E%3Crect x='10' y='4' width='2' height='6' fill='%23fff'/%3E%3C/svg%3E");
}
.shop-icon--pkg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='2' y='5' width='12' height='9' rx='1' fill='%238d6e63'/%3E%3Crect x='1' y='3' width='14' height='3' rx='1' fill='%23a1887f'/%3E%3Crect x='7' y='3' width='2' height='11' fill='%23ffb300'/%3E%3C/svg%3E");
}

/* ---- PIXEL ART SLOT ICONS (Habbo Furniture Sprites) ---- */
.slots-pixel-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.08);
}
.slots-pixel-icon--sm {
    width: 28px;
    height: 28px;
}

.slots-pixel-icon--snorkel {
    background-color: #1a2d4d;
    background-image: url('../img/slots/snorkel.png');
}
.slots-pixel-icon--cocktail {
    background-color: #3a1a05;
    background-image: url('../img/slots/cocktail.png');
}
.slots-pixel-icon--shell {
    background-color: #0d2e25;
    background-image: url('../img/slots/shell.png');
}
.slots-pixel-icon--surfboard {
    background-color: #1a2d4d;
    background-image: url('../img/slots/surfboard.png');
}
.slots-pixel-icon--parasol {
    background-color: #4d1a2d;
    background-image: url('../img/slots/parasol.png');
}
.slots-pixel-icon--floatring {
    background-color: #2d1a4d;
    background-image: url('../img/slots/floatring.png');
}
.slots-pixel-icon--fish {
    background-color: #0d2039;
    background-image: url('../img/slots/fish.png');
}
.slots-pixel-icon--wild {
    background-color: rgba(99,102,241,0.25);
    background-image: url('../img/slots/wild.png');
    border-color: #4338ca;
    animation: slots-wild-pulse 1.5s ease-in-out infinite;
}
.slots-pixel-icon--scatter {
    background-color: rgba(234,179,8,0.2);
    background-image: url('../img/slots/scatter.png');
    border-color: #a16207;
}
.slots-pixel-icon--goldenfish {
    background-color: rgba(251,191,36,0.2);
    background-image: url('../img/slots/goldenfish.png');
    border-color: #92400e;
}

/* ---- CASINO CLASH ICONS (Real Habbo Furni Sprites) ---- */
.slots-pixel-icon--dino {
    background-color: #1a3318;
    background-image: url('../img/slots/dino.gif');
}
.slots-pixel-icon--typewriter {
    background-color: #2d1f14;
    background-image: url('../img/slots/typewriter.gif');
}
.slots-pixel-icon--throne {
    background-color: #3b2510;
    background-image: url('../img/slots/throne.gif');
}
.slots-pixel-icon--sword {
    background-color: #1e293b;
    background-image: url('../img/slots/sword.gif');
}
.slots-pixel-icon--shield {
    background-color: #172554;
    background-image: url('../img/slots/shield.gif');
}
.slots-pixel-icon--chalice {
    background-color: #422006;
    background-image: url('../img/slots/chalice.gif');
}
.slots-pixel-icon--dragon {
    background-color: #450a0a;
    background-image: url('../img/slots/dragon.gif');
}
.slots-pixel-icon--warwild {
    background-color: rgba(168,85,247,0.25);
    background-image: url('../img/slots/warwild.gif');
    border-color: #7c3aed;
    animation: slots-clash-wild-pulse 1.5s ease-in-out infinite;
}
.slots-pixel-icon--warchest {
    background-color: rgba(251,191,36,0.2);
    background-image: url('../img/slots/warchest.gif');
    border-color: #92400e;
}
.slots-pixel-icon--warcrown {
    background-color: rgba(251,191,36,0.25);
    background-image: url('../img/slots/warcrown.gif');
    border-color: #b45309;
}

@keyframes slots-clash-wild-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(168,85,247,0.4); }
    50% { box-shadow: 0 0 12px rgba(168,85,247,0.8); }
}

/* ---- PHANTOM FORTUNE ICONS (Pixel Art) ---- */
.slots-pixel-icon--ghost {
    background-color: #1a1a2e;
    background-image: url('../img/slots/ghost_px.svg');
}
.slots-pixel-icon--potion {
    background-color: #1e0a3a;
    background-image: url('../img/slots/potion_px.svg');
}
.slots-pixel-icon--crystal {
    background-color: #0c1445;
    background-image: url('../img/slots/crystal_px.svg');
}
.slots-pixel-icon--candle {
    background-color: #1c1917;
    background-image: url('../img/slots/candle_px.svg');
}
.slots-pixel-icon--skull {
    background-color: #1a1a1a;
    background-image: url('../img/slots/skull_px.svg');
}
.slots-pixel-icon--bat {
    background-color: #1a0a2e;
    background-image: url('../img/slots/bat_px.svg');
}
.slots-pixel-icon--spider {
    background-color: #111111;
    background-image: url('../img/slots/spider_px.svg');
}
.slots-pixel-icon--phantomwild {
    background-color: rgba(34,197,94,0.2);
    background-image: url('../img/slots/phantomwild_px.svg');
    border-color: #16a34a;
    animation: slots-phantom-wild-pulse 1.5s ease-in-out infinite;
}
.slots-pixel-icon--spellbook {
    background-color: rgba(124,58,237,0.2);
    background-image: url('../img/slots/spellbook_px.svg');
    border-color: #7c3aed;
}
.slots-pixel-icon--phantomgem {
    background-color: rgba(168,85,247,0.25);
    background-image: url('../img/slots/phantomgem_px.svg');
    border-color: #7c3aed;
}

@keyframes slots-phantom-wild-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 12px rgba(34,197,94,0.8); }
}

/* ---- NEON NIGHTS ICONS (Pixel Art) ---- */
.slots-pixel-icon--neoncherry {
    background-color: #1a0a12;
    background-image: url('../img/slots/neoncherry.svg');
}
.slots-pixel-icon--neondice {
    background-color: #0a1a2e;
    background-image: url('../img/slots/neondice.svg');
}
.slots-pixel-icon--neonbar {
    background-color: #1a0a2e;
    background-image: url('../img/slots/neonbar.svg');
}
.slots-pixel-icon--neonseven {
    background-color: #2a0a1e;
    background-image: url('../img/slots/neonseven.svg');
}
.slots-pixel-icon--neondiamond {
    background-color: #0a1528;
    background-image: url('../img/slots/neondiamond.svg');
}
.slots-pixel-icon--neonstar {
    background-color: #1a1505;
    background-image: url('../img/slots/neonstar.svg');
}
.slots-pixel-icon--neoncoin {
    background-color: #1a1208;
    background-image: url('../img/slots/neoncoin.svg');
}
.slots-pixel-icon--neonheart {
    background-color: #1a0a14;
    background-image: url('../img/slots/neonheart.svg');
}
.slots-pixel-icon--neonwild {
    background-color: rgba(139,92,246,0.25);
    background-image: url('../img/slots/neonwild.svg');
    border-color: #8b5cf6;
    animation: slots-neon-wild-pulse 1.2s ease-in-out infinite;
}
.slots-pixel-icon--neonbolt {
    background-color: rgba(251,191,36,0.2);
    background-image: url('../img/slots/neonbolt.svg');
    border-color: #f59e0b;
}
.slots-pixel-icon--neoncrown {
    background-color: rgba(45,212,191,0.2);
    background-image: url('../img/slots/neoncrown.svg');
    border-color: #14b8a6;
}

@keyframes slots-neon-wild-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(139,92,246,0.4); }
    50% { box-shadow: 0 0 14px rgba(139,92,246,0.9), 0 0 20px rgba(236,72,153,0.3); }
}

/* ---- GAME SELECTOR ---- */
.shop-slots__game-selector {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
}
.shop-slots__game-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 8px;
}
.shop-slots__game-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}
.shop-slots__game-btn.active {
    background: rgba(99,102,241,0.2);
    border-color: rgba(99,102,241,0.4);
    color: #c4b5fd;
    box-shadow: 0 0 8px rgba(99,102,241,0.15);
}
.shop-slots__game-btn .slots-pixel-icon {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 3px;
}

/* Game-specific machine theming */
/* --- Beach (Habba Slots default) --- */
.shop-slots[data-game-theme="beach"] .shop-slots__machine {
    background: linear-gradient(180deg, rgba(14,35,64,0.95) 0%, rgba(8,22,48,0.98) 100%);
}
.shop-slots[data-game-theme="beach"] .shop-slots__header-bar {
    background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(59,130,246,0.2));
}
.shop-slots[data-game-theme="beach"] .shop-slots__reel-frame {
    box-shadow: inset 0 0 30px rgba(59,130,246,0.08);
}

/* --- Clash (Casino Clash) --- */
.shop-slots[data-game-theme="clash"] .shop-slots__machine {
    background: linear-gradient(180deg, rgba(69,10,10,0.95) 0%, rgba(30,8,5,0.98) 100%);
}
.shop-slots[data-game-theme="clash"] .shop-slots__header-bar {
    background: linear-gradient(135deg, rgba(120,53,15,0.5), rgba(69,10,10,0.5));
}
.shop-slots[data-game-theme="clash"] .shop-slots__reel-frame {
    border-color: rgba(251,191,36,0.2);
    box-shadow: inset 0 0 30px rgba(251,191,36,0.06);
}
.shop-slots[data-game-theme="clash"] .shop-slots__reel {
    border-color: rgba(251,191,36,0.12);
}
.shop-slots[data-game-theme="clash"] .shop-slots__jackpot-pool--major {
    background: linear-gradient(135deg, rgba(190,24,93,0.2), rgba(120,53,15,0.2));
}
.shop-slots[data-game-theme="clash"] .shop-slots__spin-btn {
    background: linear-gradient(135deg, #b45309, #dc2626);
    border-color: rgba(251,191,36,0.5);
}
.shop-slots[data-game-theme="clash"] .shop-slots__controls {
    background: rgba(30,8,5,0.4);
}
.shop-slots[data-game-theme="clash"] .shop-slots__game-btn.active {
    background: rgba(251,191,36,0.15);
    border-color: rgba(251,191,36,0.4);
    color: #fcd34d;
}
.shop-slots[data-game-theme="clash"] .shop-slots__bet-btn.active {
    background: rgba(251,191,36,0.2);
    border-color: rgba(251,191,36,0.4);
    color: #fcd34d;
}
.shop-slots[data-game-theme="clash"] .shop-slots__mode-btn.active {
    background: rgba(251,191,36,0.2);
    border-color: rgba(251,191,36,0.4);
    color: #fcd34d;
}

/* --- Phantom (Phantom Fortune) --- */
.shop-slots[data-game-theme="phantom"] .shop-slots__machine {
    background: linear-gradient(180deg, rgba(30,10,58,0.95) 0%, rgba(5,15,8,0.98) 100%);
}
.shop-slots[data-game-theme="phantom"] .shop-slots__header-bar {
    background: linear-gradient(135deg, rgba(30,10,58,0.6), rgba(5,46,22,0.4));
}
.shop-slots[data-game-theme="phantom"] .shop-slots__reel-frame {
    border-color: rgba(124,58,237,0.2);
    box-shadow: inset 0 0 30px rgba(124,58,237,0.06);
}
.shop-slots[data-game-theme="phantom"] .shop-slots__reel {
    border-color: rgba(124,58,237,0.12);
}
.shop-slots[data-game-theme="phantom"] .shop-slots__jackpot-pool--major {
    background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(34,197,94,0.1));
}
.shop-slots[data-game-theme="phantom"] .shop-slots__spin-btn {
    background: linear-gradient(135deg, #7c3aed, #059669);
    border-color: rgba(124,58,237,0.5);
}
.shop-slots[data-game-theme="phantom"] .shop-slots__controls {
    background: rgba(15,5,30,0.4);
}
.shop-slots[data-game-theme="phantom"] .shop-slots__game-btn.active {
    background: rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.4);
    color: #c4b5fd;
}
.shop-slots[data-game-theme="phantom"] .shop-slots__bet-btn.active {
    background: rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.4);
    color: #c4b5fd;
}
.shop-slots[data-game-theme="phantom"] .shop-slots__mode-btn.active {
    background: rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.4);
    color: #c4b5fd;
}

/* --- Neon (Neon Nights) --- */
.shop-slots[data-game-theme="neon"] .shop-slots__machine {
    background: linear-gradient(180deg, rgba(15,5,30,0.97) 0%, rgba(10,5,25,0.99) 100%);
}
.shop-slots[data-game-theme="neon"] .shop-slots__header-bar {
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(236,72,153,0.2));
}
.shop-slots[data-game-theme="neon"] .shop-slots__reel-frame {
    border-color: rgba(236,72,153,0.25);
    box-shadow: inset 0 0 30px rgba(139,92,246,0.08), inset 0 0 60px rgba(236,72,153,0.04);
}
.shop-slots[data-game-theme="neon"] .shop-slots__reel {
    border-color: rgba(139,92,246,0.15);
}
.shop-slots[data-game-theme="neon"] .shop-slots__jackpot-pool--major {
    background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(139,92,246,0.15));
}
.shop-slots[data-game-theme="neon"] .shop-slots__spin-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: rgba(236,72,153,0.5);
}
.shop-slots[data-game-theme="neon"] .shop-slots__controls {
    background: rgba(10,5,25,0.5);
}
.shop-slots[data-game-theme="neon"] .shop-slots__game-btn.active {
    background: rgba(236,72,153,0.15);
    border-color: rgba(236,72,153,0.4);
    color: #f9a8d4;
}
.shop-slots[data-game-theme="neon"] .shop-slots__bet-btn.active {
    background: rgba(236,72,153,0.2);
    border-color: rgba(236,72,153,0.4);
    color: #f9a8d4;
}
.shop-slots[data-game-theme="neon"] .shop-slots__mode-btn.active {
    background: rgba(236,72,153,0.2);
    border-color: rgba(236,72,153,0.4);
    color: #f9a8d4;
}
.shop-slots[data-game-theme="neon"] .shop-slots__title {
    text-shadow: 0 0 8px rgba(236,72,153,0.6), 0 0 16px rgba(139,92,246,0.3);
}

/* Mute button */
.shop-slots__mute-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    flex-shrink: 0;
}
.shop-slots__mute-btn:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.shop-slots__mute-btn.muted {
    color: #ef4444;
    border-color: rgba(239,68,68,0.3);
}

@keyframes slots-wild-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(99,102,241,0.4); }
    50% { box-shadow: 0 0 12px rgba(99,102,241,0.8); }
}

/* Controls */
.shop-slots__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
}
.shop-slots__bets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.shop-slots__bet-btn {
    padding: 6px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 9px;
}
.shop-slots__bet-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.shop-slots__bet-btn.active {
    background: rgba(99,102,241,0.3);
    border-color: rgba(99,102,241,0.5);
    color: #fff;
}

/* Mode toggle (Token / Diamond) */
.shop-slots__mode-toggle {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.shop-slots__mode-btn {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}
.shop-slots__mode-btn:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.shop-slots__mode-btn.active {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.5);
    color: #c4b5fd;
    box-shadow: 0 0 8px rgba(99,102,241,0.2);
}

/* Free spin button glow */
.shop-slots__spin-btn.free-spin {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(16,185,129,0.6);
    animation: free-spin-glow 1s ease infinite;
}
@keyframes free-spin-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(16,185,129,0.3); }
    50% { box-shadow: 0 0 20px rgba(16,185,129,0.6); }
}

.shop-slots__spin-btn {
    padding: 10px 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: 2px solid rgba(99,102,241,0.5);
    border-radius: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}
.shop-slots__spin-btn:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}
.shop-slots__spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.shop-slots__spin-btn.spinning {
    animation: slots-spin-pulse 0.3s ease infinite;
}
@keyframes slots-spin-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.97); }
}

/* Result message */
.shop-slots__result {
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.shop-slots__result.win {
    color: #4ade80;
    background: rgba(74,222,128,0.08);
}
.shop-slots__result.lose {
    color: #f87171;
    background: rgba(248,113,113,0.06);
}

/* Sidebar */
.shop-slots__sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-slots__info-section {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 12px;
}
.shop-slots__info-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 11px;
}
.shop-slots__info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.shop-slots__info-row:last-child {
    border-bottom: none;
}
.shop-slots__info-text {
    flex: 1;
}
.shop-slots__info-text strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 2px;
}
.shop-slots__info-text span {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* Paytable */
.shop-slots__pay-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.shop-slots__pay-row:last-child {
    border-bottom: none;
}
.shop-slots__pay-name {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    min-width: 65px;
}
.shop-slots__pay-vals {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: flex-end;
}
.shop-slots__pay-mult {
    padding: 2px 6px;
    border-radius: 3px;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 9px;
}
.shop-slots__pay-mult.mid {
    color: #60a5fa;
    background: rgba(96,165,250,0.1);
}
.shop-slots__pay-mult.high {
    color: #f59e0b;
    background: rgba(245,158,11,0.1);
}

/* Recent Spins */
.shop-slots__recent-empty {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    padding: 10px 0;
}
.shop-slots__recent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.shop-slots__recent-row:last-child {
    border-bottom: none;
}
.shop-slots__recent-label {
    color: rgba(255,255,255,0.4);
}
.shop-slots__recent-val {
    font-weight: 700;
}
.shop-slots__recent-val.positive {
    color: #4ade80;
}
.shop-slots__recent-val.negative {
    color: #f87171;
}

/* View All History button */
.shop-slots__recent-viewall {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.shop-slots__recent-viewall:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

/* Spin History Modal */
.shop-modal--wide { max-width: 560px; }
.shop-slots__history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.shop-slots__history-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.shop-slots__history-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.7);
}
.shop-slots__history-table td.positive { color: #4ade80; font-weight: 600; }
.shop-slots__history-table td.negative { color: #f87171; font-weight: 600; }
.shop-slots__history-table td.muted { color: rgba(255,255,255,0.3); font-size: 11px; }

/* ----------------------------------------------------------------
   MODALS
   ---------------------------------------------------------------- */
.shop-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.shop-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.shop-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shop-modal__header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.shop-modal__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.shop-modal__body {
    padding: 20px;
}
.shop-modal__amount-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px;
}
.shop-modal__methods h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin: 0 0 10px;
}
.shop-modal__method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.shop-modal__method {
    padding: 14px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.shop-modal__method:hover,
.shop-modal__method.selected {
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.1);
    color: #fff;
}
.shop-modal__method-icon {
    font-size: 22px;
}
.shop-modal__placeholder {
    text-align: center;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}
.shop-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.shop-modal__cancel {
    padding: 8px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shop-modal__cancel:hover {
    background: rgba(255,255,255,0.1);
}
.shop-modal__confirm {
    padding: 8px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.shop-modal__confirm:hover {
    filter: brightness(1.15);
}
.shop-modal__confirm-total {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 12px 0 4px;
}
.shop-modal__balance-note {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
    .shop-home__cards {
        grid-template-columns: 1fr;
    }
    .shop-packages {
        flex-direction: column;
    }
    .shop-cart {
        width: 100%;
        position: static;
    }
    .shop-slots__layout {
        flex-direction: column;
    }
    .shop-slots__sidebar {
        width: 100%;
    }
    .shop-slots__reel {
        width: 56px;
        height: 160px;
    }
    .shop-slots__symbol {
        width: 56px;
        height: 54px;
    }
    .slots-pixel-icon {
        width: 32px;
        height: 32px;
    }
    .slots-pixel-icon::after {
        font-size: 20px !important;
    }
    .shop-modal__method-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Jackpot Display ===== */
.shop-slots__jackpot {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 12px 0;
}
.shop-slots__jackpot-pool {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: 2px solid;
    min-width: 160px;
    justify-content: center;
}
.shop-slots__jackpot-pool--minor {
    background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(245,158,11,0.08));
    border-color: rgba(251,191,36,0.35);
    color: #fbbf24;
}
.shop-slots__jackpot-pool--major {
    background: linear-gradient(135deg, rgba(239,68,68,0.14), rgba(220,38,38,0.08));
    border-color: rgba(239,68,68,0.35);
    color: #ef4444;
}
.shop-slots__jackpot-pool .jackpot-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}
.shop-slots__jackpot-pool .jackpot-amount {
    font-size: 18px;
}

/* Jackpot win celebration */
.shop-slots__result.jackpot-win--major {
    color: #ef4444;
    background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(220,38,38,0.08));
    font-size: 18px;
    animation: jackpotPulse 0.6s ease-in-out 3;
}
.shop-slots__result.jackpot-win--minor {
    color: #fbbf24;
    background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.08));
    font-size: 16px;
    animation: jackpotPulse 0.8s ease-in-out 2;
}
@keyframes jackpotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ----------------------------------------------------------------
   FONT IMPORT for pixel art text (used in slots)
   ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ----------------------------------------------------------------
   WIN FLASH ANIMATION
   ---------------------------------------------------------------- */
.win-flash {
    animation: winFlash 0.6s ease-in-out;
    display: inline-block;
}
.shop-slots__result.big-win .win-flash {
    animation: bigWinFlash 0.8s ease-in-out;
    font-size: 16px;
}
@keyframes winFlash {
    0% { opacity: 0; transform: scale(0.7); }
    40% { opacity: 1; transform: scale(1.12); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}
@keyframes bigWinFlash {
    0% { opacity: 0; transform: scale(0.5); }
    30% { opacity: 1; transform: scale(1.2); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.shop-slots__result.big-win {
    color: #fbbf24;
    background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(234,179,8,0.06));
}

/* ================================================================
   THEME: OG (Teal / Retro Pixel)
   ================================================================ */
[data-shop-theme="og"] .shop-header {
    background: linear-gradient(135deg, #083940, #0d4f5c);
    border-bottom-color: rgba(26,107,122,0.4);
}
[data-shop-theme="og"] .shop-header__token-amount { color: #7ee8d4; }
[data-shop-theme="og"] .shop-header__balance { background: rgba(255,255,255,0.08); }

[data-shop-theme="og"] .shop-tabs {
    background: #072e34;
    border-bottom-color: rgba(26,107,122,0.3);
}
[data-shop-theme="og"] .shop-tab.active {
    color: #fff;
    border-bottom-color: #1a9e8f;
    background: rgba(26,158,143,0.12);
}
[data-shop-theme="og"] .shop-panel { background: #0a3a42; }

/* Cards */
[data-shop-theme="og"] .shop-home__card { border-color: rgba(26,107,122,0.3); background: rgba(255,255,255,0.04); }
[data-shop-theme="og"] .shop-home__card:hover { background: rgba(26,158,143,0.1); border-color: rgba(26,158,143,0.35); }
[data-shop-theme="og"] .shop-home__balance-bar { background: rgba(26,158,143,0.08); border-color: rgba(26,158,143,0.2); }
[data-shop-theme="og"] .shop-home__balance-bar strong { color: #7ee8d4; }

/* Token cards */
[data-shop-theme="og"] .shop-token-card { border-color: rgba(26,107,122,0.3); }
[data-shop-theme="og"] .shop-token-card:hover { border-color: rgba(26,158,143,0.5); background: rgba(26,158,143,0.08); }
[data-shop-theme="og"] .shop-token-card__btn { background: linear-gradient(135deg, #0f7b6f, #1a9e8f); }
[data-shop-theme="og"] .shop-token-card__price { color: #4ade80; }

/* Package cards */
[data-shop-theme="og"] .shop-pkg-card { border-color: rgba(26,107,122,0.3); }
[data-shop-theme="og"] .shop-pkg-card:hover { border-color: rgba(26,158,143,0.4); }
[data-shop-theme="og"] .shop-pkg-card__cost { color: #7ee8d4; }
[data-shop-theme="og"] .shop-pkg-card__add { background: linear-gradient(135deg, #0f7b6f, #1a9e8f); }

/* Cart */
[data-shop-theme="og"] .shop-cart { border-color: rgba(26,107,122,0.3); background: rgba(255,255,255,0.03); }
[data-shop-theme="og"] .shop-cart__checkout { background: linear-gradient(135deg, #0f7b6f, #1a9e8f); }

/* Slots */
[data-shop-theme="og"] .shop-slots__header { background: linear-gradient(135deg, #072e34, #0a3a42); }
[data-shop-theme="og"] .shop-slots__title { text-shadow: 0 0 10px rgba(26,158,143,0.5); }
[data-shop-theme="og"] .shop-slots__balance-val { color: #7ee8d4; }
[data-shop-theme="og"] .shop-slots__reel-frame { border-color: rgba(26,158,143,0.25); }
[data-shop-theme="og"] .shop-slots__reel { border-color: rgba(26,158,143,0.2); }
[data-shop-theme="og"] .shop-slots__reel::before { background: linear-gradient(180deg, rgba(10,58,66,0.9), transparent); }
[data-shop-theme="og"] .shop-slots__reel::after { background: linear-gradient(0deg, rgba(10,58,66,0.9), transparent); }
[data-shop-theme="og"] .shop-slots__spin-btn { background: linear-gradient(180deg, #1a9e8f, #0f7b6f); }
[data-shop-theme="og"] .shop-slots__spin-btn:hover { background: linear-gradient(180deg, #22b8a6, #1a9e8f); }
[data-shop-theme="og"] .shop-slots__bet-btn.active { background: #1a9e8f; border-color: #22b8a6; }
[data-shop-theme="og"] .shop-slots__info-section { background: rgba(0,0,0,0.2); border-color: rgba(26,107,122,0.25); }
[data-shop-theme="og"] .shop-slots__info-title { color: #7ee8d4; }
[data-shop-theme="og"] .shop-slots__jackpot-pool { background: rgba(26,158,143,0.08); border-color: rgba(26,158,143,0.2); }
[data-shop-theme="og"] .shop-slots__mode-btn.active { background: #1a9e8f; border-color: #22b8a6; }
[data-shop-theme="og"] .shop-slots__line-btn.active { background: #1a9e8f; border-color: #22b8a6; }

/* ================================================================
   THEME: CLASSIC (Light / Beige / Habbo 2006)
   ================================================================ */
[data-shop-theme="classic"] .shop-header {
    background: linear-gradient(135deg, #d4e4ee, #bce0ee);
    border-bottom-color: rgba(0,0,0,0.08);
}
[data-shop-theme="classic"] .shop-header__text { color: #2d3748; }
[data-shop-theme="classic"] .shop-header__token-amount { color: #2d6cb4; }
[data-shop-theme="classic"] .shop-header__token-label { color: rgba(0,0,0,0.4); }
[data-shop-theme="classic"] .shop-header__balance { background: rgba(0,0,0,0.06); }

[data-shop-theme="classic"] .shop-tabs {
    background: #e9e9e1;
    border-bottom-color: rgba(0,0,0,0.1);
}
[data-shop-theme="classic"] .shop-tab { color: rgba(0,0,0,0.45); }
[data-shop-theme="classic"] .shop-tab:hover { color: rgba(0,0,0,0.7); background: rgba(0,0,0,0.03); }
[data-shop-theme="classic"] .shop-tab.active {
    color: #2d6cb4;
    border-bottom-color: #2d6cb4;
    background: rgba(45,108,180,0.06);
}
[data-shop-theme="classic"] .shop-panel {
    background: #f0efe8;
    color: #2d3748;
}

/* Cards */
[data-shop-theme="classic"] .shop-home__card {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-shop-theme="classic"] .shop-home__card:hover { border-color: #bce0ee; background: #f7fbfd; }
[data-shop-theme="classic"] .shop-home__card h3 { color: #2d3748; }
[data-shop-theme="classic"] .shop-home__card p { color: rgba(0,0,0,0.45); }
[data-shop-theme="classic"] .shop-home__welcome h2 { color: #2d3748; }
[data-shop-theme="classic"] .shop-home__welcome p { color: rgba(0,0,0,0.5); }
[data-shop-theme="classic"] .shop-home__balance-bar { background: #e8f4fa; border-color: #bce0ee; color: #2d3748; }
[data-shop-theme="classic"] .shop-home__balance-bar strong { color: #2d6cb4; }

/* Token cards */
[data-shop-theme="classic"] .shop-token-card {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-shop-theme="classic"] .shop-token-card:hover { border-color: #2d6cb4; background: #f7fbfd; }
[data-shop-theme="classic"] .shop-token-card__amount { color: #2d3748; }
[data-shop-theme="classic"] .shop-token-card__label { color: rgba(0,0,0,0.35); }
[data-shop-theme="classic"] .shop-token-card__price { color: #16a34a; }
[data-shop-theme="classic"] .shop-token-card__btn { background: linear-gradient(135deg, #2d6cb4, #4a90d9); }

/* Headings */
[data-shop-theme="classic"] .shop-tokens h2 { color: #2d3748; }
[data-shop-theme="classic"] .shop-tokens__subtitle { color: rgba(0,0,0,0.45); }
[data-shop-theme="classic"] .shop-packages__main h2 { color: #2d3748; }
[data-shop-theme="classic"] .shop-packages__subtitle { color: rgba(0,0,0,0.45); }

/* Package cards */
[data-shop-theme="classic"] .shop-pkg-card {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-shop-theme="classic"] .shop-pkg-card:hover { border-color: #bce0ee; }
[data-shop-theme="classic"] .shop-pkg-card__name { color: #2d3748; }
[data-shop-theme="classic"] .shop-pkg-card__desc { color: rgba(0,0,0,0.45); }
[data-shop-theme="classic"] .shop-pkg-card__cost { color: #2d6cb4; }
[data-shop-theme="classic"] .shop-pkg-card__add { background: linear-gradient(135deg, #2d6cb4, #4a90d9); }
[data-shop-theme="classic"] .shop-pkg-card__reward { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.55); }

/* Cart */
[data-shop-theme="classic"] .shop-cart {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-shop-theme="classic"] .shop-cart__title { color: #2d3748; }
[data-shop-theme="classic"] .shop-cart__empty { color: rgba(0,0,0,0.3); }
[data-shop-theme="classic"] .shop-cart__item { color: rgba(0,0,0,0.6); border-bottom-color: rgba(0,0,0,0.06); }
[data-shop-theme="classic"] .shop-cart__item-cost { color: #2d6cb4; }
[data-shop-theme="classic"] .shop-cart__checkout { background: linear-gradient(135deg, #2d6cb4, #4a90d9); }

/* Hide in-page shop tabs when theme shell already provides sub-navigation */
[data-shop-theme="classic"] .shop-tabs,
[data-shop-theme="og"] .shop-tabs,
[data-shop-theme="modern"] .shop-tabs { display: none; }

/* Slots */
[data-shop-theme="classic"] .shop-slots__header { background: linear-gradient(135deg, #bce0ee, #a3d1e3); }
[data-shop-theme="classic"] .shop-slots__title { color: #2d3748; text-shadow: none; }
[data-shop-theme="classic"] .shop-slots__balance-val { color: #2d6cb4; }
[data-shop-theme="classic"] .shop-slots__bigwins { background: rgba(0,0,0,0.04); border-bottom-color: rgba(0,0,0,0.06); }
[data-shop-theme="classic"] .shop-slots__bigwins-label { color: #16a34a; text-shadow: none; }
[data-shop-theme="classic"] .shop-slots__sign { background: linear-gradient(180deg, #e8dcc8, #d4c8b0); border-color: #c4b896; }
[data-shop-theme="classic"] .shop-slots__sign-name { color: #6b5b3e; }
[data-shop-theme="classic"] .shop-slots__reels-area { background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06)); }
[data-shop-theme="classic"] .shop-slots__reel-frame { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.12); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); }
[data-shop-theme="classic"] .shop-slots__reel { background: #fff; border-color: rgba(0,0,0,0.1); }
[data-shop-theme="classic"] .shop-slots__reel::before { background: linear-gradient(180deg, rgba(240,239,232,0.85), transparent); }
[data-shop-theme="classic"] .shop-slots__reel::after { background: linear-gradient(0deg, rgba(240,239,232,0.85), transparent); }
[data-shop-theme="classic"] .shop-slots__spin-btn { background: linear-gradient(180deg, #67a11e, #4f8216); }
[data-shop-theme="classic"] .shop-slots__spin-btn:hover { background: linear-gradient(180deg, #7bba28, #67a11e); }
[data-shop-theme="classic"] .shop-slots__bet-btn { color: #2d3748; border-color: rgba(0,0,0,0.15); background: #fff; font-family: "Ubuntu", Arial, sans-serif; font-size: 11px; }
[data-shop-theme="classic"] .shop-slots__bet-btn.active { background: #67a11e; color: #fff; border-color: #4f8216; }
[data-shop-theme="classic"] .shop-slots__result.win { color: #16a34a; background: rgba(22,163,74,0.08); }
[data-shop-theme="classic"] .shop-slots__result.lose { color: #dc2626; background: rgba(220,38,38,0.06); }
[data-shop-theme="classic"] .shop-slots__info-section { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-shop-theme="classic"] .shop-slots__info-title { color: #4f8216; }
[data-shop-theme="classic"] .shop-slots__pay-name { color: #2d3748; }
[data-shop-theme="classic"] .shop-slots__pay-mult { color: rgba(0,0,0,0.5); }
[data-shop-theme="classic"] .shop-slots__pay-mult.mid { color: #c87e14; }
[data-shop-theme="classic"] .shop-slots__pay-mult.high { color: #dc2626; }
[data-shop-theme="classic"] .shop-slots__jackpot-pool { background: rgba(80,122,27,0.06); border-color: rgba(80,122,27,0.15); }
[data-shop-theme="classic"] .shop-slots__mode-btn { color: #2d3748; border-color: rgba(0,0,0,0.15); background: #fff; font-family: "Ubuntu", Arial, sans-serif; font-size: 11px; }
[data-shop-theme="classic"] .shop-slots__mode-btn.active { background: #67a11e; color: #fff; border-color: #4f8216; }
[data-shop-theme="classic"] .shop-slots__line-btn { color: #2d3748; border-color: rgba(0,0,0,0.15); background: #fff; font-family: "Ubuntu", Arial, sans-serif; font-size: 11px; }
[data-shop-theme="classic"] .shop-slots__line-btn.active { background: #67a11e; color: #fff; border-color: #4f8216; }
[data-shop-theme="classic"] .shop-slots__lines-label { color: rgba(0,0,0,0.4); }

[data-shop-theme="classic"] .shop-slots__recent-label { color: rgba(0,0,0,0.45); }
[data-shop-theme="classic"] .shop-slots__recent-empty { color: rgba(0,0,0,0.3); }
[data-shop-theme="classic"] .shop-slots__recent-viewall { color: #2d6cb4; background: rgba(45,108,180,0.06); border-color: rgba(45,108,180,0.15); }
[data-shop-theme="classic"] .shop-slots__recent-viewall:hover { background: rgba(45,108,180,0.12); }
[data-shop-theme="classic"] .shop-slots__history-table th { color: rgba(0,0,0,0.4); }
[data-shop-theme="classic"] .shop-slots__history-table td { color: rgba(0,0,0,0.6); }
[data-shop-theme="classic"] .shop-slots__history-table td.positive { color: #16a34a; }
[data-shop-theme="classic"] .shop-slots__history-table td.negative { color: #dc2626; }
[data-shop-theme="classic"] .shop-slots__history-table td.muted { color: rgba(0,0,0,0.3); }

/* Classic (2012) — structural overrides: rounded containers, Habbo-era buttons */
[data-shop-theme="classic"] .cms-shop { font-family: "Ubuntu", Arial, sans-serif; }
[data-shop-theme="classic"] .shop-header { border-radius: 6px 6px 0 0; }
[data-shop-theme="classic"] .shop-home__card { border-radius: 6px; }
[data-shop-theme="classic"] .shop-token-card { border-radius: 6px; }
[data-shop-theme="classic"] .shop-token-card__btn {
    border-radius: 4px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    background: linear-gradient(180deg, #67a11e, #4f8216);
    border: 1px solid #3d6611;
    color: #fff;
}
[data-shop-theme="classic"] .shop-token-card__btn:hover { background: linear-gradient(180deg, #7bba28, #67a11e); }
[data-shop-theme="classic"] .shop-pkg-card { border-radius: 6px; }
[data-shop-theme="classic"] .shop-pkg-card__add {
    border-radius: 4px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: none;
    background: linear-gradient(180deg, #67a11e, #4f8216);
    border: 1px solid #3d6611;
    color: #fff;
}
[data-shop-theme="classic"] .shop-pkg-card__add:hover { background: linear-gradient(180deg, #7bba28, #67a11e); }
[data-shop-theme="classic"] .shop-cart { border-radius: 6px; }
[data-shop-theme="classic"] .shop-cart__buy {
    border-radius: 4px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 700;
    background: linear-gradient(180deg, #67a11e, #4f8216);
    border: 1px solid #3d6611;
    color: #fff;
}
[data-shop-theme="classic"] .shop-cart__buy:hover { background: linear-gradient(180deg, #7bba28, #67a11e); }
[data-shop-theme="classic"] .shop-slots__spin-btn {
    border-radius: 4px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid #3d6611;
}
[data-shop-theme="classic"] .shop-slots__info-section { border-radius: 4px; }
[data-shop-theme="classic"] .shop-modal__content { border-radius: 6px; background: #f0efe8; color: #2d3748; }
[data-shop-theme="classic"] .shop-modal__buy {
    border-radius: 4px;
    font-family: "Ubuntu", Arial, sans-serif;
    font-weight: 700;
    background: linear-gradient(180deg, #67a11e, #4f8216);
    border: 1px solid #3d6611;
    color: #fff;
}
[data-shop-theme="classic"] .shop-modal__buy:hover { background: linear-gradient(180deg, #7bba28, #67a11e); }

/* OG (2006) — structural overrides: sharp corners, pixel font, orange buttons */
[data-shop-theme="og"] .cms-shop { font-family: Verdana, Geneva, sans-serif; font-size: 11px; }
[data-shop-theme="og"] .shop-header { border-radius: 0; }
[data-shop-theme="og"] .shop-home__card { border-radius: 0; }
[data-shop-theme="og"] .shop-token-card { border-radius: 0; }
[data-shop-theme="og"] .shop-token-card__btn {
    border-radius: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f16100;
    border: 1px solid #b04500;
    letter-spacing: 0.5px;
}
[data-shop-theme="og"] .shop-token-card__btn:hover { background: #ff7a1a; }
[data-shop-theme="og"] .shop-pkg-card { border-radius: 0; }
[data-shop-theme="og"] .shop-pkg-card__add {
    border-radius: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f16100;
    border: 1px solid #b04500;
}
[data-shop-theme="og"] .shop-pkg-card__add:hover { background: #ff7a1a; }
[data-shop-theme="og"] .shop-cart { border-radius: 0; }
[data-shop-theme="og"] .shop-cart__buy {
    border-radius: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f16100;
    border: 1px solid #b04500;
}
[data-shop-theme="og"] .shop-cart__buy:hover { background: #ff7a1a; }
[data-shop-theme="og"] .shop-slots__spin-btn {
    border-radius: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #b04500;
    background: linear-gradient(180deg, #f16100, #d15200);
}
[data-shop-theme="og"] .shop-slots__spin-btn:hover { background: linear-gradient(180deg, #ff7a1a, #f16100); }
[data-shop-theme="og"] .shop-slots__info-section { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__bet-btn { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__bet-btn.active { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__mode-btn { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__mode-btn.active { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__line-btn { border-radius: 0; }
[data-shop-theme="og"] .shop-slots__line-btn.active { border-radius: 0; }
[data-shop-theme="og"] .shop-modal__content { border-radius: 0; background: #0a3a42; }
[data-shop-theme="og"] .shop-modal__buy {
    border-radius: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f16100;
    border: 1px solid #b04500;
}
[data-shop-theme="og"] .shop-modal__buy:hover { background: #ff7a1a; }
[data-shop-theme="og"] .shop-tabs { border-radius: 0; }
[data-shop-theme="og"] .shop-tab {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* ================================================================
   THEME: MODERN (Dark Blue / Green-Yellow Accent)
   ================================================================ */
[data-shop-theme="modern"] .shop-header {
    background: linear-gradient(135deg, #0d4f82, #02353c);
    border-bottom-color: rgba(0,129,62,0.2);
}
[data-shop-theme="modern"] .shop-header__token-amount { color: #7ed4a8; }
[data-shop-theme="modern"] .shop-header__balance { background: rgba(255,255,255,0.08); }

[data-shop-theme="modern"] .shop-tabs {
    background: #0a3d64;
    border-bottom-color: rgba(0,129,62,0.2);
}
[data-shop-theme="modern"] .shop-tab.active {
    color: #fff;
    border-bottom-color: #00813e;
    background: rgba(0,129,62,0.1);
}
[data-shop-theme="modern"] .shop-panel { background: #0c4570; }

/* Cards */
[data-shop-theme="modern"] .shop-home__card { border-color: rgba(0,129,62,0.2); background: rgba(255,255,255,0.04); }
[data-shop-theme="modern"] .shop-home__card:hover { background: rgba(0,129,62,0.08); border-color: rgba(0,129,62,0.35); }
[data-shop-theme="modern"] .shop-home__balance-bar { background: rgba(0,129,62,0.08); border-color: rgba(0,129,62,0.2); }
[data-shop-theme="modern"] .shop-home__balance-bar strong { color: #7ed4a8; }

/* Token cards */
[data-shop-theme="modern"] .shop-token-card { border-color: rgba(0,129,62,0.2); }
[data-shop-theme="modern"] .shop-token-card:hover { border-color: rgba(0,129,62,0.5); background: rgba(0,129,62,0.06); }
[data-shop-theme="modern"] .shop-token-card__btn { background: linear-gradient(135deg, #00813e, #00a34e); }
[data-shop-theme="modern"] .shop-token-card__price { color: #4ade80; }

/* Package cards */
[data-shop-theme="modern"] .shop-pkg-card { border-color: rgba(0,129,62,0.2); }
[data-shop-theme="modern"] .shop-pkg-card:hover { border-color: rgba(0,129,62,0.4); }
[data-shop-theme="modern"] .shop-pkg-card__cost { color: #ffb900; }
[data-shop-theme="modern"] .shop-pkg-card__add { background: linear-gradient(135deg, #00813e, #00a34e); }

/* Cart */
[data-shop-theme="modern"] .shop-cart { border-color: rgba(0,129,62,0.2); background: rgba(255,255,255,0.03); }
[data-shop-theme="modern"] .shop-cart__checkout { background: linear-gradient(135deg, #00813e, #00a34e); }

/* Slots */
[data-shop-theme="modern"] .shop-slots__header { background: linear-gradient(135deg, #0a3d64, #02353c); }
[data-shop-theme="modern"] .shop-slots__title { text-shadow: 0 0 10px rgba(0,129,62,0.5); }
[data-shop-theme="modern"] .shop-slots__balance-val { color: #7ed4a8; }
[data-shop-theme="modern"] .shop-slots__bigwins-label { color: #ffb900; text-shadow: 0 0 8px rgba(255,185,0,0.3); }
[data-shop-theme="modern"] .shop-slots__reel-frame { border-color: rgba(0,129,62,0.2); }
[data-shop-theme="modern"] .shop-slots__reel { border-color: rgba(0,129,62,0.15); }
[data-shop-theme="modern"] .shop-slots__reel::before { background: linear-gradient(180deg, rgba(12,69,112,0.9), transparent); }
[data-shop-theme="modern"] .shop-slots__reel::after { background: linear-gradient(0deg, rgba(12,69,112,0.9), transparent); }
[data-shop-theme="modern"] .shop-slots__spin-btn { background: linear-gradient(180deg, #00813e, #006830); border: 2px solid #00a34e; border-radius: 10px; font-family: 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 3px; padding: 12px 36px; }
[data-shop-theme="modern"] .shop-slots__spin-btn:hover { background: linear-gradient(180deg, #00a34e, #00813e); }
[data-shop-theme="modern"] .shop-slots__bet-btn { font-family: 'Segoe UI', Roboto, Arial, sans-serif; font-size: 12px; font-weight: 600; border-radius: 8px; background: rgba(255,255,255,0.06); border-color: rgba(0,129,62,0.2); color: rgba(255,255,255,0.6); }
[data-shop-theme="modern"] .shop-slots__bet-btn:hover { background: rgba(0,129,62,0.12); color: #fff; }
[data-shop-theme="modern"] .shop-slots__bet-btn.active { background: #00813e; border-color: #00a34e; border-radius: 8px; }
[data-shop-theme="modern"] .shop-slots__mode-btn { font-family: 'Segoe UI', Roboto, Arial, sans-serif; font-size: 11px; font-weight: 600; border-radius: 8px; background: rgba(255,255,255,0.05); border-color: rgba(0,129,62,0.15); color: rgba(255,255,255,0.5); }
[data-shop-theme="modern"] .shop-slots__mode-btn:hover { background: rgba(0,129,62,0.12); color: rgba(255,255,255,0.8); }
[data-shop-theme="modern"] .shop-slots__mode-btn.active { background: #00813e; border-color: #00a34e; color: #fff; border-radius: 8px; }
[data-shop-theme="modern"] .shop-slots__line-btn { font-family: 'Segoe UI', Roboto, Arial, sans-serif; font-size: 12px; font-weight: 600; border-radius: 8px; background: rgba(255,255,255,0.06); border-color: rgba(0,129,62,0.2); color: rgba(255,255,255,0.6); }
[data-shop-theme="modern"] .shop-slots__line-btn:hover { background: rgba(0,129,62,0.12); color: #fff; }
[data-shop-theme="modern"] .shop-slots__line-btn.active { background: #00813e; border-color: #00a34e; color: #fff; border-radius: 8px; }
[data-shop-theme="modern"] .shop-slots__lines-label { font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
[data-shop-theme="modern"] .shop-slots__info-section { background: rgba(0,0,0,0.2); border-color: rgba(0,129,62,0.15); border-radius: 10px; }
[data-shop-theme="modern"] .shop-slots__info-title { color: #ffb900; }
[data-shop-theme="modern"] .shop-slots__jackpot-pool { background: rgba(0,129,62,0.08); border-color: rgba(0,129,62,0.2); }

/* Modern structural overrides: rounded, clean sans-serif, Habbo 2022 feel */
[data-shop-theme="modern"] .cms-shop { font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
[data-shop-theme="modern"] .shop-header { border-radius: 12px 12px 0 0; }
[data-shop-theme="modern"] .shop-home__card { border-radius: 12px; }
[data-shop-theme="modern"] .shop-token-card { border-radius: 10px; }
[data-shop-theme="modern"] .shop-token-card__btn {
    border-radius: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}
[data-shop-theme="modern"] .shop-pkg-card { border-radius: 10px; }
[data-shop-theme="modern"] .shop-pkg-card__add {
    border-radius: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: none;
}
[data-shop-theme="modern"] .shop-cart { border-radius: 10px; }
[data-shop-theme="modern"] .shop-cart__buy {
    border-radius: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 700;
}
[data-shop-theme="modern"] .shop-modal__content { border-radius: 12px; }
[data-shop-theme="modern"] .shop-modal__buy {
    border-radius: 8px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 700;
    background: linear-gradient(180deg, #00813e, #006830);
    border: 1px solid #00a34e;
}
[data-shop-theme="modern"] .shop-modal__buy:hover { background: linear-gradient(180deg, #00a34e, #00813e); }

/* ================================================================
   CONFETTI CANVAS
   ================================================================ */
.shop-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
}

/* ================================================================
   INSUFFICIENT FUNDS SHAKE + GLOW
   ================================================================ */
@keyframes slotsShake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-6px); }
    30%, 70% { transform: translateX(6px); }
}
.slots-shake-error {
    animation: slotsShake 0.5s ease-in-out;
    box-shadow: 0 0 18px 4px rgba(239,68,68,0.5), inset 0 0 12px rgba(239,68,68,0.15) !important;
    border-color: rgba(239,68,68,0.6) !important;
}
.shop-slots__result.slots-funds-error {
    color: #fca5a5;
    background: rgba(239,68,68,0.15);
    font-weight: 800;
    font-size: 15px;
    animation: slotsFundsFlash 0.4s ease 2;
}
@keyframes slotsFundsFlash {
    0%, 100% { background: rgba(239,68,68,0.15); }
    50% { background: rgba(239,68,68,0.35); }
}

/* ================================================================
   CLIENT THEME: HABBO 2006 — border-image retro buttons for slots embed
   ================================================================ */
body[data-client-theme="habbo2006"] .shop-slots__bet-btn,
body[data-client-theme="habbo2006"] .shop-slots__line-btn,
body[data-client-theme="habbo2006"] .shop-slots__mode-btn,
body[data-client-theme="habbo2006"] .shop-slots__spin-btn {
    border-image-source: url('/client/themes/habbo2006/flash/buttons/button.png');
    border-image-slice: 6 6 6 6 fill;
    border-image-width: 6px;
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    color: #000;
    box-shadow: none;
    font-family: 'Goldfish-bold', sans-serif;
    font-size: 9px;
    text-shadow: none;
    letter-spacing: normal;
    text-transform: none;
}
body[data-client-theme="habbo2006"] .shop-slots__bet-btn:hover,
body[data-client-theme="habbo2006"] .shop-slots__line-btn:hover,
body[data-client-theme="habbo2006"] .shop-slots__mode-btn:hover,
body[data-client-theme="habbo2006"] .shop-slots__spin-btn:hover {
    border-image-source: url('/client/themes/habbo2006/flash/buttons/button-hover.png');
    background: transparent;
    color: #000;
}
body[data-client-theme="habbo2006"] .shop-slots__bet-btn.active,
body[data-client-theme="habbo2006"] .shop-slots__line-btn.active,
body[data-client-theme="habbo2006"] .shop-slots__mode-btn.active {
    border-image-source: url('/client/themes/habbo2006/flash/buttons/button-hover.png');
    background: transparent;
    color: #000;
}
body[data-client-theme="habbo2006"] .shop-slots__spin-btn:disabled {
    border-image-source: url('/client/themes/habbo2006/flash/buttons/button_inactive.png');
    background: transparent;
    color: #b1b1ac;
}

/* ================================================================
   CLIENT THEME: HABBO 2012 — border-image shiny buttons for slots embed
   ================================================================ */
body[data-client-theme="habbo2012"] .shop-slots__bet-btn,
body[data-client-theme="habbo2012"] .shop-slots__line-btn,
body[data-client-theme="habbo2012"] .shop-slots__mode-btn,
body[data-client-theme="habbo2012"] .shop-slots__spin-btn {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_default.png');
    border-image-slice: 3 3 3 3 fill;
    border-image-width: 3px;
    border-image-repeat: round round;
    background: none;
    border-radius: 0;
    color: #000;
    box-shadow: none;
    font-family: 'HabboUbuntu', Ubuntu, sans-serif;
    font-size: 12px;
    text-shadow: none;
    letter-spacing: normal;
    text-transform: none;
}
body[data-client-theme="habbo2012"] .shop-slots__bet-btn:hover,
body[data-client-theme="habbo2012"] .shop-slots__line-btn:hover,
body[data-client-theme="habbo2012"] .shop-slots__mode-btn:hover,
body[data-client-theme="habbo2012"] .shop-slots__spin-btn:hover {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_hover.png');
    background: none;
    color: #000;
}
body[data-client-theme="habbo2012"] .shop-slots__bet-btn.active,
body[data-client-theme="habbo2012"] .shop-slots__line-btn.active,
body[data-client-theme="habbo2012"] .shop-slots__mode-btn.active {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_hover.png');
    background: none;
    color: #000;
}
body[data-client-theme="habbo2012"] .shop-slots__spin-btn {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_green_default.png');
    border-image-slice: 5 5 5 5 fill;
    border-image-width: 5px;
    color: #fff;
    font-weight: bold;
}
body[data-client-theme="habbo2012"] .shop-slots__spin-btn:hover {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_green_hover.png');
    color: #fff;
}
body[data-client-theme="habbo2012"] .shop-slots__spin-btn:disabled {
    border-image-source: url('/client/themes/habbo2012/images/skin_btn_disabled.png');
    border-image-slice: 3 3 3 3 fill;
    border-image-width: 3px;
    background: none;
    color: rgba(0,0,0,0.4);
}
