/* =========================================================================
   DAILY CASE & CS:GO REEL UNBOXING
   ========================================================================= */

.daily-card {
    background: linear-gradient(165deg, rgba(14, 28, 64, 0.96) 0%, rgba(6, 12, 28, 0.98) 60%, rgba(2, 6, 16, 0.99) 100%),
                radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.35) 0%, transparent 75%);
    border: 2px solid rgba(0, 210, 255, 0.65);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(0, 130, 255, 0.5);
    border-radius: 32px;
    padding: 32px 22px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    width: 90%;
    max-width: 355px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 50px rgba(0, 210, 255, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -2px 10px rgba(0, 210, 255, 0.2);
    overflow: hidden;
    box-sizing: border-box;
    transform: translateZ(0);
}

.daily-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(0, 210, 255, 0.4), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.case-glow-podium {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 90px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.45) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
    animation: podium-pulse 3s ease-in-out infinite alternate;
}

@keyframes podium-pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.case-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #00d2ff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 260px 80px, #00d2ff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 200px 120px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 280px 200px;
    opacity: 0.8;
    animation: sparkles-float 4s linear infinite;
}

@keyframes sparkles-float {
    0% { transform: translateY(0); opacity: 0.4; }
    50% { opacity: 0.9; }
    100% { transform: translateY(-15px); opacity: 0.4; }
}

.daily-img {
    width: 280px;
    height: 280px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: -20px auto 0 auto;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.6));
    transition: transform 0.3s;
}

.daily-card.floating {
    animation: float-case 4s ease-in-out infinite;
}

@keyframes float-case {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.daily-card.shaking {
    animation: shake-case 0.5s cubic-bezier(.36,.07,.19,.97) both infinite;
}

@keyframes shake-case {
    10%, 90% { transform: translate(-1px, 0); }
    20%, 80% { transform: translate(1px, 0); }
    30%, 50%, 70% { transform: translate(-2px, 0); }
    40%, 60% { transform: translate(2px, 0); }
}

/* CS:GO Unboxing Tape Window */
.case-window {
    width: 100%;
    height: 130px;
    background: rgba(10, 15, 30, 0.85);
    border-top: 2px solid rgba(0, 210, 255, 0.5);
    border-bottom: 2px solid rgba(0, 210, 255, 0.5);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    display: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.case-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffd700;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 10px #ffd700;
}

.case-tape {
    display: flex;
    height: 100%;
    align-items: center;
    will-change: transform;
    transform: translateZ(0);
    padding-left: 50%;
}

.case-item-card {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    height: 100px;
    margin: 0 4px;
    box-sizing: border-box;
    background: rgba(20, 30, 55, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.case-item-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.case-item-card span {
    font-size: 10px;
    color: #aaa;
    text-align: center;
    max-width: 90%;
    overflow: hidden;
    white-space: nowrap;
}

/* Timers & Badges */
.timer-text {
    font-size: 20px;
    color: #aaa;
    margin-top: 10px;
}

.timer-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: monospace;
    font-weight: bold;
}

.timer-card {
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 6px;
    padding: 3px 6px;
    min-width: 24px;
    text-align: center;
    color: #00d2ff;
    font-size: 13px;
    box-shadow: inset 0 0 8px rgba(0, 210, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 210, 255, 0.8);
}

.timer-colon {
    color: #00d2ff;
    font-weight: bold;
    font-size: 13px;
    animation: blink-colon 1s infinite;
}

@keyframes blink-colon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
