/* 
   PREMIUM SYLLABUS REDESIGN - CSS STYLING (ULTRA-SMOOTH 60FPS OPTIMIZED)
   ===================================================================
*/

/* 1. Hardware-Accelerated Static Cards (No Continuous Scroll Lag) */
.syllabus-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    
    transform: translateZ(0);
    position: relative;
    border-radius: 16px;
    padding: 20px 20px 20px 74px;
    overflow: hidden;
    
    /* Static High-Performance Luxury Background */
    background: linear-gradient(135deg, rgba(255, 253, 245, 0.96) 0%, rgba(248, 238, 215, 0.92) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 6px 20px rgba(92, 58, 33, 0.05);
    
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.syllabus-section.cs-bg .syllabus-card {
    background: linear-gradient(135deg, rgba(250, 253, 254, 0.96) 0%, rgba(230, 246, 250, 0.92) 100%);
    border-color: rgba(26, 122, 138, 0.35);
}

/* 2. Cursor Ambient Glow (Smooth Hover Only) */
.syllabus-card::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse at var(--mouse-x) var(--mouse-y), rgba(212, 175, 55, 0.22) 0%, transparent 65%);
    z-index: 0;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.syllabus-section.cs-bg .syllabus-card::before {
    background: radial-gradient(ellipse at var(--mouse-x) var(--mouse-y), rgba(26, 122, 138, 0.22) 0%, transparent 65%);
}

.syllabus-card:hover::before {
    opacity: 1;
}

/* 3. Golden Border Highlight */
.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    pointer-events: none;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.syllabus-section.cs-bg .card-border-glow {
    border-color: rgba(26, 122, 138, 0.2);
}

.syllabus-card:hover .card-border-glow {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.syllabus-section.cs-bg .syllabus-card:hover .card-border-glow {
    border-color: rgba(26, 122, 138, 0.75);
    box-shadow: 0 0 15px rgba(26, 122, 138, 0.25);
}

/* 4. Smooth Hover-Only Sheen Sweep (Zero GPU Scroll Lag) */
.card-refraction {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    border-radius: 16px;
    z-index: 1;
    opacity: 0;
}

.syllabus-card:hover .card-refraction {
    opacity: 1;
    animation: smoothSweep 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smoothSweep {
    0% { transform: translateX(0) skewX(-20deg); }
    100% { transform: translateX(330%) skewX(-20deg); }
}

/* 5. Icon Styling */
.sc-num-halo {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.syllabus-card:hover .sc-num-halo {
    transform: translateY(-50%) scale(1.4);
    opacity: 0.8;
}

/* Reading Focus Spotlight */
.syllabus-card.focus-active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    opacity: 0;
    animation: readingFocus 2s ease-in-out forwards;
    pointer-events: none;
    border-radius: 16px;
}

@keyframes readingFocus {
    0% { opacity: 0; }
    30% { opacity: 0.8; }
    70% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* Background Depth Layers */
.syllabus-depth-layers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.depth-layer {
    position: absolute;
    inset: 0;
}

.layer-radial-lights {
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

.syllabus-section.cs-bg .layer-radial-lights {
    background: radial-gradient(circle at 20% 80%, rgba(26, 122, 138, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(26, 122, 138, 0.05) 0%, transparent 40%);
}

/* Golden Accent Particles */
.golden-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 10px #d4af37;
    pointer-events: none;
    opacity: 0;
    animation: sparkleAnim 1.8s ease-in-out forwards;
}

.syllabus-section.cs-bg .golden-sparkle {
    background: #1a7a8a;
    box-shadow: 0 0 10px #1a7a8a;
}

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

/* Hover Lift */
.syllabus-card:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 14px 32px rgba(122, 74, 28, 0.12), 0 2px 8px rgba(122, 74, 28, 0.06);
    border-color: rgba(212, 175, 55, 0.7);
}

.syllabus-section.cs-bg .syllabus-card:hover {
    border-color: rgba(26, 122, 138, 0.7);
    box-shadow: 0 14px 32px rgba(26, 122, 138, 0.12), 0 2px 8px rgba(26, 122, 138, 0.06);
}

/* Progressive Reveal */
.gc-reveal-item.progressive-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gc-reveal.gc-active .gc-reveal-item.progressive-reveal {
    opacity: 1;
    transform: translateY(0);
}


