/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a1a;
    --bg2: #141428;
    --bg3: #1e1e3a;
    --bg4: #28284a;
    --text: #eeeef8;
    --text2: #8888aa;
    --gold: #ffd700;
    --gold2: #ff9f00;
    --gold-glow: rgba(255, 215, 0, 0.25);
    --accent: #7c5cff;
    --accent2: #5a3de6;
    --accent-glow: rgba(124, 92, 255, 0.3);
    --green: #00e676;
    --green-glow: rgba(0, 230, 118, 0.15);
    --red: #ff5252;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.5);
    --transition: cubic-bezier(0.22, 0.68, 0, 1.1);
}

html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.shake {
    animation: screenShake 0.15s ease-out;
}

@keyframes screenShake {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, 2px); }
    100% { transform: translate(0); }
}

/* ===== PARTICLES ===== */
#particles {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

.particle.gold { background: var(--gold); }
.particle.purple { background: var(--accent); }
.particle.white { background: rgba(255,255,255,0.6); }

@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    8% { opacity: 0.2; }
    50% { transform: translateY(50vh) translateX(var(--drift)) scale(0.8); opacity: 0.15; }
    92% { opacity: 0.1; }
    100% { transform: translateY(-5vh) translateX(calc(var(--drift) * -1)) scale(1); opacity: 0; }
}

/* Ambient glow */
#glow-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 600px 400px at 50% 40%, rgba(255,215,0,0.04), transparent 70%),
                radial-gradient(ellipse 300px 300px at 30% 80%, rgba(124,92,255,0.03), transparent);
}

/* ===== APP CONTAINER ===== */
#app {
    position: relative; z-index: 1;
    max-width: 480px; margin: 0 auto;
    padding: 0 16px 40px; min-height: 100dvh;
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0;
    position: sticky; top: 0; z-index: 10;
    background: linear-gradient(to bottom, var(--bg) 70%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.25rem; font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #ffe680, var(--gold2));
    background-size: 200% 100%;
    animation: logoShine 3s ease-in-out infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes logoShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.top-stats { display: flex; align-items: center; gap: 6px; }

#cps-display {
    font-size: 0.82rem; color: var(--gold); font-weight: 600;
    padding: 4px 12px;
    background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.12);
    border-radius: 20px;
    transition: all 0.3s;
}

.icon-btn {
    background: none; border: none;
    font-size: 1.15rem; cursor: pointer;
    padding: 6px; border-radius: 8px;
    transition: all 0.2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); transform: scale(1.1); }
.icon-btn:active { transform: scale(0.95); }

/* ===== COMBO BAR ===== */
.combo-bar-wrap {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; opacity: 0;
    transition: opacity 0.4s;
}
.combo-bar-wrap.active { opacity: 1; }

.combo-bar {
    flex: 1; height: 6px;
    background: var(--bg3); border-radius: 3px; overflow: hidden;
}

.combo-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold2), #ff6600);
    border-radius: 3px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 8px var(--gold-glow);
}

.combo-text {
    font-size: 0.85rem; font-weight: 900;
    color: var(--gold);
    min-width: 32px; text-align: center;
    transition: all 0.2s var(--transition);
}
.combo-text.pop {
    transform: scale(1.4);
    text-shadow: 0 0 12px var(--gold-glow);
}

/* ===== COIN SECTION ===== */
.coin-section { text-align: center; padding: 16px 0 4px; }

.coin-amount {
    font-size: 2.6rem; font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #fff5cc, var(--gold2), var(--gold));
    background-size: 300% 100%;
    animation: goldShine 4s ease-in-out infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    transition: transform 0.08s var(--transition);
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.15));
}
.coin-amount.bump { transform: scale(1.08); }

@keyframes goldShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.coin-label {
    font-size: 0.85rem; color: var(--text2);
    text-transform: uppercase; letter-spacing: 3px; margin-top: 2px;
}

.click-power {
    font-size: 0.78rem; color: var(--green); margin-top: 4px;
    text-shadow: 0 0 8px var(--green-glow);
}

/* ===== CLICK AREA ===== */
.click-area {
    display: flex; justify-content: center; align-items: center;
    padding: 12px 0 16px; position: relative;
}

/* Orbiting ring */
.orbit-ring {
    position: absolute; width: 200px; height: 200px;
    border-radius: 50%;
    animation: orbitSpin 8s linear infinite;
    pointer-events: none;
}

