html,
body {
    margin: 0;
}

:root {
    --bg-page: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --accent-red: #9E1B32;
    --accent-orange: #F7911E;
    --accent-teal: #005C84;
    --accent-green: #00AD6E;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-glass: rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('img/background.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.07;
}

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

/* --- Layout --- */

main {
    padding: 100px 5% 50px;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1 0 auto;
    width: 100%;
}

/* --- Navigation & Header Extras --- */

.countdown-container {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
    white-space: nowrap;
}

#countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.5px;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-family: var(--font-main);
}

.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    z-index: 1000;
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-bottom-row {
    display: none;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
    flex-shrink: 1;
}

.header-logos h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    margin-right: 0.5rem;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.header-logos a {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.8;
}





/* Right Column - Form Card */

.form-container-card {
    padding: 2.5rem;
    position: sticky;
    top: 100px;
}

.countdown-card {
    background: linear-gradient(135deg, rgba(158, 27, 50, 0.05), rgba(247, 145, 30, 0.05));
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.countdown-card #countdown-timer {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: 0.5rem;
}

.section-title-sm {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.form-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.form-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    font-weight: 700;
}





.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.4);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    margin: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.auth-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    text-align: center;
}

.auth-hint code {
    color: var(--accent-red);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 4px;
    border-radius: 4px;
}

.nav-logo {
    height: 35px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-red);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* --- Hamburger Button (hidden on desktop) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.cta-nav {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(204, 43, 46, 0.4);
}

/* --- Hero --- */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.hero-text .subtitle {
    margin-bottom: 0;
}

.hero-mini {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: left;
}

.hero-mini-content {
    flex: 1;
    min-width: 300px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(158, 27, 50, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(158, 27, 50, 0.3);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* --- Visuals --- */

.hero-visual {
    flex: 0.8;
    position: relative;
}

.blob-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: blob-float 10s infinite alternate;
}

.blob-1 {
    background: var(--accent-red);
    top: 0;
    left: 0;
    opacity: 0;
}

.blob-2 {
    background: var(--accent-orange);
    bottom: 0;
    right: 0;
    animation-delay: -3s;
}

.blob-3 {
    background: var(--accent-orange);
    top: 100px;
    left: 100px;
    animation-delay: -6s;
    opacity: 0;
}

@keyframes blob-float {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -40px) scale(1.1);
    }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: left;
}

.page-header .subtitle {
    margin-bottom: 0;
}

.page-header-content {
    flex: 1;
    min-width: 300px;
}

.page-header .header-text {
    flex: 1;
    min-width: 300px;
}

/* --- Features --- */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-glass);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.glass:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* --- Companies Grid --- */

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.company-card {
    text-align: center;
}

.company-logo-container {
    width: 100%;
    aspect-ratio: 1;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.company-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-card h3 {
    margin-bottom: 0.5rem;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.tag {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Registration Form --- */

.form-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 92, 132, 0.1);
}

/* --- Auth & Registration (reserve page) --- */
.form-intro {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    border: 1px dashed var(--border-glass);
    font-size: 0.95rem;
}

.form-intro p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.form-intro p:last-child {
    margin-bottom: 0;
}

.form-intro strong {
    color: var(--accent-red);
}

.form-intro ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.form-intro ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-intro ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.schedule-highlight {
    background: linear-gradient(135deg, rgba(158, 27, 50, 0.06), rgba(0, 92, 132, 0.06));
    border-left: 4px solid var(--accent-red);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.schedule-highlight p {
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-primary);
}

.schedule-highlight p:last-child {
    margin-bottom: 0;
}

.organizer-credits {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-red);
}

.domain-note {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), rgba(241, 196, 15, 0.08));
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.domain-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.domain-note code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

#auth-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.auth-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

.auth-hint code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

#auth-error {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

#registration-form {
    display: none;
    margin-top: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.user-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-info .user-name {
    font-weight: 600;
    margin: 0;
}

.user-info .user-email {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.btn-full {
    width: 100%;
}

#success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

#success-message .success-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */

/* --- Unified Glass Footer --- */

.glass-footer {
    padding: 5rem 3rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-glass);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-glass);
}

/* Footer Section Styles */
.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(204, 43, 46, 0.2);
}

/* Footer Contact Item */
.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-contact-item .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-item p,
.footer-contact-item a {
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-organizers {
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Galleries --- */
.gallery-section {
    margin-bottom: 4rem;
}

.gallery-section .section-title {
    padding-left: 1rem;
    border-left: 4px solid var(--accent-orange);
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    background: #eee;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Organizers Banner --- */
.organizers-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    border-radius: 24px;
    margin: 2rem 0;
    transition: var(--transition);
}

.organizers-banner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.4);
}

