/* ============================================
   DAILY BONUS - MODERN DESIGN
   ============================================ */

.daily-bonus-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
}

.daily-bonus-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.98) 0%, rgba(15, 25, 35, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

/* Header */
.daily-bonus-wrapper .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    flex-shrink: 0;
}

.daily-bonus-wrapper h1 {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.daily-bonus-wrapper .close-btn {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    font-size: 24px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-bonus-wrapper .close-btn:hover {
    background: rgba(255, 107, 107, 0.4);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    transform: scale(1.1);
}

/* Container */
.daily-bonus-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 20px;
}

/* Info Section */
.daily-bonus-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 136, 0.3);
}

.daily-bonus-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Days Grid */
.daily-bonus-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Day Card */
.daily-day-card {
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.95) 0%, rgba(15, 25, 40, 0.95) 100%);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.daily-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.daily-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 255, 136, 0.3);
}

.daily-day-card:hover::before {
    opacity: 1;
}

/* Active Day */
.daily-day-card.active {
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.daily-day-card.active::before {
    opacity: 1;
}

/* Completed Day */
.daily-day-card.completed {
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Day Header */
.daily-day-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 35px;
    z-index: 2;
}

.daily-day-header h2 {
    color: #00ff88;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Rewards */
.daily-rewards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.daily-reward-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.daily-reward-item:hover {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}

.daily-reward-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.daily-reward-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.daily-reward-info {
    flex: 1;
}

.daily-reward-amount {
    color: #00ff88;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.daily-reward-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 2px;
}

/* Claim Button */
.daily-claim-btn {
    width: auto;
    min-width: 180px;
    max-width: 80%;
    padding: 12px 30px;
    margin: 15px auto 0 auto;
    background: linear-gradient(135deg, #00cc70 0%, #00ff88 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.daily-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00ff88 0%, #00ffaa 100%);
}

.daily-claim-btn:active {
    transform: translateY(0);
}

/* Status Badge */
.daily-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.daily-status-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 2px solid #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    animation: pulse-badge 2s infinite;
}

.daily-status-badge.completed {
    background: rgba(100, 100, 100, 0.2);
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(100, 100, 100, 0.3);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scrollbar */
.daily-bonus-container::-webkit-scrollbar {
    width: 8px;
}

.daily-bonus-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.daily-bonus-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 4px;
}

.daily-bonus-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .daily-bonus-wrapper .menu-header {
        padding: 15px 20px;
    }
    
    .daily-bonus-wrapper h1 {
        font-size: 22px;
    }
    
    .daily-bonus-wrapper .close-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .daily-bonus-container {
        padding: 20px 15px;
    }
    
    .daily-bonus-days {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .daily-day-card {
        padding: 20px;
    }
    
    .daily-day-header h2 {
        font-size: 20px;
    }
    
    .daily-reward-amount {
        font-size: 18px;
    }
    
    .daily-claim-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .daily-bonus-wrapper h1 {
        font-size: 18px;
    }
    
    .daily-bonus-info p {
        font-size: 14px;
    }
}

/* Daily Bonus Button (Emoji) */
.daily-bonus .daily-bonus-emoji {
    font-size: 24px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
}

.daily-bonus:hover .daily-bonus-emoji {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.daily-bonus.active .daily-bonus-emoji {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
}
