/*
================================================
|                                              |
|            ICT CLUB - SHOWCASE UI            |
|       Theme: Soft Modern (Gunmetal/Cyan)     |
|                                              |
================================================
*/

:root {
    /* === UNIFIED THEME: "Soft Modern" === */
    --bg-color: #111827;       /* Deep Gunmetal */
    --bg-secondary: #1F2937;   /* Lighter Slate */
    
    /* Surfaces */
    --card-bg: rgba(31, 41, 55, 0.6); 
    --card-hover: rgba(55, 65, 81, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-color: #F3F4F6;
    --text-muted: #9CA3AF;
    
    /* === ACCENTS === */
    /* Primary: Apricot/Orange Warmth */
    --primary-glow: #FDBA74; 
    
    /* Secondary: Pastel Cyan/Tech */
    --secondary-glow: #5EEAD4;
    
    /* Gradients */
    --grad-text: linear-gradient(135deg, #F3F4F6 30%, var(--primary-glow));
    --grad-glow: linear-gradient(135deg, var(--secondary-glow), var(--primary-glow));

    /* === TYPOGRAPHY === */
    --font-title: 'Qood', 'Monument Extended', system-ui, sans-serif;
    --font-header: 'Raligo', 'Medio', serif;
    --font-subtitle: 'Strenx', 'Bricolage Grotesque', sans-serif;
    --font-body: 'Xeroda', 'Satoshi', sans-serif;
    
    /* Transition Variables */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Setup */
body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 85px; /* Account for navbar */
    /* Subtle noise texture */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%23FFFFFF" fill-opacity="0.03"%3E%3Cpath d="M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

/* --- HERO SECTION --- */
.hero {
    min-height: calc(100vh - 85px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #1a2333 0%, var(--bg-color) 70%);
}

/* JS Grid Container */
.hero-visuals {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Individual Grid Dots */
.grid-dot {
    position: absolute;
    width: 3px; height: 3px;
    background-color: var(--secondary-glow);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--secondary-glow);
    animation: twinkle 4s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.1; }
    100% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-glow);
    font-family: var(--font-subtitle);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.status-dot {
    width: 8px; height: 8px;
    background-color: var(--secondary-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-glow);
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(253, 186, 116, 0.15));
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-actions { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 2; opacity: 0.7;
}
.mouse {
    width: 26px; height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex; justify-content: center; padding-top: 8px;
}
.wheel {
    width: 4px; height: 8px;
    background-color: var(--secondary-glow);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0; } }

/* --- SECTION HEADERS --- */
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 {
    font-family: var(--font-header);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-color);
    display: inline-block;
    position: relative;
    font-weight: normal;
}
.section-header h2::after {
    content: ''; position: absolute;
    bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 3px;
    background: var(--grad-glow);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.section-header:hover h2::after { width: 80px; }
.section-subtitle {
    font-family: var(--font-subtitle);
    margin-top: 1rem; color: var(--text-muted); letter-spacing: 0.5px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    position: relative; overflow: hidden;
    gap: 0.5rem;
}
.btn-primary {
    background-color: var(--secondary-glow);
    color: var(--bg-color);
    box-shadow: 0 0 20px -5px rgba(94, 234, 212, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #CCFBF1;
    box-shadow: 0 0 30px -5px rgba(94, 234, 212, 0.6);
}
.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    border-color: var(--primary-glow);
    color: var(--primary-glow);
    background: rgba(253, 186, 116, 0.05);
}

/* --- EXPLORE SECTION --- */
.explore-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
}
.explore-icon-wrapper {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(94, 234, 212, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary-glow);
}
.explore-card p { font-size: 1.1rem; color: var(--text-color); font-family: var(--font-body); }

/* --- PHILOSOPHY --- */
.philosophy-section {
    padding: 4rem 0;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(31, 41, 55, 0.2);
}
.quote-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.philosophy-section blockquote {
    font-family: var(--font-header);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-color);
    line-height: 1.4;
    margin: 2rem 0;
    font-style: italic;
}
.quote-decoration {
    display: block; width: 40px; height: 4px;
    background: var(--primary-glow);
    margin: 0 auto; border-radius: 2px;
}
.quote-author {
    color: var(--text-muted);
    font-family: var(--font-subtitle);
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- HIGHLIGHTS TABS --- */
.highlights-container { display: flex; flex-direction: column; gap: 2rem; }
.highlight-tabs {
    display: flex; justify-content: center; gap: 1rem;
    position: relative;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto 3rem;
}
.highlight-tab {
    background: transparent; border: none;
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-subtitle);
    display: flex; align-items: center; gap: 8px;
    transition: color var(--transition-fast);
    position: relative; z-index: 2;
}
.highlight-tab:hover { color: var(--text-color); }
.highlight-tab.active { color: var(--bg-color); font-weight: bold; }

