/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for Easy Customization */
:root {
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-pink: #ec4899;
    --dark-bg: #0f0f23;
    --darker-bg: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-purple: rgba(139, 92, 246, 0.5);
    --glow-blue: rgba(59, 130, 246, 0.5);
    --glow-pink: rgba(236, 72, 153, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--darker-bg);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(125deg, #0f0f23 0%, #1a0f2e 50%, #0f0f23 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 20% 50%, var(--glow-purple) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--glow-blue) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, var(--glow-pink) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.2;
}

/* Header & Navigation */
header {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    transition: width 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.main-event-logo,
.hackathon-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--glow-purple));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px var(--glow-purple)); }
    to { filter: drop-shadow(0 0 30px var(--glow-pink)); }
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.date-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 4px 20px var(--glow-purple);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Page Hero (for inner pages) */
.page-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899,
        #3b82f6,
        #8b5cf6
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 4s ease infinite;
    position: relative;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Particles Animation */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: float 20s infinite linear;
    box-shadow: 0 0 10px var(--glow-purple);
}

@keyframes float {
    from {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    to {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.introduction {
    padding: 6rem 0;
    position: relative;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intro-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.intro-card:hover::before {
    transform: translateX(0);
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Program Section */
.program {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
}

.week-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.week-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.week-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.05);
}

.week-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.week-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.week-topics {
    list-style: none;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.week-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.week-topics li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.week-cta {
    display: inline-block;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.week-cta:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

/* Speakers Section */
.speakers {
    padding: 6rem 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.speaker-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.speaker-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-purple);
}

.speaker-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: var(--primary-purple);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.speaker-topic {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Sponsors Section */
.sponsors-preview {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
}

.sponsor-logos {
    margin-top: 3rem;
}

.sponsor-tier {
    margin-bottom: 3rem;
}

.sponsor-tier h4 {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sponsor-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sponsor-logo {
    height: 60px;
    width: auto;
    filter: brightness(0.8);
    transition: all 0.3s;
}

.platinum .sponsor-logo {
    height: 80px;
}

.sponsor-logo:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.view-all-sponsors {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-sponsors:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    padding: 4rem 3rem;
    text-align: center;
    border-radius: 1rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cta-note {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
    transform: translateX(5px);
    display: inline-block;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--glow-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Form Styles (for Registration and Contact) */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px var(--glow-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-purple);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-purple), var(--primary-pink));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background: rgba(15, 15, 35, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .week-cards,
    .intro-grid,
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-logos {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-event-logo,
    .hackathon-logo {
        height: 80px;
    }
}

/* Fancy Register Button Styles */
.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px 40px;
    margin: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    border: 2px solid transparent;
}

.register-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.register-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 2;
    margin-right: 10px;
}

.btn-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: inherit;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.btn-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 2s ease-in-out infinite;
}

.btn-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles span:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.btn-particles span:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
}

.btn-particles span:nth-child(4) {
    top: 40%;
    left: 70%;
    animation-delay: 1.5s;
}

.btn-arrow {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.register-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.5;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .register-btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Or if you want to center just the button section */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* ==========================================
   SPEAKERS PAGE STYLES
   ========================================== */

/* Speakers Detail Grid */
.speakers-detail-section {
    padding: 4rem 2rem;
}

.speakers-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Speaker Detail Card */
.speaker-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.speaker-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
}

.speaker-detail-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

.speaker-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-detail-card:hover .speaker-detail-img {
    transform: scale(1.05);
}

.has-poster-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.speaker-detail-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.speaker-detail-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.speaker-detail-title {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
}

.speaker-detail-org {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.speaker-detail-talk {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.speaker-detail-talk h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.talk-abstract-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.speaker-detail-session {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.speaker-detail-session .icon {
    margin-right: 0.25rem;
}

.btn-view-details {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* ==========================================
   SPEAKER MODAL STYLES
   ========================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: var(--primary-purple);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.speaker-modal-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-speaker-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-purple);
    flex-shrink: 0;
}

.speaker-modal-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.speaker-modal-title {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.speaker-modal-org {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.speaker-modal-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.speaker-modal-social a {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.speaker-modal-social a:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.speaker-modal-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.speaker-modal-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.speaker-modal-section h4.talk-title {
    font-size: 1.2rem;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
}

.speaker-modal-section p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.session-info {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    flex-wrap: wrap;
}

.session-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.session-detail .icon {
    font-size: 1.2rem;
}

/* Poster Section */
.poster-section {
    background: rgba(139, 92, 246, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.poster-preview {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.poster-thumbnail {
    width: 250px;
    height: auto;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.poster-thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-purple);
}

.poster-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-purple);
}

/* ==========================================
   POSTER LIGHTBOX STYLES
   ========================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: move;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-purple);
    transform: rotate(90deg);
}

.lightbox-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-btn:hover {
    background: var(--primary-purple);
    transform: scale(1.1);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 600px;
}

.error-message h3 {
    color: #f87171;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-secondary);
}

/* ==========================================
   RESPONSIVE DESIGN FOR SPEAKERS
   ========================================== */

@media (max-width: 768px) {
    .speakers-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .speaker-modal-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .modal-speaker-image {
        width: 150px;
        height: 150px;
    }

    .speaker-modal-info h2 {
        font-size: 1.5rem;
    }

    .poster-preview {
        flex-direction: column;
    }

    .poster-thumbnail {
        width: 100%;
    }

    .session-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .lightbox-content img {
        max-height: 75vh;
    }
}

/* ==========================================
   MIND-BLOWING ENHANCEMENTS
   ========================================== */

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.75, -0.5, 0.25, 1.5);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.cursor-glow {
    position: fixed;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(10px);
}

/* Custom cursor - keeping default cursor visible for better UX */
/* Removed cursor: none to ensure users always have a visible cursor */
@media (min-width: 769px) {
    body.custom-cursor-active {
        /* cursor: none; - Commented out to maintain default cursor visibility */
    }

    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active .week-card,
    body.custom-cursor-active .intro-card,
    body.custom-cursor-active .speaker-card {
        /* cursor: none !important; - Commented out to maintain default cursor visibility */
    }
}

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch {
    animation: glitch 0.3s infinite;
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: #ff00ff;
    z-index: -1;
    animation: glitch-1 0.3s infinite;
}

.glitch::after {
    color: #00ffff;
    z-index: -2;
    animation: glitch-2 0.3s infinite;
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0);
    }
    33% {
        transform: translate(-2px, -2px);
    }
    66% {
        transform: translate(2px, 2px);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0);
    }
    33% {
        transform: translate(2px, 2px);
    }
    66% {
        transform: translate(-2px, -2px);
    }
}

/* Enhanced Card Hover with Holographic Effect */
.week-card,
.intro-card,
.speaker-card,
.organizer-card,
.speaker-detail-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.week-card::before,
.intro-card::before,
.speaker-card::before,
.organizer-card::before,
.speaker-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.2),
        transparent
    );
    transition: left 0.5s;
    z-index: 1;
}

.week-card:hover::before,
.intro-card:hover::before,
.speaker-card:hover::before,
.organizer-card:hover::before,
.speaker-detail-card:hover::before {
    left: 100%;
}

/* Neon Glow Animation */
@keyframes neon-glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(139, 92, 246, 0.8),
            0 0 20px rgba(139, 92, 246, 0.6),
            0 0 30px rgba(139, 92, 246, 0.4),
            0 0 40px rgba(236, 72, 153, 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(139, 92, 246, 1),
            0 0 30px rgba(139, 92, 246, 0.8),
            0 0 40px rgba(139, 92, 246, 0.6),
            0 0 50px rgba(236, 72, 153, 0.5);
    }
}

