/* Base Variables - Electric Theme */
:root {
    --bg-color: #05050a;
    --bg-light: #0f0f1a;
    --electric-blue: #00f3ff;
    --electric-blue-dark: #0088ff;
    --neon-purple: #bc13fe;
    --neon-purple-dark: #7a00ff;
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    --lightning-white: #ffffff;
    --error-red: #ff3366;
    --success-green: #00ff9d;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-tamil: 'Noto Sans Tamil', sans-serif;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, .logo, .year {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.tamil-text {
    font-family: var(--font-tamil);
    font-weight: 900;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.section-title span {
    color: var(--electric-blue);
    text-shadow: 0 0 15px var(--electric-blue);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 5rem 0;
}

.mb-4 { margin-bottom: 2rem; }

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Background Canvas */
#lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}


/* Navbar */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
}

.logo .tamil-text {
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple);
}

.logo .year {
    color: var(--electric-blue);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    padding: 2px 10px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--electric-blue);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.1) 0%, rgba(5, 5, 10, 1) 70%);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1rem;
    color: var(--lightning-white);
    text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--electric-blue);
    animation: flashTitle 4s infinite alternate;
}

.hero-title .tamil-text {
    color: var(--electric-blue);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.meaning {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.event-details {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.event-details p {
    margin: 5px 0;
}

.event-details i {
    color: var(--neon-purple);
    margin-right: 10px;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--electric-blue);
    padding: 1rem;
    border-radius: 8px;
    min-width: 90px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.countdown-item span:first-child {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-glow {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    box-shadow: 0 0 15px var(--electric-blue), inset 0 0 10px var(--electric-blue);
}

.btn-glow:hover {
    background: var(--electric-blue);
    color: var(--bg-color);
    box-shadow: 0 0 30px var(--electric-blue), inset 0 0 20px var(--lightning-white);
    transform: translateY(-3px);
}

.btn-pulse {
    background: var(--neon-purple);
    color: var(--lightning-white);
    box-shadow: 0 0 20px var(--neon-purple);
    animation: pulse 2s infinite;
}

.btn-pulse:hover {
    background: var(--neon-purple-dark);
    box-shadow: 0 0 30px var(--neon-purple);
    transform: scale(1.05);
}

/* Home Subsections */
.home-subsections {
    padding: 2rem 0 5rem;
}

.card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(188, 19, 254, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.3);
    border-color: var(--neon-purple);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    animation: scanline 3s linear infinite;
}

.card-icon {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--neon-purple);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--lightning-white);
}

.img-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(188, 19, 254, 0.1);
    border: 2px dashed var(--neon-purple);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--neon-purple);
}

/* About Section */
.about-symposium {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 136, 255, 0.05) 100%);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
}

.about-content em {
    color: var(--neon-purple);
    font-style: normal;
    font-weight: 700;
}

/* Events Section */
.event-category-title {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-category-title i {
    color: var(--electric-blue);
}

.event-card {
    background: var(--bg-light);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
}

.event-card h4 {
    font-size: 1.4rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.event-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.event-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 243, 255, 0.05);
    transition: height 0.4s ease;
    z-index: 1;
}

.event-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.event-card:hover::after {
    height: 100%;
}

.spark-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--lightning-white);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px 5px var(--electric-blue);
    pointer-events: none;
    z-index: 3;
}

.event-card:hover .spark-effect {
    animation: sparkFly 0.8s ease-out;
}

/* Registration Section */
.register-section {
    background: radial-gradient(circle at center, rgba(188, 19, 254, 0.05) 0%, var(--bg-color) 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(188, 19, 254, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--neon-purple);
    margin-right: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    background: rgba(5, 5, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;
}

input:focus, select:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    cursor: pointer;
    font-size: 1.1rem;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--neon-purple);
    width: 18px;
    height: 18px;
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--success-green);
    border-radius: 8px;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.success-message p {
    font-size: 1.2rem;
    color: var(--success-green);
    margin-top: 1rem;
}

.pulse-icon {
    font-size: 3rem;
    color: var(--success-green);
    animation: pulse 2s infinite;
}

.hidden {
    display: none;
}

/* Committee Section */
.committee-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

.committee-card:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    transform: translateY(-5px);
}

.committee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.committee-img {
    width: 80px;
    height: 80px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
}

.committee-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.role {
    color: var(--neon-purple);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact & Footer */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    border: 1px solid rgba(188, 19, 254, 0.2);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.contact-card h4 {
    margin-bottom: 0.5rem;
}

footer {
    background: #020205;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.footer-logo .tamil-text {
    color: var(--neon-purple);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--electric-blue);
    border-color: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations Core */
@keyframes flashTitle {
    0%, 100% { text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--electric-blue); }
    50% { text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--electric-blue), 0 0 60px var(--lightning-white); opacity: 0.9; }
    52% { opacity: 1; text-shadow: 0 0 30px #fff, 0 0 50px var(--electric-blue); }
    54% { opacity: 0.9; }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px var(--neon-purple); }
    50% { transform: scale(1.02); box-shadow: 0 0 25px var(--neon-purple), 0 0 10px var(--lightning-white); }
    100% { transform: scale(1); box-shadow: 0 0 10px var(--neon-purple); }
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes sparkFly {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -150%) scale(1.5); box-shadow: 0 0 30px 10px var(--electric-blue); }
    100% { opacity: 0; transform: translate(-50%, -200%) scale(0); }
}

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

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 10, 0.95);
        padding: 20px;
        text-align: center;
        border-bottom: 2px solid var(--electric-blue);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .event-details {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .countdown-container {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.5rem;
    }
    
    .countdown-item span:first-child {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
