* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #00d4ff;
    --accent-dark: #0095b3;
    --dark: #0f0f1a;
    --dark-lighter: #1a1a2e;
    --dark-card: rgba(26, 26, 46, 0.8);
    --light: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.5);
    --glow-secondary: 0 0 20px rgba(236, 72, 153, 0.5);
    --glow-accent: 0 0 20px rgba(0, 212, 255, 0.5);
    --blur-glass: blur(20px);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Enhanced Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--dark-lighter) 0%, var(--dark) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    opacity: 0.7;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 80%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    top: 10%;
    right: 30%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    bottom: 20%;
    left: 10%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 60%;
    right: 10%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 3.2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    z-index: 1;
    position: relative;
    max-width: 500px;
    padding: 2rem;
    animation: loadingContentFadeIn 1s ease-out;
}

@keyframes loadingContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.loading-logo-ring {
    position: relative;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--secondary), var(--accent));
    animation: ringRotate 3s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-logo {
    background: var(--dark);
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.loading-text-container {
    margin-bottom: 3rem;
}

.loading-text {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}

.loading-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-progress-container {
    margin: 3rem 0;
    position: relative;
}

.loading-bar {
    width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loading-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-cyber);
    border-radius: 3px;
    position: relative;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.loading-glow {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0% { right: 100%; }
    100% { right: -10px; }
}

.loading-percentage {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: bold;
    text-align: center;
}

.loading-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out;
    box-shadow: 0 0 10px var(--accent);
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Page Container */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.8;
    animation: gradient-shift 20s ease infinite;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-cyber);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-30px) translateX(30px) rotate(90deg); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-60px) translateX(0px) rotate(180deg); 
        opacity: 0.1;
    }
    75% { 
        transform: translateY(-30px) translateX(-30px) rotate(270deg); 
        opacity: 0.2;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-glass);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
}

@keyframes gradient-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-logo {
    height: 80px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.8)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.typing-text {
    opacity: 0.8;
}

.dynamic-text {
    color: var(--accent);
    font-weight: 600;
    min-width: 200px;
    text-align: left;
}

.cursor {
    color: var(--primary);
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.primary-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-cyber);
    position: relative;
    overflow: hidden;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-cta:hover::before {
    left: 100%;
}

.secondary-cta {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-cta:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 15px;
    backdrop-filter: var(--blur-glass);
    min-width: 120px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

/* Features Section */
.features {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Events Section */
.section-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.events-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: var(--light);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-button.active {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.tab-button:hover {
    transform: translateY(-2px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--gradient);
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.leader-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

/* Special styling for faculty card */
.leader-card.faculty {
    border: 2px solid var(--secondary);
    box-shadow: 0 25px 60px rgba(236, 72, 153, 0.35);
    position: relative;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.12), rgba(255, 255, 255, 0.04));
}
.leader-card.faculty .leader-image {
    width: 200px;
    height: 200px;
    border-color: var(--secondary);
}
.faculty-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-2);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.leader-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4);
}

.leader-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);
    object-fit: cover;
    background: var(--gradient);
}

.leader-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.leader-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #cbd5e1;
    line-height: 1.6;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
    line-height: 1.8;
}

.about-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #cbd5e1;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 5rem auto;
    max-width: 1200px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-form h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
}

.contact-form .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Enhanced Thank You Page */
#thank-you {
    min-height: 100vh;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

#thank-you.active {
    display: flex;
}

.thank-you-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--dark-lighter) 0%, var(--dark) 70%);
    z-index: -1;
}

.thank-you-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.success-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    opacity: 0;
    animation: successParticleFloat 4s ease-in-out infinite;
}

.success-particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.success-particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.success-particle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.success-particle:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.success-particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.success-particle:nth-child(6) {
    top: 70%;
    right: 5%;
    animation-delay: 2.5s;
}

@keyframes successParticleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-50px) scale(1.2);
    }
}

.thank-you-container {
    background: var(--dark-card);
    backdrop-filter: var(--blur-glass);
    border: var(--border-glass);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: thankYouSlideIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes thankYouSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.thank-you-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-cyber);
    animation: successGlow 2s ease-in-out infinite alternate;
}

@keyframes successGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.success-animation {
    margin-bottom: 2rem;
    position: relative;
}

.checkmark-container {
    position: relative;
    display: inline-block;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-cyber);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    animation: checkmarkScale 0.8s ease-out 0.3s both;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

@keyframes checkmarkScale {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.checkmark-circle {
    stroke-dasharray: 62.83; /* 2 * π * 10 */
    stroke-dashoffset: 62.83;
    animation: drawCircle 1s ease-out 0.5s both;
}

.checkmark-path {
    stroke-dasharray: 12;
    stroke-dashoffset: 12;
    animation: drawPath 0.6s ease-out 1.2s both;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.success-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: var(--gradient-cyber);
    opacity: 0.3;
    filter: blur(20px);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 0.6; transform: scale(1.1); }
}

.thank-you-content {
    animation: contentFadeIn 0.8s ease-out 0.8s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 500;
}

.confirmation-details {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.confirmation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.confirmation-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.confirmation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.confirmation-text strong {
    color: var(--accent);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.confirmation-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.primary-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-cyber);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    color: white;
}

