/* ???????�??*/
:root {
    --primary-color: #000000;
    --secondary-color: #0c0c0c;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-dark: #cbd5e1;
    --bg-light: #111115;
    --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;
    --font-body: 'Noto Sans TC', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ?��?�??(Navbar) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: navbar-fade-in 1.5s ease-out forwards;
    opacity: 0;
    padding-top: env(safe-area-inset-top); /* Supports modern mobile safe areas */
}

@keyframes navbar-fade-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar.scrolled {
    background: #000000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    width: 92%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 992px) {
    .nav-container {
        height: 80px; /* Smaller height for mobile devices */
    }
}

.navbar.scrolled .nav-container {
    height: 70px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.6s ease;
    flex-shrink: 0;
}

.navbar.scrolled .logo-group {
    gap: 8px;
}

.nav-logo-img {
    height: clamp(16px, 1.8vw, 24px);
    width: auto;
    transition: all 0.6s ease;
}

.navbar.scrolled .nav-logo-img {
    height: clamp(14px, 1.4vw, 18px);
}

.nav-date {
    font-size: clamp(0.5rem, 0.75vw, 0.75rem);
    font-weight: 700;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: clamp(8px, 1vw, 12px);
    letter-spacing: 0.5px;
    transition: all 0.6s ease;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .nav-date {
        display: none; /* Hide date on small screens */
    }
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: grayscale(1) brightness(2);
    opacity: 0.7;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0; /* ???????????padding ???????????? */
    transition: all 0.6s ease;
    flex-shrink: 1;
}

.nav-links li {
    position: relative;
    padding: 0 clamp(8px, 1.2vw, 18px); /* ???????????? */
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-links li {
    padding: 0 clamp(5px, 0.8vw, 10px);
}

/* ???????????*/
.nav-links li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 35px; /* ???????????? */
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.navbar.scrolled .nav-links li::after {
    height: 18px; /* ???????????? */
}

/* ????????????????????????????*/
.nav-links li:last-child::after {
    display: none;
}

.nav-links li a {
    font-size: 1.4rem; /* ???????????vw ??? */
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-links li a {
    font-size: 0.95rem;
}

.nav-links li a span {
    font-size: 0.55rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    transition: all 0.4s ease;
    white-space: nowrap;
}

/* dropdown menu */
.nav-dropdown {
    position: relative;
    cursor: pointer;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.dropdown-menu li::after {
    display: none !important;
}
.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s;
}
.dropdown-menu li:hover a {
    color: #fff;
    background: rgba(59, 130, 246, 0.15);
}
.dropdown-menu li a::after {
    display: none;
}
.dropdown-menu li a span {
    display: none;
}

.navbar.scrolled .nav-links li a span {
    font-size: clamp(0.35rem, 0.45vw, 0.5rem);
    margin-top: 2px;
}

.nav-links li a:hover {
    color: var(--accent-blue);
}

.nav-links li a:hover span {
    color: var(--accent-blue);
    opacity: 0.8;
}

/* ??????????????*/
/* ??????????????- ?????? */
.floating-register-btn {
    position: fixed;
    bottom: clamp(20px, 4vw, 50px);
    right: clamp(20px, 4vw, 50px);
    width: clamp(65px, 8vw, 88px); 
    height: clamp(65px, 8vw, 88px);
    border-radius: 50%;
    background: #000; 
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4), 
        0 0 35px rgba(176, 102, 255, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    line-height: 1.1;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
}

.floating-register-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-register-btn .btn-text {
    color: #fff;
    font-weight: 900;
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    letter-spacing: 1px;
    text-align: center;
}

.floating-register-btn .btn-en {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.4rem, 0.5vw, 0.45rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.floating-register-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 25px rgba(255, 255, 255, 0.6), 
        0 0 50px rgba(176, 102, 255, 0.8);
}

.floating-register-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #4f46e5, #a855f7);
}

/* ?�???�慰??��???*/
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1002; /* ???????????��???*/
    position: relative;
}

.bar {
    display: block; /* Ensure the bars have a visible size */
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: var(--transition);
}

/* ??????????(Pure Hero Section) - ???????????? */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    will-change: opacity; /* ?????????????????*/
    animation: bannerFade 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes bannerFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px); /* ????????????????????????????*/
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.hero-overlay, .planet-container {
    display: none;
}

