:root {
    /* Colors */
    --bg-dark: #1E1E1E;
    --bg-darker: #151515;
    --bg-gradient: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
    --spark-gold: #FFD700;
    --spark-gold-dim: rgba(255, 215, 0, 0.2);
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 215, 0, 0.3);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-stats: 'Rajdhani', sans-serif;
}

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

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.gold { color: var(--spark-gold); }
.glow-text {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
}
.stats-font {
    font-family: var(--font-stats);
    font-weight: 700;
}

a {
    color: var(--spark-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 5rem 0; }
.page-top-padding { padding-top: 6rem; }

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Grid Systems */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    color: var(--bg-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--spark-gold);
    color: var(--spark-gold);
}

.btn-outline:hover {
    background: var(--spark-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Header & Nav */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-header:hover {
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--spark-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--spark-gold);
    transition: width 0.3s;
    box-shadow: 0 0 8px var(--spark-gold);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--spark-gold);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 80px;
    overflow: hidden;
}

#spark-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin-top: 4rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Feature Cards */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Projects Grid */
.projects-grid {
    margin-top: 2rem;
}

.project-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.project-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
}

.project-badge.art { color: #FF7B54; border-color: #FF7B54; }
.project-badge.music { color: #9B5DE5; border-color: #9B5DE5; }
.project-badge.design { color: #00F5D4; border-color: #00F5D4; }

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.squad-name {
    color: var(--spark-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 250px;
}

.gallery-item {
    padding: 0;
    cursor: pointer;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2rem;
    color: var(--spark-gold);
    text-shadow: 0 0 10px rgba(255,215,0,0.8);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    border: 2px solid var(--spark-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--spark-gold);
}

/* Voting System */
.voting-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.voting-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
}

.highlight-glow {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.voting-rank {
    font-family: var(--font-stats);
    font-size: 2rem;
    font-weight: 700;
    color: var(--spark-gold);
    min-width: 50px;
}

.voting-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.voting-info {
    flex-grow: 1;
}

.voting-info h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.voting-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.voting-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vote-counter {
    font-size: 1.5rem;
    color: #fff;
    min-width: 80px;
    text-align: right;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Team Showcase */
.squad-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.squad-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.squad-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--spark-gold);
}

.squad-specialty {
    font-size: 0.9rem;
    font-weight: 500;
}

.squad-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 4px;
    width: 0; /* Animated via JS */
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.squad-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #fff;
}

/* Blog */
.blog-card {
    padding: 0;
}

.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--spark-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact & Forms */
.contact-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--spark-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.info-item {
    margin-top: 1.5rem;
}

.info-item a {
    color: #fff;
    display: block;
    margin-top: 0.2rem;
}

.info-item a:hover {
    color: var(--spark-gold);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

/* Text Document Pages (Terms, Privacy, About) */
.text-document h3 {
    margin-top: 2rem;
    color: var(--spark-gold);
    font-size: 1.2rem;
}
.text-document p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--spark-gold);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--spark-gold);
    font-weight: bold;
    font-size: 0.8rem;
}

.social-icons a:hover {
    background: var(--spark-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .voting-card { flex-direction: column; text-align: center; }
    .voting-actions { justify-content: center; width: 100%; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links, .cta-nav { display: none; }
    .mobile-toggle { display: flex; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--spark-gold);
    }
    .hero-title { font-size: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}