:root {
    /* Color Palette */
    --primary: #07008f;
    --primary-light: #1c15af;
    --secondary: #090a39;
    --accent: #bfa041;
    --accent-light: #d4b860;
    
    --bg-light: #f8f9fc;
    --bg-dark: #050624;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: #a0a0b8;
    
    /* Fonts */
    --font-heading: 'Anton', sans-serif;
    --font-subheading: 'League Spartan', sans-serif;
    --font-body: 'Bricolage Grotesque', sans-serif;
    
    /* Layout */
    --container-max: 1200px;
    --section-spacing: 5rem;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
}

.dark-section {
    background-color: var(--secondary);
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.highlight {
    color: var(--accent);
}

.body-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a4a5a;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--secondary);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(191, 160, 65, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(9, 10, 57, 0.0);
}

.navbar.scrolled {
    background-color: rgba(9, 10, 57, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

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

.nav-links a {
    font-family: var(--font-subheading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-light);
}

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

.btn-nav {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--secondary);
    overflow: hidden;
    padding-top: 5rem;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 10, 57, 0.75);
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(7, 0, 143, 0.4) 0%, rgba(9, 10, 57, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-light) 0%, rgba(248, 249, 252, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(191, 160, 65, 0.1);
    color: var(--accent);
    font-family: var(--font-subheading);
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(191, 160, 65, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-info {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

.info-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(9, 10, 57, 0.4);
    border: 1px solid rgba(191, 160, 65, 0.3);
    border-radius: 8px;
    width: 80px;
    height: 80px;
    backdrop-filter: blur(5px);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* About Section Glassmorphism */
.about-section {
    background-color: var(--secondary);
    color: var(--text-light);
}

.about-section .section-title {
    color: var(--text-light);
}

.relative-overflow {
    position: relative;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    left: -150px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    bottom: -200px;
    right: -200px;
}

.about-card, .legacy-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 4rem 3rem;
    border-radius: 24px;
    height: 100%;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover, .legacy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(191, 160, 65, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-card p, .legacy-content p {
    color: var(--text-light) !important;
    opacity: 0.85;
}

.legacy-content h3 {
    color: var(--text-light) !important;
}

.legacy-icon {
    color: var(--accent) !important;
    background: rgba(191, 160, 65, 0.1) !important;
}

/* About Section Grid */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.legacy-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.legacy-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.legacy-icon {
    font-size: 2.5rem;
    background: rgba(7, 0, 143, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
}

.legacy-content h3 {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.legacy-content p {
    color: var(--text-muted);
}

/* Venue Section Slideshow (New Layout) */
.venue-section-full {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    overflow: hidden;
    padding: 6rem 0;
}

.venue-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.venue-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start; /* Moved to the left */
    width: 100%;
}

.venue-card {
    background: rgba(9, 10, 57, 0.4); /* High transparency */
    backdrop-filter: blur(25px); /* Strong blur */
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 2.5rem; /* Reduced padding */
    max-width: 480px; /* Reduced width */
    border: 1px solid rgba(191, 160, 65, 0.3); /* Subtle gold border */
    border-top: 4px solid var(--accent); /* Gold top accent */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.venue-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin-bottom: 1.5rem;
}

.venue-card-label {
    display: inline-block;
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.venue-card-title {
    font-family: var(--font-heading);
    font-size: 2.8rem; /* Smaller title */
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.venue-card-text {
    font-family: var(--font-body);
    font-size: 1rem; /* Smaller text */
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.venue-highlight-text {
    font-weight: 600;
    font-style: italic;
    color: var(--accent-light);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.venue-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.dot {
    cursor: pointer;
    height: 6px;
    width: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--accent);
    width: 40px;
}

/* Fading animation */
.fade {
    animation-name: fadeAnim;
    animation-duration: 2s;
}

@keyframes fadeAnim {
    from {opacity: 0.2} 
    to {opacity: 1}
}

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

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

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(191, 160, 65, 0.3);
}

.topic-card:hover::before {
    transform: scaleY(1);
}

.topic-tag {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.topic-title {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.topic-question {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.5;
}

/* Schedule Section */
.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.schedule-period {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(7, 0, 143, 0.1);
    padding-bottom: 1rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100px;
    width: 2px;
    height: 100%;
    background-color: rgba(7, 0, 143, 0.1);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 96px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--primary);
}

.time {
    width: 80px;
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.event-details {
    padding-left: 40px;
    flex-grow: 1;
}

.event-details h4 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.sub-event {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.highlight-item::after {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(7, 0, 143, 0.5);
}

.break-item .event-details h4 {
    color: var(--text-muted);
    font-weight: 400;
}

.break-item::after {
    border-color: var(--text-muted);
}

/* Sponsors Section */
.sponsors-tiers {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.tier-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.tier-ouro .tier-title { color: var(--accent); }
.tier-prata .tier-title { color: #e0e0e0; }
.tier-bronze .tier-title { color: #cd7f32; }

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.sponsor-slot {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sponsor-slot:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.slot-text {
    font-family: var(--font-subheading);
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slots-1 .sponsor-slot { width: 400px; height: 200px; }
.slots-2 .sponsor-slot { width: 300px; height: 150px; }
.slots-4 .sponsor-slot { width: 220px; height: 110px; }

.sponsor-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sponsor-cta p {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Institutional Support */
.support-section {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(7, 0, 143, 0.1);
}

.support-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.support-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.support-logo:hover {
    transform: translateY(-5px);
}

.support-logo img {
    max-height: 110px;
    max-width: 280px;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    margin-top: 1rem;
}

.footer-logo {
    height: 100px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.footer h4 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

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

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

.speaker-card {
    background-color: #ffffff;
    border: 1px solid rgba(7, 0, 143, 0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 3px solid var(--accent);
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(7, 0, 143, 0.2);
}

.speaker-name {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.speaker-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--secondary);
    color: var(--accent);
    transform: translateY(-5px);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .grid-2-col { grid-template-columns: 1fr; gap: 3rem; }
    .schedule-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    
    .mobile-menu-btn { display: flex; }
    
    /* Simple mobile menu toggled via class */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        padding: 2rem;
        text-align: center;
    }
    
    .hero {
        padding-top: 9rem;
    }
    
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .hero-actions { flex-direction: column; }
    
    .timeline::before { left: 60px; }
    .timeline-item::after { left: 56px; }
    .time { width: 50px; font-size: 0.9rem; padding-right: 10px; }
    .event-details { padding-left: 25px; }
    
    .slots-1 .sponsor-slot, 
    .slots-2 .sponsor-slot, 
    .slots-4 .sponsor-slot {
        width: 100%;
        max-width: 300px;
    }
    
    .venue-content-wrapper {
        justify-content: center;
        padding: 0 1rem;
    }
    
    .venue-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .venue-card-title {
        font-size: 2.2rem;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