.orbit-dot {
    position: absolute; width: 6px; height: 6px;
    background: var(--gold); border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
    opacity: 0.5;
}
.orbit-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(2) { bottom: 15%; right: 5%; }
.orbit-dot:nth-child(3) { bottom: 15%; left: 5%; }

@keyframes orbitSpin { 100% { transform: rotate(360deg); } }

/* The big button */
.big-click {
    width: 160px; height: 160px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(circle at 38% 35%, #ffe880, #ffd700 30%, #ffb800 60%, #cc8800 90%);
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: transform 0.06s, box-shadow 0.15s;
    box-shadow:
        0 0 0 4px rgba(255,215,0,0.4),
        0 0 40px rgba(255,215,0,0.25),
        0 8px 32px rgba(0,0,0,0.4),
        inset 0 -6px 16px rgba(0,0,0,0.2),
        inset 0 2px 8px rgba(255,255,255,0.2);
    user-select: none; -webkit-user-select: none;
    position: relative; overflow: hidden; z-index: 2;
}

.big-click::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,0.12) 10%, transparent 20%);
    animation: shimmer 2.5s linear infinite;
    z-index: 0;
}

.big-click::after {
    content: '';
    position: absolute; inset: 3px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
    pointer-events: none; z-index: 0;
}

@keyframes shimmer { 100% { transform: rotate(360deg); } }

.big-click:active {
    transform: scale(0.9);
    box-shadow:
        0 0 0 4px rgba(255,215,0,0.6),
        0 0 60px rgba(255,215,0,0.5),
        0 2px 16px rgba(0,0,0,0.4),
        inset 0 -2px 8px rgba(0,0,0,0.3);
}

.big-click:hover {
    box-shadow:
        0 0 0 4px rgba(255,215,0,0.5),
        0 0 70px rgba(255,215,0,0.35),
        0 8px 32px rgba(0,0,0,0.4),
        inset 0 -6px 16px rgba(0,0,0,0.2),
        inset 0 2px 8px rgba(255,255,255,0.2);
}

.coin-icon {
    font-size: 3.5rem; position: relative; z-index: 1;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    transition: transform 0.1s;
}

.click-text {
    font-size: 0.8rem; font-weight: 800; color: #5a3800;
    letter-spacing: 3px; position: relative; z-index: 1;
}

/* ===== BURST PARTICLES ===== */
#burst-container {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 99;
}

.burst {
    position: absolute; border-radius: 50%;
    pointer-events: none;
    animation: burstOut 0.6s ease-out forwards;
}

.burst.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.burst.white { background: white; box-shadow: 0 0 4px rgba(255,255,255,0.6); }

@keyframes burstOut {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(0); }
}

/* Click ripple */
.click-ripple {
    position: absolute; border-radius: 50%;
    border: 2px solid var(--gold);
    pointer-events: none;
    animation: rippleExpand 0.5s ease-out forwards;
    z-index: 98;
}