/* ?????????????????????????????????????????*/
.carousel-indicators {
    position: absolute;
    top: 50%; /* ???????????? */
    right: 50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover, .indicator.active {
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* ?????? */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    z-index: 10;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

.hero-info-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, #000 60%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-info-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
}

.hero-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
}

.hero-text {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 40%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-details {
    margin-bottom: 60px;
}

.hero-details .date {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-details .location {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* ?????? */
.btn-primary {
    background: #fff;
    color: #000;
    padding: 18px 45px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 18px 45px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ??????????*/
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 2px;
}
/* ???????????| ??? */
.section-title::before {
    display: none;
}

/* ??????????????????????? */
.section-divider-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 60px auto 40px;
    max-width: 600px;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    /* ??????????????????????*/
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.divider-star {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    /* ????????????????????*/
    box-shadow: 0 0 15px #fff, 0 0 30px var(--accent-blue);
    position: relative;
    opacity: 0.8;
}

/* ????????????????- ?????????????????*/
.subsection-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin: 40px 0 80px;
    letter-spacing: 12px; /* ??????????????? */
    font-weight: 900;
    text-transform: uppercase;
}

/* ??????????? */
.about-bottom-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 992px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 60px;
    }
    
    .value-card {
        height: 320px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* ????????????????*/
.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    cursor: pointer;
    perspective: 1000px;
    overflow: hidden; /* ?�??�格迤�?Ⅱ?��??�摰�??�???�耦蝭?? */
}

/* ???????????????????(Backlit Rim Light) */
.value-card::before {
    content: '';
    position: absolute;
    /* ??????????????????????????? */
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    /* ???????????????????????????????????????????????????box-shadow */
    /* ?????????????????????????????????????????????????*/
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 0.8),    /* ????????? */
        0 0 30px rgba(139, 92, 246, 0.5),   /* ???????????*/
        0 0 50px rgba(59, 130, 246, 0.2);   /* ???????????? */
    opacity: 0;
    transform: scale(0.95); /* ????????????????*/
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
    pointer-events: none;
}

.value-card:hover::before {
    opacity: 1;
    transform: scale(1.02); /* ????????????????????????????????? */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* ?????????????????*/
    transition: none; 
    transform-style: flat; /* ???????3D ??? */
    cursor: pointer;
    border-radius: 50%;
}

/* ????????? */
.value-card:hover .card-inner {
    transform: none;
}

.card-front, .card-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ???????????????????????? */
.card-front {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    background: radial-gradient(circle at center, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 70%, rgba(0, 0, 0, 1) 100%);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(59, 130, 246, 0.2),
        0 0 15px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    padding-top: 25px;
}

