/* CSS Variables and Theme Configuration */
:root {
    /* Base Color Palette (Dark Theme Default) 
       Inspired by African and Egyptian tones:
       - Deep Nile Blue
       - Desert Gold/Sand
       - Terracotta/Clay
       - Papyrus
    */
    --bg-darkest: #07090f;
    /* Deep Nile Night */
    --bg-darker: #0d111c;
    --bg-dark: #151b2b;

    --primary: #c28b36;
    /* Desert Gold */
    /* --primary-light: #e6a740;
    --primary-glow: rgba(230, 167, 64, 0.4); */
    
    --primary: #3E5172;       
    --primary-light: #50668b; /* Slightly lighter for hover states on dark backgrounds */
    --primary-glow: rgba(62, 81, 114, 0.4); /* Exact RGB match for the glow */
    
    --secondary: #2b5c5e;
    /* Oasis Teal */
    --secondary-light: #3d8285;

    --accent: #b04632;
    /* Terracotta / Red Clay */

    --text-main: #f5f2eb;
    /* Papyrus Off-White */
    --text-muted: #a8a29e;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary-light), var(--accent));
    --gradient-glow: linear-gradient(135deg, rgba(230, 167, 64, 0.1), rgba(176, 70, 50, 0.1));

    /* Glassmorphism settings */
    --glass-bg: rgba(21, 27, 43, 0.5);
    --glass-border: rgba(245, 242, 235, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --blur-amt: blur(12px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Light Theme Overrides */
html[data-theme="light"] {
    --bg-darkest: #fdfbf7;
    /* Light Sand */
    --bg-darker: #f5f2eb;
    /* Papyrus */
    --bg-dark: #ebe7dd;

    /* --primary: #3E5172;
    --primary-light: #c28b36;
    --primary-glow: rgba(194, 139, 54, 0.3); */

    --primary: #2c3a52;       /* Slightly darker base for better contrast on light backgrounds */
    --primary-light: #3E5172; /* Your exact chosen color for text and links */
    --primary-glow: rgba(62, 81, 114, 0.3); /* Exact RGB match for the shadow */

    --secondary: #1f4244;
    --secondary-light: #2b5c5e;

    --accent: #963b2a;

    --text-main: #1a1714;
    --text-muted: #5c564d;

    --glass-bg: rgba(253, 251, 247, 0.7);
    --glass-border: rgba(26, 23, 20, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(194, 139, 54, 0.1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Blurs */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.hue-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.hue-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: 10%;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-main);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.highlight {
    color: var(--primary-light);
}

.text-center {
    text-align: center;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.bg-darkest {
    background-color: var(--bg-darkest);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Glassmorphism Components */
.glass-effect,
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-amt);
    -webkit-backdrop-filter: var(--blur-amt);
    border: 1px solid var(--glass-border);
}

.glass-panel {
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur-amt);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1rem 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.year-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

 .mobile-menu-toggle {
    display: none;
} 

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    z-index: 10;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(244, 63, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    }
}

.hero-title {
    font-size: 5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    width: 100%;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-list span {
    color: var(--secondary-light);
    font-weight: bold;
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.about-visual {
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05));
}

.glow-box {
    position: relative;
    width: 200px;
    height: 200px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.floating-element {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
}

.el-1 {
    top: -20%;
    left: -20%;
    animation: float 6s infinite ease-in-out;
}

.el-2 {
    bottom: -20%;
    right: -20%;
    animation: float 7s infinite ease-in-out reverse;
}

.el-3 {
    top: 40%;
    right: -30%;
    font-size: 1.5rem;
    animation: float 5s infinite ease-in-out 1s;
}


/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.speaker-card {
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.speaker-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* Gradients for image placeholders to make it look premium even without real images */
.gradient-1 {
    background: linear-gradient(to top right, #3b82f6, #8b5cf6);
    opacity: 0.8;
}

.gradient-2 {
    background: linear-gradient(to top right, #f43f5e, #8b5cf6);
    opacity: 0.8;
}

.gradient-3 {
    background: linear-gradient(to top right, #0ea5e9, #3b82f6);
    opacity: 0.8;
}

.speaker-card:hover .image-placeholder {
    transform: scale(1.05);
}

.speaker-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.speaker-info .role {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.speaker-info .company {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Schedule Section */
.schedule-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-day {
    margin-bottom: 3rem;
    position: relative;
}

.day-header {
    display: inline-flex;
    flex-direction: column;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background: var(--gradient-brand);
    border: none;
    border-radius: 15px;
}

.day-header h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.day-header .date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.timeline-items {
    padding-left: 2rem;
    border-left: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    position: relative;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    transform: translateX(10px);
    border-color: rgba(139, 92, 246, 0.5);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.7rem;
    top: 2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--primary-light);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-item .time {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-light);
    min-width: 100px;
    padding-top: 0.2rem;
}

.timeline-item .content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item .content p {
    margin-bottom: 0;
}

/* Sponsors Section */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition-smooth);
    filter: grayscale(100%) opacity(0.7);
}

.sponsor-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(59, 130, 246, 0.1);
}

.sponsor-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.registration-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    width: 100%;
    margin: 2rem auto;
}

.glass-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0 1.5rem;
    color: var(--text-main);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    border-color: var(--primary-light);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.terms {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Theme Toggle and Dropdown Navbar Styles */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-amt);
    -webkit-backdrop-filter: var(--blur-amt);
    min-width: 160px;
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-main);
        transition: var(--transition-smooth);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .registration-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}


.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents the image from stretching */
    border-radius: 8px; /* Match this to your card's border radius or use 50% for circles */
    display: block;
}

.team-image {
    width: 150px; /* Adjust size based on your design */
    height: 150px;
    margin: 0 auto 15px;
    overflow: hidden;
}

/* /* This targets the links inside the mobile menu specifically */
.nav-menu.active a, 
.mobile-menu a {
    color: #ffffff !important; /* Forces text to white */
    font-size: 1.5rem;         /* Makes it easier to tap on mobile */
    display: block;
    padding: 15px 0;
    z-index: 1001;            /* Ensures text stays on top */
}

/* Optional: Add your gold color when hovering/clicking */
.nav-menu.active a:hover {
    color: #d4af37 !important; 
} */

/* --- ULTIMATE MOBILE MENU FIX --- */
@media (max-width: 992px) {
    /* 1. Force the menu background to use your theme variables */
    #main-nav .nav-links {
        background-color: var(--bg-darkest) !important; 
        box-shadow: var(--glass-shadow) !important;
    }

    /* 2. Force the text to use your theme variables */
    #main-nav .nav-links a:not(.btn),
    #main-nav .nav-links .dropbtn {
        color: var(--text-main) !important;
    }
    
    /* 3. Keep your gold hover effect */
    #main-nav .nav-links a:not(.btn):hover,
    #main-nav .nav-links .dropbtn:hover {
        color: var(--primary-light) !important;
    }
}