@keyframes rippleExpand {
    0% { width: 40px; height: 40px; opacity: 0.8; transform: translate(-50%, -50%) scale(0.5); }
    100% { width: 200px; height: 200px; opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* ===== FLOATING NUMBERS ===== */
#float-numbers {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 100;
}

.float-num {
    position: absolute; font-weight: 800;
    color: var(--gold); font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 12px var(--gold-glow);
    animation: floatAway 1.2s ease-out forwards;
    pointer-events: none; white-space: nowrap;
}

.float-num.crit {
    font-size: 1.6rem;
    color: #ff6600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 16px rgba(255,102,0,0.4);
}

.float-num.golden {
    font-size: 1.8rem;
    color: #ffee00;
    text-shadow: 0 0 20px rgba(255,238,0,0.6);
}

@keyframes floatAway {
    0% { opacity: 1; transform: translateY(0) scale(0.8); }
    20% { opacity: 1; transform: translateY(-15px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-100px) scale(0.9) translateX(var(--fx, 0px)); }
}

/* ===== TAB NAVIGATION ===== */
.tab-nav {
    display: flex; gap: 4px;
    background: var(--bg2); padding: 4px;
    border-radius: var(--radius); margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}

.tab-btn {
    flex: 1; padding: 10px 6px;
    border: none; background: none;
    color: var(--text2); font-size: 0.78rem;
    font-weight: 600; border-radius: var(--radius-sm);
    cursor: pointer; transition: all 0.25s var(--transition);
    font-family: inherit; position: relative;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: scale(1.02);
}

.tab-btn:not(.active):hover { background: rgba(255,255,255,0.05); }

/* ===== TAB PANELS ===== */
.tab-panel {
    display: none;
    animation: tabFadeIn 0.3s ease-out;
}
.tab-panel.active { display: block; }

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ITEMS LIST ===== */
.items-list { display: flex; flex-direction: column; gap: 8px; }

.item-card {
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 14px 14px 14px 12px;
    display: flex; align-items: center; gap: 12px;
    cursor: pointer;
    transition: all 0.25s var(--transition);
    position: relative; overflow: hidden;
}

.item-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.item-card:hover::before { transform: translateX(100%); }

.item-card:hover {
    background: var(--bg3);
    border-color: rgba(124,92,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.item-card.affordable {
    border-color: rgba(0,230,118,0.25);
    box-shadow: inset 0 0 0 1px rgba(0,230,118,0.05);
}
.item-card.affordable:hover {
    border-color: rgba(0,230,118,0.4);
    box-shadow: 0 4px 16px rgba(0,230,118,0.1);
}

.item-card.maxed {
    opacity: 0.5;
    border-color: rgba(255,215,0,0.15);
}

.item-card.just-bought {
    animation: buyFlash 0.4s ease-out;
}

@keyframes buyFlash {
    0% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 20px var(--gold-glow); }
    100% { box-shadow: none; }
}

.item-icon {
    font-size: 1.8rem; width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm); flex-shrink: 0;
    transition: transform 0.2s;
}
.item-card:hover .item-icon { transform: scale(1.1) rotate(-3deg); }

.item-info { flex: 1; min-width: 0; }

.item-name {
    font-weight: 700; font-size: 0.88rem;
    display: flex; align-items: center; gap: 6px;
}

.item-owned {
    font-size: 0.68rem; color: var(--accent);
    background: rgba(124,92,255,0.12);
    padding: 1px 7px; border-radius: 4px;
    font-weight: 700;
}

.item-desc { font-size: 0.73rem; color: var(--text2); margin-top: 2px; }

/* Progress bar for buildings */
.item-progress {
    height: 3px; background: var(--bg4);
    border-radius: 2px; margin-top: 6px; overflow: hidden;
}
.item-progress-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 0.3s;
}

.item-cost {
    font-weight: 700; color: var(--gold);
    font-size: 0.85rem; white-space: nowrap;
    display: flex; align-items: center; gap: 4px;
    flex-shrink: 0;
}
.item-cost::before { content: '🪙'; font-size: 0.85rem; }
.item-cost.too-expensive { color: var(--red); opacity: 0.6; }

/* ===== PRESTIGE ===== */
.prestige-info { text-align: center; padding: 20px 0; }

.prestige-stars {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 1.8rem; font-weight: 900; margin-bottom: 8px;
}

.star-icon { font-size: 2.2rem; animation: starFloat 3s ease-in-out infinite; }

@keyframes starFloat {
    0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
    50% { transform: translateY(-6px) scale(1.1); filter: brightness(1.2); }
}

.prestige-multiplier { color: var(--text2); margin-bottom: 20px; }

.prestige-preview {
    background: var(--bg2); padding: 16px;
    border-radius: var(--radius); margin-bottom: 16px;
    border: 1px solid rgba(255,215,0,0.08);
}
.prestige-preview strong { color: var(--gold); font-size: 1.3rem; }
.prestige-req { font-size: 0.75rem; color: var(--text2); margin-top: 4px; }

.prestige-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent2), #8b5cf6);
    background-size: 200% 100%;
    animation: btnShine 3s ease-in-out infinite;
    color: #fff; border: none;
    padding: 14px 36px; font-size: 1.1rem; font-weight: 700;
    border-radius: var(--radius); cursor: pointer;
    transition: all 0.25s var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 24px var(--accent-glow);
}

@keyframes btnShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.prestige-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(124,92,255,0.5);
}
.prestige-btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.prestige-btn:disabled { opacity: 0.35; cursor: not-allowed; animation: none; }

.prestige-explain {
    font-size: 0.73rem; color: var(--text2); margin-top: 16px;
    line-height: 1.6; max-width: 320px; margin-inline: auto;
}

/* ===== GOLDEN COIN EVENT ===== */
.golden-coin {
    position: fixed; z-index: 500;
    font-size: 2.5rem; cursor: pointer;
    display: none; user-select: none;
    animation: goldenBob 1s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.6));
    transition: transform 0.1s;
}
.golden-coin.visible { display: block; }
.golden-coin:active { transform: scale(0.8); }

