/* Currency Display */
#currencyDisplay {
    position: fixed;
    top: 70px;
    right: 20px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.currency-item {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
}

.currency-icon {
    font-size: 24px;
}

#coinAmount {
    color: #FFD700;
}

#gemAmount {
    color: #00CED1;
}

/* Shop Modal */
.shop-modal {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.shop-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.shop-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.shop-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.shop-tab.active {
    color: #4ECDC4;
    border-bottom-color: #4ECDC4;
}

.shop-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.shop-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-item:hover {
    transform: translateY(-2px);
    border-color: #4ECDC4;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.shop-item.owned {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-item.owned::after {
    content: '✓ Owned';
    display: block;
    color: #00FF00;
    margin-top: 10px;
}

.shop-item-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.shop-item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.shop-item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.purchase-confirm {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #4ECDC4;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.btn-confirm {
    background: #4ECDC4;
    color: #000;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
}

.btn-cancel {
    background: #FF6B6B;
    color: #FFF;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
}

/* Daily Reward Modal */
.daily-reward-modal {
    max-width: 400px;
    text-align: center;
}

.daily-reward-content {
    padding: 20px;
}

.reward-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

#claimDailyBtn {
    background: #4ECDC4;
    color: #000;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

#claimDailyBtn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.5);
}

#claimDailyBtn:disabled {
    background: #666;
    cursor: not-allowed;
}

#dailyTimer {
    margin-top: 15px;
    color: #FFD93D;
}

/* Seasonal Event Styles */
.event-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    padding: 10px;
    text-align: center;
    z-index: 200;
    animation: eventPulse 2s ease-in-out infinite;
}

@keyframes eventPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.event-timer {
    font-size: 14px;
    color: #FFD93D;
    margin-left: 20px;
}

/* Winter Theme */
body.winter-theme {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
}

.winter-theme .snowflake {
    position: fixed;
    color: #FFF;
    user-select: none;
    pointer-events: none;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    to {
        transform: translateY(100vh);
    }
}

/* Halloween Theme */
body.halloween-theme {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%);
}

.halloween-theme .bat {
    position: fixed;
    font-size: 30px;
    animation: batFly 10s ease-in-out infinite;
}

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