#about .team-image {
    width: 100%;          /* Tells it to fill its side of the grid */
    max-width: 500px;     /* Prevents it from getting too massive on huge screens */
    height: 350px;        /* Sets a nice, prominent height */
    margin: 0 auto;
    border-radius: 12px;  /* Gives it nice, modern rounded corners */
    box-shadow: var(--glass-shadow); /* Adds a subtle shadow to make it pop */
}

/* ============================================================
   2026 SITE ADDITIONS — countdown, legacy band, venue, register,
   dynamic speaker/team cards, mobile smoothness. Theme untouched.
   ============================================================ */

/* global smoothness / a11y (ported from the workspace site) */
html { scroll-padding-top: 90px; }
body { overflow-x: hidden; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px;
}
img { max-width: 100%; }

/* small hero used on subpages */
.page-hero { min-height: 16vh; padding-top: 6rem; }

/* hero meta line + tentative badge */
.hero-meta { color: var(--text-main); font-size: 1.05rem; margin-bottom: 2rem; }
.tentative-badge {
    display: inline-block; margin-left: .6rem; padding: .25rem .8rem; border-radius: 50px;
    font-size: .78rem; font-weight: 600; color: var(--accent);
    background: rgba(176, 70, 50, .12); border: 1px solid rgba(176, 70, 50, .35);
    vertical-align: middle;
}

/* countdown */
.countdown-grid {
    display: grid; grid-template-columns: repeat(4, minmax(70px, 150px));
    gap: 1rem; justify-content: center;
}
.countdown-cell { display: flex; flex-direction: column; align-items: center; padding: 1.5rem .5rem; border-radius: 16px; }
.cd-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 5vw, 3rem); color: var(--text-main); line-height: 1; }
.cd-label { margin-top: .5rem; font-size: .85rem; color: var(--text-muted); }

/* legacy / at-a-glance band */
.legacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.legacy-cell { display: flex; flex-direction: column; align-items: center; padding: 1.6rem 1rem; border-radius: 16px; text-align: center; }

/* venue */
.venue-card { max-width: 720px; margin: 0 auto; text-align: center; }
.venue-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.venue-card .btn { margin-top: 1rem; }

/* registration */
.register-body { margin-top: 1.5rem; }
.register-body .terms { margin-top: 1rem; }