.card-back {
    z-index: 1;
    opacity: 0;
    transform: scale(0.8);
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid var(--accent-purple);
    padding: 30px;
    pointer-events: none;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

/* ???????????????????????????????*/
.value-card:hover .card-front {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.value-card:hover .card-back {
    z-index: 3;
    opacity: 1;
    transform: scale(1);
    box-shadow: 
        0 0 35px 5px rgba(59, 130, 246, 0.7), 
        0 0 70px 20px rgba(139, 92, 246, 0.5), 
        inset 0 0 20px rgba(255, 255, 255, 0.15); /* ?��??�出?��? */
}

/* ??????????????*/
.value-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen; 
    clip-path: inset(15%);
    filter: brightness(1.2) contrast(1.5) drop-shadow(0 0 15px var(--accent-blue));
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover .value-icon img {
    transform: scale(1.1);
    filter: brightness(1.5) contrast(1.8) drop-shadow(0 0 25px var(--accent-blue));
}

.card-front h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
}

.card-front span {
    font-size: 0.8rem;
    color: var(--accent-purple);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-back h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.card-back p {
    font-size: 0.95rem; /* ????????????????????*/
    line-height: 1.5;
    color: #fff;
    margin-bottom: 25px;
    text-align: center; /* ?????????????????????????????? */
    padding: 0 12px; /* ????????????????????*/
}

.card-hashtags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.card-hashtags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

/* ????????????????100vh ?????????????????????????*/
.section-values {
    background-color: #000;
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px; /* ???????????????????????? */
}

/* ????????????????????????????????? */
.section-values .section-title {
    margin-bottom: 25px;
}

.section-values .about-intro {
    margin-bottom: 30px;
}

.section-values .section-divider-glow {
    margin: 30px auto;
}

.section-values .subsection-title {
    margin: 30px 0 40px; /* ?????????????????*/
}

.section-values .core-values-grid {
    margin-bottom: 10px;
}

/* ??????????????????????????? */
.section-spacer {
    height: 200px; /* ??????????????? */
    background-color: #000;
    display: block; 
}

/* ??????????(Sticky ?????)????????? */
.section-activity-wrapper {
    position: relative;
    background-color: #000;
    min-height: 400vh; /* ???????????????????????? */
}

/* ????????????????????? */
.sticky-activity-outer {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
}

/* ???????????? (??????) */
.activity-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.keynote-bg {
    position: absolute;
    top: 55%; 
    left: 50%; /* 改用 left 50% 確保相對於中心軸，避免寬螢幕位移過遠 */
    right: auto;
    width: 220vh; 
    height: 220vh;
    transform: translate(calc(-50% + 50vw), -50%) rotate(0deg); /* 圓心貼合最右邊 */
    background-image: url('./images/planet.jpg.jpg');
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    z-index: 1;
    transform-origin: center center; 
}

.keynote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, #000 25%, rgba(0,0,0,0.4) 55%, transparent 95%),
        linear-gradient(to bottom, #000 0%, transparent 15%, transparent 85%, #000 100%);
    z-index: 2;
}

.activity-ui-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 0.5fr 1fr; /* 稍微縮小左側比例，讓文字區域更集中 */
    gap: 120px;
    align-items: center;
    padding-right: 5%; 
    padding-left: 80px; 
    max-width: 1600px; /* 限制最大寬度，避免在 4K 螢幕過於分散 */
    margin: 0 auto;
}

/* ??????????????*/
.activity-selector {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.selector-item {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0.3;
    transition: all 0.5s ease;
    cursor: pointer;
}

.selector-item.active {
    opacity: 1;
    transform: translateX(10px);
}

.selector-num {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--accent-blue);
    font-weight: 700;
}

.selector-txt h3 {
    font-size: 1.8rem;
    color: #fff;
}

.selector-txt span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ???????????? - ?????????????????02 ??? (???????? */
.activity-display-case {
    position: relative;
    min-height: 550px;
    height: auto;
    margin-top: 240px; /* ??????????????????????????*/
}

.activity-content-segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.activity-content-segment.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.segment-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.segment-desc {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.segment-tags {
    display: flex;
    flex-wrap: wrap; /* ??????????????????????????? */
    gap: 15px;
    row-gap: 15px; /* ?????????????????? */
}

.segment-tags span {
    font-size: 0.9rem;
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
}

/* ???????????*/
.activity-scroll-controller {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.step-trigger {
    height: 100vh;
}

.keynote-outline li i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.btn-keynote {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #000;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-keynote:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* ?????????????????- ???????????*/
.about-bottom-info,
.about-stats,
.stat-item {
    display: none;
}

/* ???????(???????? */
.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.bg-light .section-title {
    color: var(--text-primary);
}

.bg-light .section-title::after {
    background: var(--accent-blue);
}

.register-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.register-info {
    flex: 1;
}

.register-info p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.register-options {
    list-style: none;
}

.register-options li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    padding-left: 10px;
    color: var(--text-secondary);
}

.register-form {
    flex: 1;
    background: #000000;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.privacy-policy {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.privacy-policy h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.privacy-scroll {
    height: 120px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-right: 10px;
}

.privacy-scroll p {
    margin-bottom: 10px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.form-checkbox input {
    margin-top: 5px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-blue);
}

/* --- Session Selection Grid (Vertical Structured Style) --- */
.session-selection-grid {
    margin: 40px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.reg-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reg-category-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
}

.reg-cat-label {
    writing-mode: vertical-rl; /* Changed from lr + rotate to rl for correct orientation */
    text-orientation: mixed;
    text-align: center;
    background: linear-gradient(180deg, var(--accent-blue), #1e40af);
    color: #fff;
    font-weight: 900;
    padding: 20px 5px;
    border-radius: 8px;
    letter-spacing: 2px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.reg-days-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side-by-side days to save vertical space */
    gap: 20px;
}

.reg-data-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reg-day-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reg-day-title {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 900;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    text-align: center;
}

.reg-row {
    display: flex;
    flex-direction: column; /* Stack time and name for better space usage in columns */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 8px;
}

.reg-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
}

.reg-time {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-blue);
    margin-bottom: 4px;
    font-weight: 700;
}

.reg-field {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.reg-field input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--accent-blue);
}

.reg-field label {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.4;
    word-break: break-all;
}

/* Checked State for Rows */
.reg-row:has(input:checked) {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.2);
}

.reg-row:has(input:checked) .reg-time {
    color: var(--accent-blue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .reg-category-block {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 20px;
    }
    .reg-cat-label {
        writing-mode: horizontal-tb;
        width: 100%;
        padding: 10px;
        font-size: 1.1rem;
    }
    .reg-days-wrapper {
        grid-template-columns: 1fr; /* Stack days on mobile */
        gap: 20px;
    }
    .reg-field label {
        font-size: 0.8rem;
    }
}

.footer {
    background-color: #050810;
    padding: 50px 0 40px; /* ????????? padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
}

.footer-grid-new {
    display: flex;
    justify-content: center; /* ?????? */
    gap: 220px; /* ????????? (?????120px ?????? space-between ???) ????????? */
    margin-bottom: 50px;
}

.footer-left-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 200px;
}

.footer-address {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 300px;
}

.footer-title {
    font-size: 1.1rem; /* ????????? */
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px; /* ???????????? */
}

/* ??????????????????????????? */
.footer-title::before {
    content: '';
    display: inline-block;
    width: 4px; /* ?????? */
    height: 1.2rem; /* ??????????????*/
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.email-link {
    font-size: 0.9rem; /* ?????? */
    font-weight: 400;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 32px; /* ????????? */
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-blue);
    color: #000;
    transform: translateY(-3px);
}

.address-text {
    margin-bottom: 15px;
}

.address-link p {
    font-size: 0.85rem; /* ?????? */
    margin-bottom: 5px;
}

.address-link .en-address {
    font-size: 0.75rem !important; /* ?????? */
    color: var(--text-secondary);
    line-height: 1.4;
}

.map-preview {
    width: 100%;
    max-width: 300px; /* ???????????? (??? 500px) */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
}

/* ???????????????*/
.footer-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.branding-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 30px; /* ?????? */
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 20px; /* ????????Logo ?????? */
    width: auto;
    filter: brightness(0.8);
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
    filter: brightness(1) drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    transform: scale(1.05);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.7rem; /* ???????????? */
    letter-spacing: 0.5px;
}

