/* Custom Styles for Mega Pack Landing Page */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    }
}

/* CTA Button animations */
.cta-button {
    position: relative;
    overflow: hidden;
    animation: glow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0) scale(1);
}

/* Countdown styles */
#countdown {
    animation: bounce-in 1s ease-out;
}

#countdown > div > div:first-child {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-button {
        font-size: 1.25rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    #countdown {
        font-size: 1.5rem !important;
    }
    
    #countdown > div > div:first-child {
        padding: 0.5rem 1rem !important;
    }
}

/* Gradient background for sections */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Floating elements */
.floating {
    animation: float 3s ease-in-out infinite;
}

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

/* Enhanced check marks */
.check-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.check-item:hover {
    background-color: rgba(34, 197, 94, 0.1);
    transform: translateX(5px);
}

/* Loading state for countdown */
.countdown-loading {
    background: linear-gradient(90deg, #ef4444, #dc2626, #ef4444);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Special highlight for blue items */
.blue-highlight {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(30px);
    animation: section-fade-in 0.8s ease-out forwards;
}

@keyframes section-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delays */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }

/* Emergency alert style */
.urgent-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    animation: urgent-pulse 1.5s ease-in-out infinite;
}

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