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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
}


@keyframes glow {
    from {
        text-shadow: 0 0 50px var(--color-shadow-strong);
    }
    to {
        text-shadow: 0 0 80px var(--color-primary), 0 0 100px var(--color-shadow-primary);
    }
}

.btn-text {
    position: relative;
    z-index: 3;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--color-shadow-primary);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--color-shadow-ultra-light), transparent);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-particle);
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-particle);
}

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


/* Responsive Design for Hero Banner */
@media (max-width: 768px) {
    /* Speakers Section Mobile */
    .speakers-section {
        padding: 140px 0 180px 0;
        margin-top: -60px;
        clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    }
    
    /* Schedule Section Mobile */
    .schedule-section {
        padding: 80px 0 0 0;
        margin-top: -80px;
        clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
    }
    
    .schedule-container {
        padding: 0 20px;
    }
    
    .schedule-title {
        margin-bottom: 40px;
        margin-top: 20px;
    }
    
    .schedule-title h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        letter-spacing: 0.5px;
    }
    
    .schedule-title h2 {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    
    .schedule-timeline::before {
        display: none;
    }
    
    .schedule-session {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .schedule-session::before {
        display: none;
    }
    
    .session-header {
        display: none;
    }
    
    .session-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .session-content::before {
        display: none;
    }
    
    .session-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
        margin-top: 15px;
    }
    
    .session-topics li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* Mobile session header inside session-content */
    .session-header-mobile {
        display: block !important;
        text-align: center;
        padding: 15px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        border: 2px solid #e2e8f0;
    }
    
    .session-time-mobile {
        font-family: 'Space Grotesk', 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .session-title-mobile {
        font-family: 'Space Grotesk', 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .session-title-mobile .session-title-eng {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .session-title-mobile .session-title-mandarin {
        font-size: 12px;
    }
    
    /* Session-specific mobile styling */
    .morning-session .session-header-mobile {
        background: var(--color-schedule-morning-bg) !important;
        border-color: var(--color-schedule-morning-border) !important;
    }
    
    .morning-session .session-time-mobile {
        color: var(--color-schedule-morning-text) !important;
    }
    
    .afternoon-session .session-header-mobile {
        background: var(--color-schedule-afternoon-bg) !important;
        border-color: var(--color-schedule-afternoon-border) !important;
    }
    
    .afternoon-session .session-time-mobile {
        color: var(--color-schedule-afternoon-text) !important;
    }
    
    .evening-session .session-header-mobile {
        background: var(--color-schedule-evening-bg) !important;
        border-color: var(--color-schedule-evening-border) !important;
    }
    
    .evening-session .session-time-mobile {
        color: var(--color-schedule-evening-text) !important;
    }
    
    .speakers-container {
        padding: 0 20px;
    }
    
    .speakers-title {
        margin-bottom: 40px;
    }
    
    .speakers-title h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        letter-spacing: 2px;
    }
    
    .speakers-title h2 {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
    
    .speakers-list {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 32px;
    }
    
    .speaker-card {
        padding: 0;
    }
    
    .speaker-photo {
        width: 180px;
        height: 180px;
        margin-bottom: 24px;
    }
    
    .speaker-info {
        padding: 0 16px 28px;
    }
    
    .speaker-name {
        font-size: 1.35rem;
    }
    
    .speaker-title {
        font-size: 0.8rem;
    }
    
    .speaker-initials {
        font-size: 3.5rem;
    }
    
    .btn-text {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.container .content-wrapper {
    padding: 20px;
}


/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.logo {
    margin-bottom: 20px;
}

.logo-icon {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-secondary));
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 2px;
}

.organizer-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-secondary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.organizer-info p {
    font-size: 16px;
    color: #64748b;
    font-weight: 400;
}

/* Speakers Section Styles */
.speakers-section {
    position: relative;
    background: var(--color-section-speakers-bg);
    padding: 140px 0 180px 0;
    margin-top: -80px;
    /* Match the slanted top edge with hero section */
    clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
    background-position: left;
    z-index: 1;
}

/* Event Schedule Section Styles */
.schedule-section {
    position: relative;
    background: #e0e0e0;
    /* background-image: url('./pattern2.png'); */
    background-position: left;
    padding: 100px 0 0 0;
    margin-top: -100px;
    /* Match the slanted top edge with speakers section */
    clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
    overflow: hidden;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./pattern2.png');
    opacity: 0.6;
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}

.schedule-title {
    text-align: center;
    margin-bottom: 60px;
}

.schedule-title h1 {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-title h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-session {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.schedule-session:nth-child(odd) {
    flex-direction: row;
}

.schedule-session:nth-child(even) {
    flex-direction: row-reverse;
}

.session-header {
    flex: 0 0 200px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.session-time {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.session-badge {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.session-content {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.session-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.schedule-session:nth-child(odd) .session-content::before {
    left: -24px;
    border-right-color: #ffffff;
}

.schedule-session:nth-child(even) .session-content::before {
    right: -24px;
    border-left-color: #ffffff;
}

.session-subtitle {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    margin-top: 20px;
    position: relative;
    padding-left: 20px;
}

.session-subtitle:first-child {
    margin-top: 0;
}

.session-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.session-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.session-topics li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.session-topics li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: bold;
}

/* Session-specific styling */
.morning-session .session-header {
    background: var(--color-schedule-morning-bg) !important;
    border-color: var(--color-schedule-morning-border) !important;
}

.morning-session .session-time {
    color: var(--color-schedule-morning-text) !important;
}

.afternoon-session .session-header {
    background: var(--color-schedule-afternoon-bg) !important;
    border-color: var(--color-schedule-afternoon-border) !important;
}

.afternoon-session .session-time {
    color: var(--color-schedule-afternoon-text) !important;
}

.evening-session .session-header {
    background: var(--color-schedule-evening-bg);
    border-color: var(--color-schedule-evening-border);
}

.evening-session .session-time {
    color: var(--color-schedule-evening-text);
}

/* Hide mobile session headers on desktop */
.session-header-mobile {
    display: none;
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}

.schedule-title {
    text-align: center;
    margin-bottom: 60px;
}

.schedule-title h1 {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schedule-title h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 50%, #64748b 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-session {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.schedule-session:nth-child(odd) {
    flex-direction: row;
}

.schedule-session:nth-child(even) {
    flex-direction: row-reverse;
}

.session-header {
    flex: 0 0 200px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.session-time {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.session-badge {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.session-content {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.session-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.schedule-session:nth-child(odd) .session-content::before {
    left: -24px;
    border-right-color: #ffffff;
}

.schedule-session:nth-child(even) .session-content::before {
    right: -24px;
    border-left-color: #ffffff;
}

.session-subtitle {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    margin-top: 20px;
    position: relative;
    padding-left: 20px;
}

.session-subtitle:first-child {
    margin-top: 0;
}

.session-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.session-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.session-topics li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.session-topics li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: bold;
}

/* Session-specific styling */
.morning-session .session-header {
    background: var(--color-schedule-morning-bg) !important;
    border-color: var(--color-schedule-morning-border) !important;
}

.morning-session .session-time {
    color: var(--color-schedule-morning-text) !important;
}

.afternoon-session .session-header {
    background: var(--color-schedule-afternoon-bg) !important;
    border-color: var(--color-schedule-afternoon-border) !important;
}

.afternoon-session .session-time {
    color: var(--color-schedule-afternoon-text) !important;
}

.evening-session .session-header {
    background: var(--color-schedule-evening-bg);
    border-color: var(--color-schedule-evening-border);
}

.evening-session .session-time {
    color: var(--color-schedule-evening-text);
}

.speakers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.speakers-title {
    margin-bottom: 60px;
}

.speakers-title h1 {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 0 30px var(--color-shadow-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-middle) 50%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.speakers-title h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
    font-style: italic;
    letter-spacing: 0.5px;
}

.speakers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 35px;
    align-items: start;
    justify-content: center;
    padding: 0;
}

.speaker-card {
    background: rgba(255, 255, 255, 0.189);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    border-radius: 3px;
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
    gap: 24px;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    background: linear-gradient(135deg, 
        rgba(var(--color-primary-rgb), 0.08) 0%, 
        rgba(var(--color-primary-rgb), 0.02) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 1;
    z-index: 0;
}

.speaker-card::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    width: 220%;
    height: 220%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.speaker-photo {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.speaker-photo-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.speaker-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(5%) brightness(1.08) contrast(1.05);
}

.speaker-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--color-primary-rgb), 0.12) 0%, 
        rgba(0, 0, 0, 0.08) 100%);
    opacity: 0.35;
    border-radius: 50%;
    pointer-events: none;
}

.speaker-photo-placeholder {
    background: linear-gradient(135deg, 
        rgba(var(--color-primary-rgb), 0.9) 0%, 
        var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.speaker-initials {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.4),
        0 4px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: 3px;
}

.speaker-info {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 12px 24px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.speaker-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
    text-shadow: 1px 3px 0px rgba(0, 0, 0, 0.08), 0 0px 2px rgba(255, 255, 255, 0.8);
}

.speaker-info::after {
    content: '';
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        rgba(var(--color-primary-rgb), 0.4) 40%, 
        rgba(var(--color-primary-rgb), 0.1) 70%,
        transparent 100%);
    display: block;
    margin: 6px 0;
    box-shadow: 0 1px 2px rgba(var(--color-primary-rgb), 0.2);
}

.speaker-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.speakers-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speakers-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--color-shadow-light);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Form Styles */
.registration-form {
    margin-bottom: 40px;
}

.registration-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-form-focus);
    box-shadow: 0 0 0 3px rgba(var(--color-form-focus-rgb), 0.1);
}

.form-group input:invalid {
    border-color: #ef4444;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-secondary-dark), var(--color-secondary));
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    text-align: center;
    padding: 30px;
    background: #0f172a;
    border-radius: 0;
    border: 1px solid #1e293b;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./pattern2.png');
    opacity: 0.2;
    z-index: 1;
}

.contact-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.contact-details {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 16px;
    color: #e5e7eb;
}

.disclaimer {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-container {
        height: 50vh;
        max-height: 400px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .quantity-input {
        gap: 30px;
        justify-content: center;
    }
    
    .quantity-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .quantity-display {
        font-size: 22px;
        min-width: 80px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .event-title h1 {
        font-size: 24px;
    }
    
    .event-title h2 {
        font-size: 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Ensure all form sections are responsive */
    .form-section .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .price-display-inline {
        gap: 8px;
    }
    
    .price-original {
        font-size: 14px;
    }
    
    .price-discounted {
        font-size: 18px;
    }
    
    .calculation-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .calc-value {
        font-size: 18px;
    }
    
    .total-amount {
        font-size: 22px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-item.price-item {
        align-items: flex-start;
    }
    
    .price-display-inline {
        justify-content: flex-start;
        margin-top: 5px;
    }
    
    .detail-item .label {
        font-size: 14px;
    }
    
    .detail-item .value {
        font-size: 16px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 18px;
    }
}

@media (max-width: 480px) {
    /* Speakers Section Small Mobile */
    .speakers-section {
        /*padding: 100px 0 120px 0;*/
        /*margin-top: -40px;*/
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    }
    
    /* Schedule Section Small Mobile */
    .schedule-section {
        padding: 60px 0 0 0;
        margin-top: -60px;
        clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    }
    
    .schedule-container {
        padding: 0 15px;
    }
    
    .schedule-title {
        margin-bottom: 30px;
    }
    
    .schedule-title h1 {
        font-size: clamp(1.4rem, 8vw, 2rem);
        letter-spacing: 0.3px;
    }
    
    .schedule-title h2 {
        font-size: clamp(0.8rem, 5vw, 1.1rem);
    }
    
    .schedule-timeline::before {
        display: none;
    }
    
    .schedule-session {
        margin-bottom: 30px;
    }
    
    .schedule-session::before {
        display: none;
    }
    
    .session-header {
        padding: 15px;
        max-width: 280px;
    }
    
    .session-time {
        font-size: 12px;
    }
    
    .session-title {
        font-size: 14px;
    }
    
    .session-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .session-content {
        margin-left: 0;
        padding: 15px;
        width: 100%;
    }
    
    .session-content::before {
        display: none;
    }
    
    .schedule-session:nth-child(even) .session-content::before {
        display: none;
    }
    
    .session-subtitle {
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 12px;
        padding-left: 15px;
    }
    
    .session-subtitle::before {
        width: 6px;
        height: 6px;
    }
    
    .session-topics li {
        font-size: 13px;
        margin-bottom: 5px;
        padding-left: 15px;
    }
    
    .session-topics li::before {
        font-size: 10px;
    }
    
    .speakers-container {
        padding: 0 15px;
    }
    
    .speakers-title {
        margin-bottom: 30px;
    }
    
    .speakers-title h1 {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
        letter-spacing: 1px;
    }
    
    .speakers-title h2 {
        font-size: clamp(0.9rem, 5vw, 1.3rem);
    }
    
    .speakers-list {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .speaker-card {
        padding: 18px;
        border-radius: 0;
        min-height: 140px;
        flex-direction: row;
        gap: 18px;
        background: rgba(255, 255, 255, 0.189);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
    
    .speaker-photo {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .speaker-info {
        padding: 6px 16px 6px 0;
        gap: 8px;
    }
    
    .speaker-initials {
        font-size: 2.2rem;
    }
    
    .speaker-name {
        font-size: 1.2rem;
    }
    
    .speaker-title {
        font-size: 0.9rem;
    }
    
    .speaker-info::after {
        height: 1.5px;
        margin: 4px 0;
    }

    .speakers-img {
        border-radius: 15px;
    }
    
    .slider-container {
        height: 45vh;
        max-height: 350px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .event-title h1 {
        font-size: 20px;
    }
    
    .event-title h2 {
        font-size: 16px;
    }
    
    .price-original {
        font-size: 12px;
    }
    
    .price-discounted {
        font-size: 16px;
    }
    
    .calc-value {
        font-size: 16px;
    }
    
    .total-amount {
        font-size: 20px;
    }
    
    .savings-text {
        font-size: 14px;
    }
    
    .quantity-input {
        gap: 40px;
        justify-content: center;
    }
    
    .quantity-btn {
        width: 55px;
        height: 55px;
        font-size: 26px;
        min-width: 55px;
        min-height: 55px;
    }
    
    .quantity-display {
        font-size: 24px;
        min-width: 90px;
    }
    
    .modal-content {
        width: 98%;
        padding: 10px;
    }
    
    .modal-close {
        top: 5px;
        right: 10px;
        font-size: 25px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
    
    .modal-caption {
        font-size: 14px;
        margin-top: 10px;
    }
    
    .modal-close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
    
    .modal-image {
        max-height: 70vh;
    }
    
    .modal-caption {
        font-size: 16px;
        margin-top: 15px;
    }
    
    .form-section {
        padding: 20px 15px;
    }
    
    .organizer-info h2 {
        font-size: 16px;
    }
    
    .organizer-info p {
        font-size: 14px;
    }
}


/* Quantity and Attendee Styles */
.quantity-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Price Calculator Styles */
.price-calculator {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    border: 1px solid #f59e0b;
}

.calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.calculation-row:last-child {
    border-bottom: none;
}

.total-row {
    border-top: 2px solid #f59e0b;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 600;
}

.calc-label {
    font-weight: 500;
    color: #374151;
    font-size: 16px;
}

.calc-value {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.total-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary-dark);
}

.savings-display {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    background: var(--color-bg-accent-light);
    border-radius: 8px;
    border: 1px solid var(--color-bg-accent-border);
}

.savings-text {
    font-weight: 600;
    color: var(--color-secondary-dark);
    font-size: 16px;
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--color-secondary);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
}

.modal-caption {
    margin-top: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* Make slider images clickable */
.slide-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slide-image:hover {
    transform: scale(1.05);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .quantity-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .quantity-input {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
}

.quantity-selector label {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    background: var(--color-secondary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    min-width: 40px;
    min-height: 40px;
}

.quantity-btn:hover {
    background: var(--color-secondary-dark);
}

.quantity-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.quantity-display {
    min-width: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.attendee-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.attendee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.copy-checkbox-container {
    margin-bottom: 15px;
}

.copy-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.copy-checkbox {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkmark {
    margin-left: 4px;
}

input[readonly] {
    background-color: #f3f4f6 !important;
    cursor: not-allowed !important;
}

.attendee-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.attendee-number {
    background: var(--color-secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
}

.attendee-form {
    display: none;
}

.attendee-form.active {
    display: block;
}

.attendee-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive form layout for attendee forms */
@media (max-width: 768px) {
    .attendee-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Make all form fields full width on mobile */
    .attendee-form .form-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .attendee-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .attendee-form .form-group {
        margin-bottom: 15px;
    }
    
    .attendee-form .form-group input,
    .attendee-form .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

.attendee-form .form-group {
    margin-bottom: 20px;
}

.attendee-form .form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.attendee-form .form-group input,
.attendee-form .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

.attendee-form .form-group input:focus,
.attendee-form .form-group select:focus {
    outline: none;
    border-color: var(--color-form-focus);
    box-shadow: 0 0 0 3px rgba(var(--color-form-focus-rgb), 0.1);
}

/* Loading and Success States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #a7f3d0;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fca5a5;
    text-align: center;
    font-weight: 500;
}

/* SweetAlert2 Custom Styles */
.swal2-popup-custom {
    font-family: 'Inter', sans-serif !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.swal2-title-custom {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 20px !important;
}

.swal2-content-custom {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.swal2-confirm {
    background-color: var(--color-secondary) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
    background-color: var(--color-secondary-dark) !important;
    transform: translateY(-1px) !important;
}

.swal2-success {
    border-color: var(--color-secondary) !important;
}

.swal2-success-ring {
    border-color: var(--color-secondary) !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
    background-color: var(--color-secondary) !important;
}

/* Session title bilingual styling */
.session-title-eng {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-title-mandarin {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

.session-badge-eng {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-badge-mandarin {
    font-size: 11px;
    font-weight: 500;
    color: #fef3c7;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

/* FAQ Section Styles */
.faq-section {
    position: relative;
    background: #f8fafc;
    padding: 100px 0 80px 0;
    margin-top: -100px;
    clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
    z-index: 3;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./pattern1.png');
    opacity: 0.05;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.faq-title {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.2;
}

.faq-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-category {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.faq-category-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin: -10px;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 15px;
}

.faq-toggle {
    font-size: 20px;
    font-weight: 300;
    color: #6b7280;
    transition: all 0.3s ease;
    min-width: 24px;
    text-align: center;
    user-select: none;
}

.faq-item.active .faq-toggle {
    color: #1f2937;
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
    padding-top: 0;
    margin-left: 0;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #1f2937;
    font-weight: 600;
}

.faq-answer em {
    color: #9ca3af;
    font-style: italic;
}

/* FAQ Section Mobile Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 40px 0;
        margin-top: -60px;
        clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    }
    
    .faq-container {
        padding: 0 20px;
    }
    
    .faq-title h1 {
        font-size: 32px;
    }
    
    .faq-title h2 {
        font-size: 16px;
    }
    
    .faq-category {
        padding: 20px;
    }
    
    .faq-category-title {
        font-size: 18px;
    }
    
    .faq-question h4 {
        font-size: 15px;
    }
    
    .faq-toggle {
        font-size: 18px;
    }
    
    .faq-answer p,
    .faq-answer li {
        font-size: 14px;
    }
}



/* ========================================
   REGISTER BUTTON BEFORE FOOTER
======================================== */

.floating-register-btn {
    position: static !important;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 30px 16px;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: none !important;
    z-index: auto;

    transition: none;
}

/* ========================================
   MAIN REGISTER BUTTON
======================================== */

.floating-register-btn .ticket-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;
    max-width: 100%;
    box-sizing: border-box;

    padding: 16px 24px;

    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;

    overflow: hidden;
}

/* Keep the arrow above decorative effects */
.floating-register-btn .ticket-button span {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

/* ========================================
   SHINE EFFECT
======================================== */

.floating-register-btn .ticket-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );

    transition: left 0.5s ease;
    pointer-events: none;
}

.floating-register-btn
.ticket-button:not(.event-closed):not(:disabled):hover::before {
    left: 100%;
}

/* ========================================
   HOVER EFFECT
======================================== */

.floating-register-btn
.ticket-button:not(.event-closed):not(:disabled):hover {
    background: linear-gradient(
        135deg,
        var(--color-gradient-middle),
        var(--color-gradient-start)
    );

    box-shadow:
        0 6px 20px var(--color-shadow-strong),
        0 0 30px var(--color-shadow-primary);
}

/* ========================================
   CLOSED EVENT BUTTON
======================================== */

.floating-register-btn .ticket-button.event-closed,
.floating-register-btn .ticket-button:disabled {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;

    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;

    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

/* Disable shine for closed events */
.floating-register-btn .ticket-button.event-closed::before,
.floating-register-btn .ticket-button:disabled::before {
    display: none;
}

/* ========================================
   LEGACY FLOATING BUTTON SUPPORT
   Only applies if .floating-btn is still used
======================================== */

.floating-register-btn .floating-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: max-content;
    max-width: 100%;
    box-sizing: border-box;

    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Legacy button shine */
.floating-register-btn .floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );

    transition: left 0.5s ease;
    pointer-events: none;
}

.floating-register-btn
.floating-btn:not(.event-closed):hover::before {
    left: 100%;
}

/* Legacy button text */
.floating-register-btn .floating-btn-text {
    position: relative;
    z-index: 3;

    margin: 0;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.floating-register-btn .floating-btn-text-chinese {
    position: relative;
    z-index: 3;

    margin-top: 3px;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;

    opacity: 0.85;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Legacy glow effect */
.floating-register-btn .floating-btn-glow {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );

    border-radius: inherit;
    opacity: 0;

    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-register-btn
.floating-btn:hover .floating-btn-glow {
    opacity: 1;
}

/* Legacy closed event styling */
.floating-register-btn .floating-btn.event-closed {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;

    opacity: 0.75;
    cursor: not-allowed;

    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.floating-register-btn .floating-btn.event-closed::before {
    display: none;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 576px) {
    .floating-register-btn {
        padding: 24px 12px;
    }

    .floating-register-btn .ticket-button {
        max-width: 100%;
        padding: 12px 16px;

        font-size: 13px;
        line-height: 1.4;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    .floating-register-btn .floating-btn {
        min-width: 0;
        max-width: 100%;
        padding: 12px 16px;

        font-size: 13px;
        letter-spacing: 0.3px;
        line-height: 1.4;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    .floating-register-btn .floating-btn-text {
        font-size: 13px;
        letter-spacing: 0.3px;
        line-height: 1.35;
    }

    .floating-register-btn .floating-btn-text-chinese {
        font-size: 11px;
        letter-spacing: 0.2px;
    }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    .floating-register-btn,
    .floating-register-btn .ticket-button,
    .floating-register-btn .ticket-button::before,
    .floating-register-btn .floating-btn,
    .floating-register-btn .floating-btn::before,
    .floating-register-btn .floating-btn-glow {
        transition: none !important;
    }
}


/* Hide floating button when modal is open */
.modal.show ~ .floating-register-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Modal Register Button Styling */
.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-middle) 100%);
    border: 2px solid var(--color-button-border);
    border-radius: 3px;
    color: var(--color-button-text);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px var(--color-shadow-primary),
        0 0 20px var(--color-shadow-secondary);
    position: relative;
    overflow: hidden;
}

.modal-footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.modal-footer .btn-primary:hover::before {
    left: 100%;
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gradient-middle) 0%, var(--color-gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px var(--color-shadow-strong),
        0 0 30px var(--color-shadow-primary);
    border-color: #00ff88;
}

.modal-footer .btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px var(--color-shadow-primary),
        0 0 15px var(--color-shadow-primary);
}

.modal-footer .btn-primary:focus {
    box-shadow: 
        0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25),
        0 4px 15px var(--color-shadow-primary);
    border-color: var(--color-button-border);
}

.modal-footer .btn-primary:not(:disabled):not(.disabled):active {
    background: linear-gradient(135deg, var(--color-gradient-middle) 0%, var(--color-gradient-start) 100%);
    border-color: #00ff88;
    box-shadow: 
        0 2px 10px var(--color-shadow-primary),
        0 0 15px var(--color-shadow-primary);
}

/* Modal Close Button Styling */
.modal-footer .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border: 2px solid #6b7280;
    border-radius: 3px;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(107, 114, 128, 0.3),
        0 0 20px rgba(107, 114, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-footer .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.modal-footer .btn-secondary:hover::before {
    left: 100%;
}

.modal-footer .btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(107, 114, 128, 0.4),
        0 0 30px rgba(107, 114, 128, 0.2);
    border-color: #6b7280;
}

.modal-footer .btn-secondary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(107, 114, 128, 0.3),
        0 0 15px rgba(107, 114, 128, 0.2);
}

.modal-footer .btn-secondary:focus {
    box-shadow: 
        0 0 0 0.2rem rgba(107, 114, 128, 0.25),
        0 4px 15px rgba(107, 114, 128, 0.3);
    border-color: #6b7280;
}

.modal-footer .btn-secondary:not(:disabled):not(.disabled):active {
    background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
    border-color: #6b7280;
    box-shadow: 
        0 2px 10px rgba(107, 114, 128, 0.3),
        0 0 15px rgba(107, 114, 128, 0.2);
}

/* Responsive Design for Floating Button */
@media (max-width: 768px) {
    /* Modal Button Responsive */
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    /* Modal Button Mobile Responsive */
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        font-size: 13px;
        padding: 8px 16px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0 30px 0;
        margin-top: -40px;
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-title h1 {
        font-size: 28px;
    }
    
    .faq-title h2 {
        font-size: 14px;
    }
    
    .faq-category {
        padding: 15px;
    }
    
    .faq-category-title {
        font-size: 16px;
    }
    
    .faq-question h4 {
        font-size: 14px;
    }
    
    .faq-toggle {
        font-size: 16px;
    }
    
    .faq-answer p,
    .faq-answer li {
        font-size: 13px;
    }
}



/* =========================================
   HERO BANNER — SOFT BACKGROUND & CENTERED
========================================= */

.hero-banner {
    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;

    background-color: #111;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Background image layer
   Best used when the image is moved to .hero-background */
.hero-background {
    position: absolute;
    inset: -5px;
    z-index: -2;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    filter: blur(4px);
    transform: scale(1.02);
    pointer-events: none;
}

/* Darken the background without blurring the content */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

/* Main content */
.hero-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px 100px;
    box-sizing: border-box;

    color: #fff;
    text-align: center;
}

/* =========================================
   ORGANIZER LOGO
========================================= */

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    margin-bottom: 28px;
    text-align: center;
}

.hero-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 90px;

    width: 90px;
    height: 90px;
    overflow: hidden;
}

.hero-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-logo-text {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.hero-logo-text h3,
.hero-logo-text p {
    margin: 0;
    color: #fff;
    overflow-wrap: anywhere;
}

.hero-logo-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.hero-logo-text p {
    margin-top: 5px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =========================================
   EVENT TITLE
========================================= */

.hero-title {
    width: 100%;
    max-width: 950px;
    margin: 0 auto 26px;
    text-align: center;
}

.hero-title h1,
.hero-title h3 {
    color: #fff;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.hero-title h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-title h3 {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.95;
}

/* =========================================
   REGISTRATION BUTTON
========================================= */

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    margin: 0 auto 36px;
    text-align: center;
}

.ticket-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    max-width: 100%;
    padding: 14px 28px;
    box-sizing: border-box;

    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border: solid 7px white; background: #49b8ee; color: black;
    font-size: 16px; 
    font-weight: 600;
    letter-spacing: 0.16em; 
    text-transform: uppercase;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    white-space: normal;
    overflow-wrap: anywhere;
    border-radius: 10px;
}

.ticket-button span { font-size: 16px; }
.ticket-button:hover {
    background: transparent; color: var(--cream); transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(183, 154, 104, 0.15);
}

/* =========================================
   EVENT DATE, VENUE & PRICE
========================================= */

.hero-detail-row.grid-layout {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    padding: 20px 16px;
    box-sizing: border-box;

    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-detail-item.full-width {
    grid-column: 1 / -1;
}

.hero-label {
    display: block;
    margin-bottom: 8px;

    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.85;
}

.hero-value,
.hero-value span,
.hero-price-discounted {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;

    overflow-wrap: anywhere;
    word-break: normal;
}

/* Decorative particles should not block interaction */
.hero-particles {
    pointer-events: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 20px 90px;
    }

    .hero-logo-icon {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .hero-title {
        margin-bottom: 22px;
    }

    .hero-cta {
        margin-bottom: 28px;
    }

    .hero-detail-row.grid-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }

    .hero-detail-item {
        padding: 16px 14px;
    }

    .hero-detail-item.full-width {
        grid-column: auto;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {
    .hero-content {
        padding: 32px 16px 80px;
    }

    .hero-logo {
        margin-bottom: 22px;
    }

    .hero-logo-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .hero-title h1 {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .hero-title h3 {
        font-size: 1rem;
    }

    .ticket-button {
        width: 100%;
        padding: 13px 16px;
        font-size:11px;
    }

    .hero-detail-item {
        padding: 14px 12px;
    }

    .hero-label {
        font-size: 0.82rem;
    }

    .hero-value,
    .hero-value span,
    .hero-price-discounted {
        font-size: 0.92rem;
    }

    .hero-background {
        filter: blur(3px);
    }
}