/* ??? RWD */
@media (max-width: 992px) {
    .footer-grid-new {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-left-group {
        align-items: center;
    }
    
    .map-preview {
        margin: 0 auto;
    }
}

.map-preview {
    display: block;
    width: 100%;
    max-width: 400px;
    height: 220px;
    background-color: #111; /* ??????????????*/
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    cursor: zoom-in;
    z-index: 5;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 10px;
    color: #fff;
    z-index: 2;
}

.map-preview:hover .map-overlay {
    opacity: 1;
}

.traffic-map-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.map-preview:hover .traffic-map-img {
    transform: scale(1.05);
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    display: block;
    width: auto;
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    animation: zoom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: contain;
}

@keyframes zoom {
  from {transform:scale(0.8); opacity: 0;} 
  to {transform:scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.close-modal:hover {
    color: var(--accent-blue);
    transform: scale(1.2) rotate(90deg);
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
  .close-modal {
    top: 20px;
    right: 20px;
  }
}

.footer-bottom {
    padding-top: 50px;
    text-align: center;
}

.footer-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.branding-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    margin-bottom: 25px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 20px;
    width: auto;
    filter: brightness(0.8);
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
    filter: brightness(1) drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    transform: scale(1.05);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* --- RWD Media Queries --- */
@media (max-width: 1400px) {
    .menu-toggle {
        display: flex;
        padding: 10px;
        z-index: 1005;
        margin-right: 0; /* Fixed: Removed negative margin that could cause clipping */
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 120px 0 60px 0; /* 給予上下滾動空間 */
        overflow-y: auto;        /* ?�許清單?�長?��??�滾??*/
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 1);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 1001;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li { 
        margin: 30px 0;
        width: 100%;
        text-align: center;
    }
    .nav-links li a { 
        font-size: 2.5rem; 
        letter-spacing: 6px; 
    }
    .nav-links li a span { display: block; font-size: 1rem; color: var(--accent-blue); margin-top: 10px; }
    .nav-links li::after { display: none; }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 15px;
    }
    .nav-dropdown:hover .dropdown-menu {
        transform: none;
    }
    .dropdown-menu li a {
        font-size: 1.2rem;
        padding: 10px 0;
        color: rgba(255, 255, 255, 0.6);
    }
    .dropdown-menu li:hover a {
        background: transparent;
    }
}

@media (max-width: 1200px) {
    .core-values-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        transform: none !important;
    }
    .card-back {
        padding: 20px 15px; 
    }
    .card-back p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
        padding: 0 5px;
    }
    .card-back h4 { font-size: 1.5rem; margin-bottom: 10px; }
    .card-hashtags { gap: 4px; }
    .card-hashtags span { padding: 4px 10px; font-size: 0.7rem; }
}