.organizer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}

.secondary-organizers {
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.organizer-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.organizer-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.organizer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 1rem;
}

.organizer-separator {
    width: 2px;
    height: 30px;
    background-color: var(--border-glass);
}

@media (max-width: 900px) {
    .organizer-separator {
        display: none;
    }

    .secondary-organizers {
        flex-direction: column;
        gap: 2rem;
    }
}

.organizer-logo {
    height: 65px;
    width: auto;
    max-width: 100%;
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition);
}

.organizer-logo:hover {
    filter: grayscale(0) opacity(1);
}

.uop-logo {
    height: 70px;
}

.unistart-logo {
    height: 55px;
}

.arcadia-logo {
    height: 75px;
}

.sponsor-text-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.sponsor-text-link:hover {
    color: var(--accent-red);
    opacity: 1;
}


/* --- Tips Section --- */
.tips-section {
    margin-top: 6rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.tip-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    cursor: default;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Carousel --- */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    background: rgba(0, 0, 0, 0.03);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 33.333%;
    padding: 0.4rem;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 4/3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.btn-prev {
    left: 20px;
}

.btn-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* --- Footer Refinements --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item .label {
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.footer-map-container {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid var(--border-glass);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.animate-fade-in-delayed {
    opacity: 0;
    animation: fadeIn 0.8s 0.3s forwards;
}

.animate-fade-in-delayed-more {
    opacity: 0;
    animation: fadeIn 0.8s 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Schedule Tabs --- */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(204, 43, 46, 0.3);
}

/* Base Desktop Schedule Styles: Show both days side-by-side */
.schedule-tabs {
    display: none;
    /* Hidden on desktop */
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
}

.schedule-content {
    display: block;
    /* Always visible on desktop */
}

.schedule-content.active {
    display: block;
}

.day-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* --- Schedule Timeline --- */


.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-red), var(--accent-orange));
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
}

