/* ========================================
   December 4th Locked Section
   ======================================== */
.december-locked-section {
    padding: var(--spacing-xl) 0;
    max-width: 1000px;
    margin: 4rem auto;
    min-height: 600px;
    position: relative;
}

.locked-overlay {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.95), rgba(10, 10, 30, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.6),
        inset 0 0 100px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.locked-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: lockedGlow 4s ease-in-out infinite;
}

@keyframes lockedGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

.locked-content {
    position: relative;
    z-index: 1;
}

.lock-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 193, 7, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lockPulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 215, 0, 0.5);
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    }
}

.lock-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1));
}

.locked-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.locked-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locked-message {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: var(--spacing-lg) 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.locked-teaser {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: var(--spacing-lg);
    animation: teaser Pulse 1.5s ease-in-out infinite;
}

@keyframes teaserPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Hide locked overlay when December 4th arrives */
.locked-overlay.unlocked {
    display: none;
}

/* ========================================
   Scroll Reveal Animations (Task 28)
   ======================================== */
.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal-section {
        opacity: 1;
        transform: none;
    }
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Lazy loading image placeholder */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s;
}

img[data-src].loaded {
    filter: blur(0);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .locked-overlay {
        padding: 3rem 1.5rem;
    }
    
    .locked-title {
        font-size: 2.2rem;
    }
    
    .locked-subtitle {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 1rem 1.5rem;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .locked-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .lock-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .lock-icon {
        width: 50px;
        height: 50px;
    }
    
    .locked-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 0.8rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 1rem;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}
