/* Coin shop + coin UI — mainmenu theme */
.coin-balance {
    display: none; align-items: center; gap: 6px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 121, 242, 0.12));
    color: #ffd966; border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 12px; border-radius: 999px;
    font-weight: 800; letter-spacing: 0.05em;
    box-shadow: 0 0 18px rgba(255,215,0,0.25);
}
.coin-balance.is-visible { display: inline-flex; }
.coin-balance::before {
    content: ''; display: inline-block; width: 18px; height: 18px;
    background: url('ws-coin.svg') center/contain no-repeat;
}
.ws-coin-icon { width: 22px; height: 22px; vertical-align: -5px; display: inline-block; }
.ws-coin-icon-lg { width: 92px; height: 92px; display: block; margin: 0 auto 8px; filter: drop-shadow(0 4px 20px rgba(255,215,0,0.45)); }
.ws-gold {
    background: linear-gradient(90deg, #fff2a8, #ffd700 40%, #d09800);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 22px rgba(255,215,0,0.35);
}

.coin-shop { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; color: #e9f2ff; }

.shop-hero { text-align: center; padding: 20px 16px 12px; }
.shop-hero h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.4rem; margin: 0 0 8px; color: #fff; letter-spacing: 0.5px; }
.shop-hero p { color: #c5d4ee; max-width: 640px; margin: 0 auto 14px; line-height: 1.6; }
.shop-balance {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(13,18,34,0.85); border: 1px solid rgba(107,247,255,0.25);
    border-radius: 999px; padding: 10px 22px; color: #fff; font-weight: 700;
    box-shadow: 0 8px 26px rgba(0,0,0,0.35);
}
.shop-balance strong { color: #ffd966; font-size: 1.2em; }

.shop-banner { max-width: 600px; margin: 14px auto 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.shop-banner.success { background: rgba(0,255,180,0.1); border: 1px solid rgba(0,255,180,0.4); color: #6bf7c9; }
.shop-banner.error { background: rgba(255,90,122,0.1); border: 1px solid rgba(255,90,122,0.4); color: #ff8b9a; }

.coin-pack-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px; margin-top: 30px;
}
.coin-pack {
    position: relative;
    background: linear-gradient(160deg, rgba(13,18,34,0.92), rgba(20,12,40,0.92));
    border: 1px solid rgba(107,247,255,0.25);
    border-radius: 18px; padding: 22px 18px 20px;
    text-align: center; color: #fff;
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
    overflow: hidden; transition: transform 0.15s ease, border-color 0.15s ease;
}
.coin-pack:hover { transform: translateY(-4px); border-color: rgba(255,79,224,0.5); }
.coin-pack::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,215,0,0.18), transparent 38%),
        radial-gradient(circle at 80% 90%, rgba(255,79,224,0.12), transparent 40%);
    pointer-events: none;
}
.coin-pack .badge {
    position: absolute; top: 10px; right: 10px;
    background: linear-gradient(135deg, #ff79f2, #6bf7ff);
    color: #0d0f1f; font-weight: 800; font-size: 0.78em;
    padding: 4px 10px; border-radius: 999px; letter-spacing: 0.05em;
}
.coin-pack .coin-count { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.4rem; color: #ffd966; margin: 4px 0; }
.coin-pack .pack-label { font-size: 0.95em; color: #b8c4dc; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.coin-pack .price { font-size: 1.6em; font-weight: 800; color: #fff; }
.coin-pack .price-strike { color: #7a8aaa; text-decoration: line-through; margin-left: 6px; font-weight: 600; font-size: 0.85em; }
.coin-pack .save { color: #6bf7c9; font-weight: 700; margin: 4px 0 14px; font-size: 0.9em; }
.coin-pack .buy-btn {
    background: linear-gradient(135deg, #ffd700, #ff79f2);
    color: #1a0a30; border: none; padding: 11px 18px; border-radius: 999px;
    font-weight: 800; cursor: pointer; font-family: inherit; font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(255, 121, 242, 0.35);
    transition: transform 0.05s ease, box-shadow 0.15s ease;
}
.coin-pack .buy-btn:hover { box-shadow: 0 10px 28px rgba(255, 121, 242, 0.5); }
.coin-pack .buy-btn:active { transform: translateY(2px); }
.coin-pack .buy-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.coin-pack .pack-best { background: linear-gradient(135deg, #ff79f2, #ffd700); }

.shop-info { background: rgba(13,18,34,0.85); border: 1px solid rgba(107,247,255,0.2); border-radius: 16px; padding: 24px; margin-top: 36px; }
.shop-info h3 { color: #6bf7ff; margin: 0 0 12px; font-family: 'Montserrat',sans-serif; }
.shop-info ol { margin: 0 0 12px 18px; color: #c5d4ee; line-height: 1.7; }
.shop-info ol em { color: #ff79f2; font-style: normal; font-weight: 700; }
.shop-info .fine-print { color: #7a8aaa; font-size: 0.85em; margin: 12px 0 0; }