@media (max-width: 1100px) {
    .activity-ui-container {
        grid-template-columns: 1fr;
        padding: 0 30px;
        text-align: center;
        gap: 40px;
        padding-right: 30px;
    }
    .activity-display-case {
        margin-top: 30px;
        height: auto;
        min-height: auto; 
    }
    .activity-content-segment {
        position: absolute;
    }
    .activity-content-segment.active {
        position: relative; 
        transform: none;
    }
    .segment-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto 30px;
        text-align: justify; 
    }
    
    .register-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-grid-new {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }
    .footer-left-group, .footer-address {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .value-card {
        width: 280px;
        height: 280px;
    }
    .card-back p { font-size: 0.8rem; }
    .section-title { font-size: 2rem; }
}

/* --- Success Modal Styles --- */
.success-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.success-modal.active {
    display: flex;
    animation: successFadeIn 0.4s ease-out;
}

.success-modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.2);
    animation: successSlideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.4));
}

.success-modal-content h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.success-modal-content p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.btn-success-close {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-success-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
}

@keyframes successFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes successSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- High-Aspect-Ratio Mobile Adaptations --- */
@media (max-width: 992px) {
    .navbar {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        background: #000 !important; /* Fully opaque on mobile */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        padding-top: env(safe-area-inset-top) !important;
    }
    .nav-container {
        height: 80px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 15px !important;
        justify-content: flex-start !important;
    }
    .logo-group {
        max-width: 80% !important;
        flex-shrink: 1 !important;
    }
    .menu-toggle {
        display: flex !important;
        position: absolute !important;
        right: 15px !important; /* Safe margin from edge */
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 12px !important;
        z-index: 1010 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 5px !important;
        margin: 0 !important;
    }
    .bar {
        background-color: #fff !important;
        box-shadow: 0 0 5px rgba(0,0,0,0.8) !important;
    }
    .nav-links {
        padding-top: calc(90px + env(safe-area-inset-top)) !important;
    }
    /* Hero proportional scaling */
    .hero {
        height: auto !important;
        aspect-ratio: 16 / 9 !important; /* Scale proportionally */
        min-height: auto !important;
    }
    .carousel-slide {
        background-size: contain !important; /* Show whole image */
        background-repeat: no-repeat !important;
        background-position: center !important;
        transform: none !important; /* Simplify transition for mobile */
    }
    .carousel-indicators {
        right: 20px !important;
        gap: 10px !important;
    }
    .scroll-hint {
        bottom: 10px !important;
        font-size: 0.6rem !important;
    }
}

/* Cross-browser normalization */
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}
[hidden] {
    display: none !important;
}

/* --- Splash Screen --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    background-image: url('./images/P2-1.jpg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999; /* Changed from 999999 to 999 so it doesn't cover the navbar (z-index 1000) */
    transition: opacity 0.8s ease-in-out; /* Increased to 0.8s for smooth fade out */
    pointer-events: none; /* Allows clicks to pass through while fading */
}

#splash-screen.fade-out {
    opacity: 0;
}