.timeline-time {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* --- btn-hub --- */
.btn-hub {
    border: 1.5px solid var(--accent-teal) !important;
    border-radius: 25px;
    padding: 0.4rem 1.2rem;
    color: var(--accent-teal) !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-hub:hover {
    background: var(--accent-teal);
    color: white !important;
}

.hero-mini .subtitle,
.hero-mini-content .subtitle {
    margin-bottom: 0;
}

/* Merged into main 1024px block below */

@media (max-width: 1350px) {
    .glass-nav {
        max-width: 98%;
        padding: 0.6rem 1rem;
    }

    .header-logos {
        gap: 0.8rem;
    }

    .header-logos h2 {
        font-size: 1rem;
    }

    .nav-logo {
        height: 28px;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .btn-hub {
        padding: 0.3rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {

    /* --- Nav: hamburger mode --- */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        border: 1px solid var(--border-glass);
        border-radius: 20px;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        border-radius: 12px;
        text-align: center;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(0, 0, 0, 0.04);
    }

    .glass-nav {
        border-radius: 20px;
        padding: 0.6rem 1.2rem;
        top: 10px;
        /* Allow dropdown to overflow the rounded box */
        overflow: visible;
    }

    .nav-main-row {
        /* Ensure burger stays in row, don't let logos overflow */
        flex-wrap: nowrap;
        overflow: visible;
    }

    /* --- Hero Adjustments for Medium Screens (768px-1024px) --- */
    /* Center align without full mobile stack */
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 60px;
        /* More breathing room than mobile */
        gap: 2rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 3.5rem;
        /* Larger than mobile, smaller than desktop */
    }

    .hero-text {
        max-width: 80%;
        /* Prevent text from stretching too wide in single column */
        margin: 0 auto;
    }

    .hero-visual,
    .blob {
        display: none !important;
    }

    .hero-mini-content,
    .page-header-content,
    .page-header .header-text {
        min-width: 0;
    }

    .page-header,
    .hero-mini {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-header {
        flex-direction: column;
        align-items: center;
        /* Center align on tablet */
    }

    /* --- Section typography --- */
    .section-title {
        font-size: 1.8rem;
    }

    .day-title {
        font-size: 1.3rem;
    }

    /* --- Banner --- */
    .organizers-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .organizer-logos {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* --- Carousel --- */
    .carousel-slide {
        min-width: 100%;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .btn-prev {
        left: 10px;
    }

    .btn-next {
        right: 10px;
    }

    /* --- Schedule Tablet Overrides --- */
    .schedule-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .schedule-grid {
        display: block;
    }

    .schedule-content {
        display: none;
    }

    .schedule-content.active {
        display: block;
    }

    /* --- Footer --- */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .glass-footer {
        padding: 3rem 1.5rem 2rem;
    }

    /* --- Features & Tips grid --- */
    .features,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    /* --- Companies grid --- */
    .companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    /* --- Main padding --- */
    main {
        padding: 50px 4% 40px;
    }
}

/* --- Hero Split Layout --- */
.hero-split {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hero-split-text {
    flex: 1;
}

.hero-split-video {
    flex: 1;
    max-width: 50%;
}

@media (max-width: 480px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-split-video {
        max-width: 100%;
        margin-top: 2rem;
    }

    .glass-nav {
        width: 98%;
        padding: 0.5rem 1rem;
    }

    .header-logos h2 {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 105px;
    }

    .header-logos {
        gap: 0.5rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .nav-logo {
        height: 24px;
    }

    .hamburger {
        flex-shrink: 0;
        margin-left: auto;
    }

    main {
        padding: 75px 3% 30px;
    }

    .glass {
        padding: 1.5rem;
    }

    /* --- Schedule Mobile Overrides --- */
    .schedule-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: 0;
    }

    .schedule-grid {
        display: block;
    }

    .schedule-content {
        display: none;
    }

    .schedule-content.active {
        display: block;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item::after {
        left: -1.9rem;
    }

    .footer-map-container {
        height: 180px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .organizers-banner {
        padding: 1.5rem;
        gap: 1rem;
    }

    .header-logos {
        gap: 0.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .countdown-container {
        justify-content: center;
    }

    .organizer-row,
    .organizer-group,
    .organizer-logos,
    .secondary-organizers {
        justify-content: center;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .organizer-logo {
        height: auto;
        max-width: 80%;
        margin: 0 auto;
    }

}

.companies-preview-logos {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 2.5rem !important;
    align-items: center;
    justify-items: center;
    padding: 0;
    width: 100%;
}

.companies-preview-logos a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.companies-preview-logos a:hover {
    transform: translateY(-5px);
}

.companies-preview-logos .organizer-logo {
    height: auto !important;
    max-width: 100% !important;
    max-height: 50px !important;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .companies-preview-logos {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .companies-preview-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .companies-preview-logos a {
        padding: 0.5rem;
    }

    .companies-preview-logos .organizer-logo {
        max-height: 40px !important;
    }
}

/* --- Lightbox (Applied to all screens) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lb-prev {
    left: 40px;
}

.lb-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-btn {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .lb-prev {
        left: 15px;
    }

    .lb-next {
        right: 15px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-red);
}

.carousel-slide img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

/* --- 404 Page --- */
.error-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.error-code {
    font-size: clamp(8rem, 20vw, 12rem);
    font-weight: 700;
    margin: 0;
    line-height: 1;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.error-message h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Privacy Note --- */
.privacy-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: 100%;
}

.privacy-note a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
}

.privacy-note a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* --- Registration UX Overhaul --- */

.registration-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

@media (min-width: 992px) {
    .registration-layout {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
        gap: 4rem;
    }
}

.registration-header {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
}

.registration-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.registration-header .subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
}

.registration-info,
.registration-form-column {
    display: flex;
    flex-direction: column;
}

.info-card,
.form-container-card {
    flex-grow: 1;
}

.info-card {
    padding: 3rem;
}

.info-section {
    margin-top: 2.5rem;
}

.info-section h4 {
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.check-list,
.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.check-list li {
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.feature-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.feature-list li strong {
    color: var(--accent-red);
    display: block;
    margin-bottom: 0.2rem;
}

/* Right Column - Form Card */

.form-container-card {
    padding: 2.5rem;
}

.countdown-card {
    background: linear-gradient(135deg, rgba(158, 27, 50, 0.05), rgba(247, 145, 30, 0.05));
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.countdown-card #countdown-timer {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-top: 0.5rem;
}

.section-title-sm {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.form-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.form-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Check Chips */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.check-chip {
    cursor: pointer;
    position: relative;
}

.check-chip input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.check-chip span {
    display: block;
    padding: 0.8rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-secondary);
}

.check-chip:hover span {
    background: rgba(0, 0, 0, 0.05);
}

.check-chip input:checked+span {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(158, 27, 50, 0.2);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Privacy Note Adjustment */
.registration-form-column .privacy-note {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.success-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .form-container-card {
        padding: 2rem;
    }
}

/* --- Live Event Badge --- */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 173, 110, 0.15);
    /* Accent green with opacity */
    color: var(--accent-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 173, 110, 0.3);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 173, 110, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(0, 173, 110, 0.8);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* --- Hub Details List --- */
.hub-details {
    margin-top: 2rem;
    text-align: left;
    max-width: 600px;
}

.hub-feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hub-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.hub-feature-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.hub-feature-list .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hub-feature-list strong {
    color: var(--text-primary);
    font-weight: 600;
}