/* Removed conflicting neon-glow animation - consolidated below */

/* Holographic Background Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(139, 92, 246, 0.05) 40%,
        rgba(236, 72, 153, 0.05) 50%,
        rgba(59, 130, 246, 0.05) 60%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: holographic 10s ease infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes holographic {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Advanced Button Effects */
.cta-button,
.btn-primary,
.week-cta {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before,
.btn-primary::before,
.week-cta::before {
    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;
    z-index: -1;
}

.cta-button:hover::before,
.btn-primary:hover::before,
.week-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Particle Trail Effect */
@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.quantum-particle {
    animation: particle-float 15s linear infinite;
}

/* Enhanced Modal Animations */
.modal.active .modal-content {
    animation: modalZoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalZoomIn {
    0% {
        transform: scale(0.5) rotateX(-30deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotateX(0);
        opacity: 1;
    }
}

.lightbox.active .lightbox-content img {
    animation: imageReveal 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes imageReveal {
    0% {
        transform: scale(0.8);
        opacity: 0;
        filter: blur(20px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #3b82f6);
    z-index: 10001;
    transition: width 0.1s;
}

/* Enhanced Stats Section */
.hero-stats .stat {
    transition: all 0.4s ease;
}

.hero-stats .stat:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    box-shadow:
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 20px rgba(236, 72, 153, 0.2);
}

/* Floating Animation for Icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-icon,
.intro-card h3::before {
    animation: float 3s ease-in-out infinite;
}

/* Glass Morphism Enhanced */
header,
.modal-content,
.week-card,
.intro-card {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Rainbow Border Animation */
@keyframes rainbow-border {
    0% {
        border-color: #8b5cf6;
    }
    33% {
        border-color: #ec4899;
    }
    66% {
        border-color: #3b82f6;
    }
    100% {
        border-color: #8b5cf6;
    }
}

.speaker-detail-card:hover,
.week-card:hover,
.intro-card:hover {
    animation: rainbow-border 3s linear infinite;
}

/* Ripple Effect on Click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Text Gradient Animation */
@keyframes gradient-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Moved to .page-title and .section-title definitions above - no duplicate needed */

.section-title {
    background: linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899,
        #3b82f6,
        #8b5cf6
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 4s ease infinite;
    position: relative;
}

/* Pulsating Glow for Important Elements */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(236, 72, 153, 0.8);
    }
}

.cta-button.primary:hover,
.registration-button:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Smooth Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Enhanced Nav Links - Disabled to prevent conflict with existing styles */
/* Navigation already has proper underline styling defined earlier in the CSS */

/* Loading Animation */
@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top: 3px solid #8b5cf6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: loading-spin 1s linear infinite;
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}