.secondary-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary-action:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-connect {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-connect p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .thank-you-container {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .checkmark {
        width: 80px;
        height: 80px;
    }
    
    .confirmation-details {
        gap: 1.5rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .primary-action,
    .secondary-action {
        justify-content: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        min-width: 150px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thank-you-container {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-subtitle {
        font-size: 1rem;
    }
    
    .confirmation-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .confirmation-icon {
        margin: 0;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 800px;
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .primary-cta,
    .secondary-cta {
        min-width: 200px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-radius: 0 0 20px 20px;
        border-top: 1px solid rgba(99, 102, 241, 0.3);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(99, 102, 241, 0.1);
    }

    .logo img {
        height: 30px;
    }

    .hero h1 {
        font-size: 2.8rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-logo {
        height: 70px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .dynamic-text {
        min-width: auto;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 160px;
        padding: 1.2rem;
    }

    .events-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .events-tabs {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .tab-button {
        min-width: 200px;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer-logo {
        height: 40px;
    }
    
    /* Reduce animations on mobile for better performance */
    .shape {
        animation-duration: 30s;
    }
    
    .feature-card:hover,
    .event-card:hover,
    .leader-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .leader-card,
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 2rem 1rem 0;
    }
    
    .contact-section {
        padding: 2rem 1rem;
        margin: 3rem 1rem;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .loading-text {
        font-size: 2rem;
    }
    
    /* Disable some heavy animations on very small screens */
    .shape {
        display: none;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape,
    #particles-js {
        display: none;
    }
}

/* Scroll Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Navigation */
nav {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Card Effects */
.feature-card, .event-card, .leader-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

/* Enhanced Hover States */
.feature-card:hover,
.event-card:hover,
.leader-card:hover {
    box-shadow: 0 25px 80px rgba(99, 102, 241, 0.4);
}

/* Enhanced Button Animations */
.cta-button,
.tab-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button::after,
.tab-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after,
.tab-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Admin Styles */
.admin-access {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-access.show {
    opacity: 1;
}

.admin-btn {
    background: var(--gradient-2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.admin-btn.primary {
    background: var(--gradient-cyber);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.admin-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.admin-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.admin-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.admin-modal-content {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    min-width: 400px;
    max-width: 90vw;
    backdrop-filter: var(--blur-glass);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-modal-header h2 {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.admin-modal-close:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.admin-form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.admin-login-btn {
    width: 100%;
    background: var(--gradient-cyber);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* Admin Dashboard */
.admin-dashboard {
    background: var(--dark);
    min-height: 100vh;
    padding-top: 100px;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Announcement Form */
.announcement-form {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: var(--blur-glass);
    animation: fadeInUp 0.3s ease;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h3 {
    color: var(--accent);
    margin: 0;
}

.close-form-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-form-btn:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Announcements Display */
.announcements-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.announcement-card {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-glass);
    transition: all 0.3s;
    animation: fadeInUp 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.announcement-title {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.announcement-subject {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.announcement-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-details {
    color: var(--light);
    line-height: 1.6;
    margin: 1.5rem 0;
    white-space: pre-wrap;
}

.announcement-media {
    margin: 1.5rem 0;
}

.announcement-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
}

.announcement-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.announcement-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-videos iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.announcement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.announcement-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.announcement-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Admin Announcements List */
.admin-announcements {
    margin-top: 3rem;
}

.admin-announcements h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-announcement-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s;
}

.admin-announcement-item:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.admin-announcement-info {
    flex: 1;
}

.admin-announcement-info h4 {
    color: var(--accent);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.admin-announcement-info p {
    color: var(--text-muted);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.admin-announcement-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-announcement-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-btn {
    background: var(--gradient-cyber);
    color: white;
}

.edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.delete-btn {
    background: var(--gradient-2);
    color: white;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.loading-announcements,
.loading-admin-announcements {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
}

.no-announcements {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

/* Mobile Responsiveness for Admin */
@media (max-width: 768px) {
    .admin-access {
        right: 10px !important;
        top: 10px !important;
    }
    
    .admin-modal-content {
        min-width: auto;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .admin-announcement-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-announcement-actions {
        width: 100%;
        justify-content: center;
    }
    
    .announcement-images {
        grid-template-columns: 1fr;
    }
    
    .announcement-videos {
        grid-template-columns: 1fr;
    }
}


/* Register Button Styles for Event Cards */
.event-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-cyber);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.register-btn svg {
    transition: transform 0.3s ease;
}

.register-btn:hover svg {
    transform: translateX(3px);
}


/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-card);
    position: relative;
    animation: popupSlide 0.4s ease;
    overflow: hidden;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: var(--error);
    transform: scale(1.1);
}

.popup-header {
    background: var(--gradient-cyber);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-body {
    padding: 2rem;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-btn.primary {
    background: var(--primary);
    color: white;
}

.popup-btn.secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-btn:hover {
    transform: translateY(-2px);
}

.popup-btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow-primary);
}

.popup-btn.secondary:hover {
    color: var(--light);
    border-color: var(--primary);
}

/* Event Content in Popup */
.event-info {
    text-align: center;
}

.event-info h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.event-info .event-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.event-info .event-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-info .event-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive popup styles */
@media (max-width: 768px) {
    .popup-content {
        margin: 1rem;
    }
    
    .popup-header,
    .popup-body {
        padding: 1.5rem;
    }
    
    .popup-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