/* dynamic speaker cards */
.spk-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.speaker-card:hover .spk-photo { transform: scale(1.05); }
.spk-initials {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 3rem; color: var(--text-main);
    background: var(--gradient-glow); border-radius: 12px;
}
.focus-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.focus-pill {
    padding: .2rem .7rem; border-radius: 50px; font-size: .72rem; font-weight: 600;
    color: var(--secondary-light); background: rgba(61, 130, 133, .12); border: 1px solid rgba(61, 130, 133, .35);
}
.cand-hint { color: var(--text-muted); font-size: .82rem; }

/* team grid (was undefined) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-card { padding: 1.8rem; text-align: center; transition: var(--transition-smooth); border-radius: 20px; }
.team-card:hover { transform: translateY(-8px); }
.team-card .team-image { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.2rem; }
.team-card .member-photo { border-radius: 50%; height: 100%; object-position: top center; }
.team-info h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-info .role { color: var(--primary-light); font-weight: 600; margin-bottom: .3rem; }
.team-info .bio { font-size: .88rem; margin-bottom: .6rem; }
.social-links-small { display: flex; gap: .8rem; justify-content: center; }
.social-links-small a {
    width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-border);
}
.social-links-small a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* sponsor placeholder small caption */
.sponsor-placeholder { text-align: center; }
.sponsor-placeholder small { display: block; font-size: .7rem; font-weight: 500; color: var(--text-muted); margin-top: .3rem; }

/* mobile polish */
@media (max-width: 768px) {
    .hero-meta { font-size: .95rem; }
    .tentative-badge { display: block; margin: .6rem auto 0; max-width: max-content; }
    .countdown-grid { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
    .countdown-cell { padding: 1rem .3rem; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.2rem; }
    .cta-card { padding: 2.5rem 1.2rem; }
}

/* hide scroll indicator on short viewports (overlapped hero stats) */
@media (max-height: 860px) { .scroll-indicator { display: none; } }

/* speaker card link icons (LinkedIn / website / scholar / profile) */
.speaker-card .spk-links { justify-content: flex-start; margin-top: .9rem; }

/* ============================================================
   MOBILE BOTTOM TAB BAR — app-like navigation (ported from the
   team workspace: solid bg to avoid scroll jank, safe-area pad,
   scrollable grid that auto-distributes tabs, active per page).
   ============================================================ */
.mobile-tabbar { display: none; }
.mobile-tabbar a { -webkit-user-select: none; user-select: none; }
.mobile-tabbar::-webkit-scrollbar { display: none; }

@media (max-width: 768px) {
    /* the tab bar replaces the hamburger menu entirely */
    .mobile-menu-toggle { display: none !important; }
    .nav-links { display: none !important; }

    .mobile-tabbar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(58px, 1fr);
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        position: fixed;
        top: auto; left: 0; right: 0; bottom: 0;
        margin: 0;
        width: 100%;
        z-index: 1200;
        gap: 2px;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        /* solid (not blurred) — backdrop-filter repaints every scroll frame = jank */
        background: var(--bg-darkest);
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
    }
    .mobile-tabbar a {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 4px; padding: 7px 2px; border-radius: 14px;
        color: var(--text-muted); font-size: .64rem; font-weight: 700;
        font-family: var(--font-heading); letter-spacing: .01em;
        text-decoration: none; min-height: 54px;
        transition: color .15s ease, background .15s ease, transform .1s ease;
    }
    .mobile-tabbar a svg { width: 22px; height: 22px; display: block; }
    .mobile-tabbar a span { line-height: 1; white-space: nowrap; }
    .mobile-tabbar a.active { color: var(--primary-light); background: var(--primary-glow); }
    .mobile-tabbar a:active { transform: scale(.92); background: rgba(255, 255, 255, .08); }

    /* keep page content + footer clear of the fixed bar */
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }

    /* compact top bar on mobile: logo + register pill + theme toggle */
    .navbar { padding: .6rem 0; }
    .logo { font-size: 1.15rem; }
}

/* participate cards + disabled form buttons */
.participate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.card-cta { padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; border-radius: 20px; }
.card-cta .pc-ic { font-size: 2rem; margin-bottom: .8rem; }
.card-cta h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.card-cta p { flex: 1; font-size: .92rem; }
.card-cta .btn { width: 100%; }
.btn-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }


/* dedicated contact email under participate cards */
.card-mail { display: block; margin-top: .7rem; font-size: .78rem; color: var(--text-muted); word-break: break-all; }
.card-mail:hover { color: var(--primary-light); }

/* speakers temporarily hidden - teaser cards */
.spk-tba .image-placeholder { filter: blur(2px) saturate(.6); opacity: .55; }
.spk-tba h3 { color: var(--text-muted); letter-spacing: .5px; }
