/* styles.css - Fixed Vibrant Version */

:root {
    /* Vibrant Colors from HSLHS Kids */
    --primary-pink: #FF1F8E;
    --primary-purple: #9B4DFF;
    --primary-yellow: #FFD41F;
    --primary-blue: #00D4FF;
    --primary-orange: #FF6B3D;
    --primary-green: #00E5A0;
    
    --gradient-pink-purple: linear-gradient(135deg, #FF1F8E 0%, #9B4DFF 100%);
    --gradient-blue-purple: linear-gradient(135deg, #00D4FF 0%, #9B4DFF 100%);
    --gradient-yellow-orange: linear-gradient(135deg, #FFD41F 0%, #FF6B3D 100%);
    --gradient-rainbow: linear-gradient(135deg, #FF1F8E 0%, #9B4DFF 33%, #00D4FF 66%, #00E5A0 100%);
    
    --text-dark: #2D1B69;
    --text-light: #FFFFFF;
    --bg-light: #FFF5FC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-rainbow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stars-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-menu a:hover {
    background: var(--gradient-pink-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-login, .btn-dashboard {
    background: var(--gradient-pink-purple) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(155, 77, 255, 0.3);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 5rem;
    color: white;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.word-kids {
    color: var(--primary-yellow);
    animation: bounce 2s infinite;
}

.word-inspiring {
    color: white;
    animation: bounce 2s 0.3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 40px;
    font-style: italic;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    padding: 30px 40px;
    border-radius: 20px;
    border: 3px solid white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(155, 77, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fredoka One', cursive;
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 600;
}

.pulse {
    animation: pulse 2s infinite;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-yellow-orange);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 61, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 61, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary-pink);
    border: 3px solid white;
}

.btn-secondary:hover {
    background: var(--primary-pink);
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 5px;
    height: 10px;
    background: white;
    border-radius: 5px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Age Groups Section */
.age-groups {
    padding: 100px 50px;
    background: white;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    text-align: center;
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.age-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.age-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 4px solid;
}

.age-card.treasures {
    border-color: var(--primary-pink);
}

.age-card.sparks {
    border-color: var(--primary-yellow);
}

.age-card.stars {
    border-color: var(--primary-blue);
}

.age-card.trailblazers {
    border-color: var(--primary-purple);
}

.age-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 77, 255, 0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: 'Fredoka One', cursive;
}

.age-description {
    margin: 20px 0;
    color: #666;
}

.btn-explore {
    background: var(--gradient-pink-purple);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s;
}

.btn-explore:hover {
    transform: scale(1.1);
}

/* C.O.M.P.L.E.T.E Framework */
.complete-framework {
    padding: 100px 50px;
    background: var(--bg-light);
}

.complete-interactive {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.complete-letters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.letter-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.letter-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(155, 77, 255, 0.3);
}

.letter {
    font-size: 4rem;
    font-family: 'Fredoka One', cursive;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.letter-title {
    font-weight: 700;
    color: var(--text-dark);
}

.framework-detail {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

#detailTitle {
    color: var(--primary-pink);
    font-size: 2rem;
    margin-bottom: 20px;
}

#detailContent {
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

#detailActions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* HERALD Section */
.herald-section {
    padding: 100px 50px;
    background: var(--gradient-blue-purple);
    color: white;
}

.herald-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.herald-feature {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.herald-feature:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.btn-feature {
    background: white;
    color: var(--primary-purple);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 800;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-feature:hover {
    transform: scale(1.1);
}

/* Sponsorship Section */
.sponsorship-section {
    padding: 100px 50px;
    background: white;
}

.sponsorship-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.sponsor-card {
    background: white;
    color: var(--text-dark);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid var(--primary-purple);
}

.sponsor-card.featured {
    transform: scale(1.05);
    background: var(--gradient-pink-purple);
    color: white;
    box-shadow: 0 20px 40px rgba(155, 77, 255, 0.4);
}

.sponsor-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.rank-badge {
    font-size: 3rem;
    margin-bottom: 15px;
}

.reach-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Fredoka One', cursive;
    margin: 20px 0;
}

.price {
    font-size: 1.5rem;
    margin: 20px 0;
    opacity: 0.9;
}

.btn-sponsor {
    background: var(--gradient-yellow-orange);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-sponsor:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 107, 61, 0.4);
}

/* GlowFest Section */
.glowfest-section {
    padding: 100px 50px;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.glow-text {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px var(--primary-yellow);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.countdown-unit {
    background: var(--gradient-rainbow);
    padding: 30px 40px;
    border-radius: 15px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Fredoka One', cursive;
    color: white;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-glow {
    background: var(--primary-yellow);
    color: var(--text-dark);
    margin-top: 30px;
}

/* Join Section */
.join-section {
    padding: 100px 50px;
    background: var(--gradient-pink-purple);
    color: white;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.join-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.join-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
}

.join-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 50px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 2rem;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .complete-interactive {
        grid-template-columns: 1fr;
    }
    
    .framework-detail {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 3rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .age-cards-container,
    .herald-features,
    .sponsorship-levels,
    .join-options {
        grid-template-columns: 1fr;
    }
    
    .complete-letters {
        grid-template-columns: 1fr;
    }
    
    .age-groups,
    .complete-framework,
    .herald-section,
    .sponsorship-section,
    .glowfest-section,
    .join-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .age-icon,
    .feature-icon {
        font-size: 3rem;
    }
}

/* HTTN Distribution Section for Parents View */
.httn-distribution-section {
    padding: 100px 50px;
    background: #FFF5FC;
}

.httn-overview {
    max-width: 900px;
    margin: 0 auto 60px;
}

.httn-intro-text h3 {
    color: #FF1F8E;
    font-size: 2.5rem;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 20px;
}

.httn-intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.httn-intro-text ul {
    list-style: none;
    padding: 0;
}

.httn-intro-text ul li {
    font-size: 1.1rem;
    padding: 10px 0;
    color: #333;
    font-weight: 600;
}

.method-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.method-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(155, 77, 255, 0.3);
}

.method-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.3s;
}

.method-card:hover img {
    transform: scale(1.1);
}

.method-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 27, 105, 0.95), transparent);
    color: white;
    padding: 30px;
    transform: translateY(60%);
    transition: all 0.3s;
}

.method-card:hover .method-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(45, 27, 105, 0.98), rgba(45, 27, 105, 0.8));
}

.method-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Fredoka One', cursive;
}

.method-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0;
    transition: all 0.3s 0.1s;
}

.method-card:hover .method-overlay p {
    opacity: 1;
}

.btn-method {
    background: linear-gradient(135deg, #FFD41F, #FF6B3D);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s;
    opacity: 0;
}

.method-card:hover .btn-method {
    opacity: 1;
    transition: all 0.3s 0.2s;
}

.httn-request {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
}

.request-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 3px solid #9B4DFF;
    transition: all 0.3s;
}

.request-card h3 {
    color: #9B4DFF;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Fredoka One', cursive;
}

@media (max-width: 768px) {
    .httn-distribution-section {
        padding: 60px 20px;
    }
    .method-gallery {
        grid-template-columns: 1fr;
    }
    .method-overlay {
        transform: translateY(0);
    }
    .method-overlay p,
    .btn-method {
        opacity: 1;
    }
}