/* Dynamic Highlighter Pill */
.tab-highlighter {
    position: absolute;
    top: 6px; left: 6px;
    height: calc(100% - 12px);
    background: var(--secondary-glow);
    border-radius: 8px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 0; 
}

/* --- CONTENT CARDS --- */
.highlight-content-wrapper { position: relative; min-height: 400px; }
.highlight-content {
    display: none; opacity: 0;
    transform: translateY(20px);
}
.highlight-content.active { display: block; opacity: 1; transform: translateY(0); transition: all 0.5s ease; }

.cards-grid, .events-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex; flex-direction: column; gap: 1rem;
    position: relative;
    backdrop-filter: blur(12px);
}
.card:hover {
    border-color: var(--primary-glow);
    transform: translateY(-8px);
    box-shadow: 0 10px 40px -10px rgba(253, 186, 116, 0.2);
    background: var(--card-hover);
}
.card-icon {
    width: 48px; height: 48px;
    background: rgba(253, 186, 116, 0.1);
    color: var(--primary-glow);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.card h3 { color: var(--text-color); font-size: 1.3rem; margin-bottom: 0.5rem; font-family: var(--font-header);}
.card p { font-size: 0.95rem; color: var(--text-muted); }
.card-arrow {
    margin-top: auto; align-self: flex-end;
    color: var(--text-muted); transition: transform 0.3s;
}
.card:hover .card-arrow { transform: translateX(5px); color: var(--primary-glow); }

/* EVENT CARDS */
.event-card {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 16/10; text-decoration: none;
    border: 1px solid var(--border-color);
}
.event-card-img-wrapper { width: 100%; height: 100%; }
.event-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.event-card:hover img { transform: scale(1.1); }
.event-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.4));
    padding: 1.5rem;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.event-meta {
    font-size: 0.8rem; color: var(--secondary-glow);
    text-transform: uppercase; margin-bottom: 0.5rem;
    font-weight: bold; font-family: var(--font-subtitle);
}
.event-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.25rem; font-family: var(--font-header);}
.event-card .event-desc {
    color: #cbd5e1; font-size: 0.9rem;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: all 0.4s ease;
}
.event-card:hover .event-desc { max-height: 50px; opacity: 1; }

/* LEADERBOARD CARD */
.leaderboard-showcase-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    display: flex; align-items: center; justify-content: space-between;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-fast);
}
.leaderboard-showcase-card:hover {
    border-color: var(--secondary-glow);
    box-shadow: 0 10px 40px -10px rgba(94, 234, 212, 0.2);
    transform: translateY(-5px);
}
.leaderboard-showcase-content { z-index: 2; max-width: 50%; }
.leaderboard-badge {
    background: rgba(253, 186, 116, 0.1); color: var(--primary-glow);
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem;
    display: inline-block; margin-bottom: 1rem; border: 1px solid rgba(253, 186, 116, 0.2);
}
.leaderboard-showcase-title { font-size: 2rem; color: #fff; margin-bottom: 1rem; font-family: var(--font-header); }
.leaderboard-showcase-desc { color: var(--text-muted); margin-bottom: 2rem; }
.leaderboard-showcase-link {
    display: flex; align-items: center; gap: 10px;
    color: var(--secondary-glow); font-weight: bold;
}

.leaderboard-showcase-visual {
    display: flex; align-items: flex-end; gap: 1rem;
    height: 150px; padding-right: 2rem;
}
.rank-card {
    width: 60px; background: rgba(255,255,255,0.05);
    border-radius: 8px 8px 0 0; position: relative;
}
.rank-2 { height: 80px; }
.rank-1 {
    height: 120px; background: linear-gradient(to top, rgba(253, 186, 116, 0.2), transparent);
    border-top: 2px solid var(--primary-glow);
}
.rank-3 { height: 60px; }
.crown-icon {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    color: var(--primary-glow); animation: float 3s infinite ease-in-out;
}
@keyframes float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .leaderboard-showcase-card { flex-direction: column; text-align: center; }
    .leaderboard-showcase-content { max-width: 100%; margin-bottom: 2rem; }
    .leaderboard-showcase-visual { justify-content: center; padding-right: 0; }
    .leaderboard-showcase-link { justify-content: center; }
}

@media (max-width: 768px) {
    .highlight-tabs { flex-wrap: wrap; width: 100%; border-radius: 12px; }
    .tab-text { display: none; }
    .highlight-tab { padding: 10px 15px; }
    .hero-title { font-size: 2.5rem; }
}