@keyframes goldenBob {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* ===== MODALS ===== */
.modal {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 16px;
}
.modal.open { display: flex; }
.modal.open .modal-content { animation: modalIn 0.3s var(--transition); }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content {
    background: var(--bg2);
    border-radius: 18px; width: 100%; max-width: 420px;
    max-height: 80vh; overflow-y: auto;
    box-shadow: var(--shadow), 0 0 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
}
.modal-sm { max-width: 340px; }

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.modal-header h2 { font-size: 1.1rem; }

.modal-close {
    background: none; border: none; color: var(--text2);
    font-size: 1.5rem; cursor: pointer;
    padding: 4px 8px; border-radius: 8px;
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.modal-body { padding: 16px 20px; }

/* Stats */
.stat-row {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stat-label { color: var(--text2); font-size: 0.85rem; }
.stat-value { font-weight: 600; font-size: 0.85rem; }

/* Achievements */
.ach-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: opacity 0.2s;
}
.ach-item.locked { opacity: 0.3; }
.ach-item.locked .ach-icon { filter: grayscale(1); }
.ach-icon { font-size: 1.5rem; flex-shrink: 0; }
.ach-info { flex: 1; }
.ach-name { font-weight: 600; font-size: 0.85rem; }
.ach-desc { font-size: 0.73rem; color: var(--text2); }

/* Settings */
.setting-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.setting-row label { font-size: 0.9rem; }
.setting-row input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--accent); cursor: pointer;
}

.settings-actions {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.settings-btn {
    flex: 1; min-width: 110px; padding: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text); border-radius: var(--radius-sm);
    cursor: pointer; font-size: 0.8rem;
    font-family: inherit; transition: all 0.2s;
}
.settings-btn:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.settings-btn.danger { border-color: rgba(255,82,82,0.2); color: var(--red); }
.settings-btn.danger:hover { background: rgba(255,82,82,0.08); }

.share-section {
    margin-top: 16px; text-align: center;
    padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05);
}
.share-section p { font-size: 0.8rem; color: var(--text2); margin-bottom: 8px; }
.share-btn {
    background: linear-gradient(135deg, #1da1f2, #0d8ecf);
    color: #fff; border: none; padding: 10px 24px;
    border-radius: var(--radius-sm); font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all 0.2s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(29,161,242,0.3); }

/* Offline modal */
.offline-body { text-align: center; }
.offline-msg { color: var(--text2); margin-bottom: 12px; }
.offline-amount {
    font-size: 2rem; font-weight: 900; color: var(--gold);
    margin: 8px 0;
    animation: offlinePop 0.5s var(--transition);
}
@keyframes offlinePop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.offline-coins-label {
    font-size: 0.8rem; color: var(--text2);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.offline-collect {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #1a1a00; border: none;
    padding: 12px 32px; font-size: 1rem; font-weight: 700;
    border-radius: var(--radius); cursor: pointer;
    font-family: inherit; transition: all 0.2s;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.offline-collect:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,215,0,0.4); }

/* ===== TOAST ===== */
.toast {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--bg3);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 12px 20px;
    display: flex; align-items: center; gap: 10px;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(255,215,0,0.15), 0 0 40px rgba(255,215,0,0.08);
    transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.35, 1.28);
    max-width: 360px;
    backdrop-filter: blur(10px);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { font-size: 1.5rem; animation: toastBounce 0.6s ease-out; }
@keyframes toastBounce {
    0% { transform: scale(0) rotate(-20deg); }
    60% { transform: scale(1.3) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
}
.toast-text { display: flex; flex-direction: column; gap: 2px; }
.toast-text strong { font-size: 0.85rem; color: var(--gold); }
.toast-text span { font-size: 0.73rem; color: var(--text2); }

/* ===== SEO CONTENT ===== */
.seo-content {
    position: absolute; left: -9999px;
    width: 1px; height: 1px; overflow: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
    .coin-amount { font-size: 2rem; }
    .big-click { width: 130px; height: 130px; }
    .orbit-ring { width: 170px; height: 170px; }
    .coin-icon { font-size: 2.8rem; }
    .tab-btn { font-size: 0.68rem; padding: 8px 4px; }
}

@media (min-width: 600px) {
    .coin-amount { font-size: 3.2rem; }
    .big-click { width: 180px; height: 180px; }
    .orbit-ring { width: 220px; height: 220px; }
}
