/* ========================================
   Conference Website - Premium Light Theme
   เว็บไซต์งานประชุมวิชาการ - ธีมสว่างพรีเมียม
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Elegant Teal & Coral */
    --primary: #0891b2;
    --primary-light: #22d3ee;
    --primary-dark: #0e7490;
    --secondary: #f97316;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    
    /* Elegant Gradients */
    --gradient: linear-gradient(135deg, #0891b2 0%, #8b5cf6 100%);
    --gradient-warm: linear-gradient(135deg, #0891b2 0%, #f97316 100%);
    --gradient-soft: linear-gradient(135deg, #ecfeff 0%, #faf5ff 50%, #fff7ed 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f0fdfa 50%, #ecfeff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-hero: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    
    /* Text Colors */
    --text-primary: #18181b;
    --text-secondary: #3f3f46;
    --text-muted: #71717a;
    --text-light: #a1a1aa;
    
    /* Premium Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* Premium Card Effects */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --card-border: rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    
    /* Typography */
    --font-main: 'Noto Sans Thai', 'Inter', system-ui, sans-serif;
    --font-heading: 'Prompt', 'Inter', system-ui, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page load animation */
body.page-loading {
    opacity: 0;
}

body.page-loaded {
    animation: pageReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
    transform: translateY(-100%);
}

body.page-loaded .navbar {
    animation: navSlideDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 6px 12px 6px 6px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.nav-logo:hover {
    background: rgba(8, 145, 178, 0.06);
}

.nav-logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(139, 92, 246, 0.1));
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.15);
    transition: var(--transition-normal);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.35;
    max-width: 180px;
}

@media (max-width: 1100px) {
    .nav-logo-text {
        font-size: 0.8rem;
        max-width: 140px;
    }
    
    .nav-logo-img {
        height: 42px;
        width: 42px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        padding: 4px;
    }
    
    .nav-logo-text {
        display: none;
    }
    
    .nav-logo-img {
        height: 44px;
        width: 44px;
    }
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.1);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-overlay {
    display: none;
}

.nav-lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-lang-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.06);
}

.nav-lang-btn:hover {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.12);
}

.nav-lang-btn.active {
    color: #fff;
    background: var(--primary);
}

.nav-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-btn-login:hover {
    color: #fff;
    background: var(--primary);
}

.nav-user-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    white-space: nowrap;
    max-width: 160px;
}

.nav-user-wrap:hover {
    color: var(--primary);
    background: rgba(8, 145, 178, 0.08);
}

.nav-user-avatar {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-user-initial {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.nav-user-initial.nav-user-initial-show {
    display: flex;
}

.nav-user-wrap .nav-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
    background: var(--bg-hero); /* fallback when no hero image */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
    opacity: 0;
}

body.page-loaded .hero-bg {
    animation: heroBgReveal 1s ease 0.3s forwards;
}

@keyframes heroBgReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Decorative shapes - minimal opacity to not cover background image */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    opacity: 0.02;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0%;
    width: 400px;
    height: 400px;
    background: var(--gradient-warm);
    opacity: 0.02;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.02; }
    50% { transform: scale(1.1); opacity: 0.03; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    opacity: 0.08;
    border-radius: 50%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.08; }
    90% { opacity: 0.08; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
}

/* Hero content staggered animations on page load */
.hero-content .hero-badge {
    animation: fadeInDown 0.8s ease 0.5s both;
}

.hero-content .hero-title {
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-content .hero-subtitle {
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-content .hero-tagline {
    animation: fadeInUp 0.8s ease 1.1s both;
}

.hero-content .hero-meta {
    animation: fadeInUp 0.8s ease 1.3s both;
}

.hero-content .hero-buttons {
    animation: fadeInUp 0.8s ease 1.5s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-badge::before {
    /* content: '💊'; */
    font-size: 1.2rem;
}

.hero-title {
    color: var(--text-primary);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.1;
}

.hero-title-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 44px;
    animation: fadeInUp 0.8s ease 0.6s both;
    font-weight: 400;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    padding: 18px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.hero-meta-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.hero-meta-link {
    cursor: pointer;
    text-decoration: none;
}

.hero-meta-link:hover {
    border-color: var(--primary);
}

.hero-meta-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-sm);
}

.hero-meta-text {
    text-align: left;
}

.hero-meta-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-meta-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hero-meta-separator {
    color: var(--text-light);
    margin: 0 8px;
    font-weight: 400;
}

.hero-meta-datetime {
    min-width: 280px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 1s both;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.1);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.3);
}

/* ===== Section Titles ===== */
.section-header {
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.section-header .section-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-header .section-title {
    display: block;
    width: 100%;
}

.section-badge {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(8, 145, 178, 0.2);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.1);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-description {
    max-width: 650px;
    margin: 16px auto 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--card-border) 50%, transparent 90%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    padding: 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.highlight-card:hover {
    transform: translateY(-6px) translateX(4px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.highlight-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0.08;
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.08;
    filter: blur(60px);
    z-index: -1;
}

.about-decoration-1 {
    top: -60px;
    right: -60px;
}

.about-decoration-2 {
    bottom: -60px;
    left: -60px;
}

/* ===== Speakers Section ===== */
.speakers {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Speakers banner mode (ใช้ .speakers-grid เป็น container เหมือนเดิม) */
.speakers-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.speakers-banner-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--bg-primary);
    box-shadow: var(--card-shadow);
}
.speakers-banners.is-slideshow {
    position: relative;
    display: grid;
}
.speakers-banners.is-slideshow .speakers-banner-item {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 900ms ease, transform 900ms ease, visibility 0ms linear 900ms;
}
.speakers-banners.is-slideshow .speakers-banner-item.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 900ms ease, transform 900ms ease;
}
@media (prefers-reduced-motion: reduce) {
    .speakers-banners.is-slideshow .speakers-banner-item,
    .speakers-banners.is-slideshow .speakers-banner-item.is-active {
        transform: none;
        transition: none;
    }
}
.speakers-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.speaker-card {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.speaker-card:hover::before {
    transform: scaleX(1);
}

.speaker-image {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
    position: relative;
    background: var(--gradient);
    padding: 4px;
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.2);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    background: var(--bg-secondary);
}

.speaker-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
}

.speaker-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.speaker-title {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker-affiliation {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.speaker-topic {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(139, 92, 246, 0.06));
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid rgba(8, 145, 178, 0.1);
}

/* ===== Schedule Section ===== */
.schedule {
    background: var(--bg-primary);
    position: relative;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--card-border) 50%, transparent 90%);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.schedule-tab {
    padding: 16px 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-normal);
}

.schedule-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(8, 145, 178, 0.05);
}

.schedule-tab.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.schedule-day-title {
    display: none;
    color: var(--text-primary);
}

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

.schedule-item {
    display: flex;
    gap: 24px;
    padding: 24px 28px;
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    transition: var(--transition-normal);
    align-items: center;
}

.schedule-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--card-shadow);
}

.schedule-item.break {
    opacity: 0.6;
    background: var(--bg-tertiary);
}

.schedule-item.break:hover {
    opacity: 1;
}

.schedule-time {
    flex-shrink: 0;
    width: 140px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.schedule-content {
    flex: 1;
}

.schedule-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 1rem;
}

.schedule-speaker {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.schedule-type {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.schedule-type.lecture {
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary);
}

.schedule-type.workshop {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.schedule-type.break {
    background: rgba(113, 113, 122, 0.1);
    color: var(--text-muted);
}

.schedule-type.ceremony {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.schedule-type.panel {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

/* Schedule Image Display Mode */
.schedule-image-container {
    text-align: center;
    padding: 10px;
}

.schedule-image-display {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow-hover);
    transition: var(--transition-normal);
}

.schedule-image-display:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* รูปกำหนดการ (แสดงเล็กลง) */
.schedule-image-wrap {
    text-align: center;
}
.schedule-day-image {
    max-width: 560px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* ===== Registration Section ===== */
.registration {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.registration-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.registration-content {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-normal);
    position: relative;
}

/* keep legacy class but make it look like normal card */
.pricing-card.featured {
    border: 1px solid var(--card-border);
    transform: none;
    box-shadow: var(--card-shadow);
}

.pricing-card.featured::before { display: none; }

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

/* Expired pricing card */
.pricing-card.expired {
    opacity: 0.6;
    background: var(--bg-tertiary);
}

.pricing-card.expired:hover {
    transform: none;
    box-shadow: var(--card-shadow);
}

.pricing-card.expired .pricing-price {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.expired .pricing-deadline {
    color: #ef4444;
    font-weight: 600;
}

/* Disabled button */
.btn.btn-disabled {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

.btn.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.pricing-type {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
}

.pricing-deadline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.registration-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Check Status Button */
.check-status-container {
    margin-top: 32px;
    text-align: center;
}

.check-status-btn {
    font-size: 1.1rem;
    padding: 16px 36px;
    border-width: 2px;
}

.check-status-info {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Invitation Letters */
.invitation-letters {
    margin-top: 48px;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--card-shadow);
}

.invitation-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.invitation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.invitation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--card-border);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.invitation-item:hover {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(139, 92, 246, 0.1));
    border-color: var(--primary);
    transform: translateX(4px);
}

.invitation-icon {
    font-size: 1.3rem;
}

.invitation-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.invitation-download {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    background: rgba(8, 145, 178, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

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

/* ===== Venue Section ===== */
.venue {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.venue-info {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.venue-details {
    margin-bottom: 28px;
}

.venue-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.venue-building {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.venue-address {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.venue-directions {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 28px;
}

.directions-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.directions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.direction-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.direction-icon {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius-sm);
}

.direction-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.venue-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.venue-btn {
    width: 100%;
    justify-content: center;
}

.hotel-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
    border: 2px solid var(--accent);
    color: var(--accent);
}

.hotel-btn:hover {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.hotel-doc-btn {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border: 2px solid #22c55e;
    color: #16a34a;
}

.hotel-doc-btn:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
}

.venue-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.venue-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.venue-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 300px;
}

.venue-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
    min-height: 300px;
    background: var(--bg-tertiary);
    flex: 1;
}

.map-embed {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

@media (max-width: 900px) {
    .venue-content {
        grid-template-columns: 1fr;
    }
    
    .venue-map {
        order: -1;
    }
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--card-border) 50%, transparent 90%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.contact-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.contact-card:hover::after {
    transform: scaleX(1);
}

.contact-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(139, 92, 246, 0.15));
}

.contact-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-value a {
    color: var(--primary);
    font-weight: 500;
}

.contact-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, #e5e5e5 100%);
    padding: 48px 0;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(139, 92, 246, 0.15));
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow), 0 0 0 1px rgba(8, 145, 178, 0.08);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity var(--transition-normal), visibility var(--transition-normal), 
                transform var(--transition-normal), box-shadow var(--transition-fast),
                background var(--transition-fast), color var(--transition-fast);
}

.audio-toggle {
    position: fixed;
    bottom: 28px;
    right: 92px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow), 0 0 0 1px rgba(8, 145, 178, 0.08);
    z-index: 999;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.audio-toggle:hover {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    box-shadow: var(--card-shadow-hover), 0 0 0 1px rgba(8, 145, 178, 0.15);
    transform: translateY(-2px);
}
.audio-toggle:active { transform: translateY(0); }
.audio-toggle.is-paused .audio-toggle__icon { filter: grayscale(1); opacity: 0.7; }
.audio-toggle.is-hidden { display: none; }
.audio-toggle__icon { font-size: 18px; line-height: 1; }

.scroll-to-top .scroll-to-top__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-fast);
}

.scroll-to-top .scroll-to-top__icon svg {
    display: block;
    flex-shrink: 0;
    margin: auto;
}

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

.scroll-to-top.visible:hover {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: var(--primary-dark);
    border-color: rgba(8, 145, 178, 0.2);
    box-shadow: var(--card-shadow-hover), 0 0 0 1px rgba(8, 145, 178, 0.15);
    transform: translateY(-3px) scale(1.02);
}

.scroll-to-top.visible:hover .scroll-to-top__icon {
    transform: translateY(-1px);
}

.scroll-to-top.visible:active {
    transform: translateY(-1px) scale(0.98);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    /* Overlay เมื่อเปิดเมนูมือถือ */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(24, 24, 27, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--bg-primary);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12), -2px 0 8px rgba(0, 0, 0, 0.06);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease, box-shadow 0.35s ease;
        padding: 0;
        z-index: 1001;
        visibility: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
    }
    
    /* หัวเมนูมือถือ */
    .nav-menu::before {
        content: attr(data-menu-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-secondary);
        padding: 24px 24px 20px;
        border-bottom: 1px solid var(--card-border);
        background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 18px 24px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-secondary);
        border-radius: 0;
        border-left: 3px solid transparent;
        transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }
    
    .nav-menu .nav-link:hover {
        color: var(--primary);
        background: rgba(8, 145, 178, 0.06);
        border-left-color: var(--primary);
    }
    
    .nav-menu .nav-link.active {
        color: var(--primary);
        background: rgba(8, 145, 178, 0.08);
        border-left-color: var(--primary);
    }
    
    .nav-menu .nav-link.active::after {
        display: none;
    }
    
    .nav-btn-login {
        padding: 6px 14px;
        font-size: 0.85rem;
        margin-right: 4px;
    }
    
    .nav-user-wrap {
        padding: 4px 6px 4px 4px;
        gap: 6px;
        max-width: 120px;
        margin-right: 4px;
    }
    
    .nav-user-wrap .nav-user-name {
        max-width: 60px;
        font-size: 0.8rem;
    }
    
    .nav-user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .nav-user-initial.nav-user-initial-show {
        font-size: 0.9rem;
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .hero {
        min-height: 27vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-bg {
        height: 27vh;
        top: 0;
        bottom: auto;
        margin-top: 60px;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-meta-item {
        width: 100%;
        max-width: 320px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .schedule-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-tab {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .schedule-time {
        width: auto;
    }
    
    .schedule-type {
        margin-top: 10px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
        box-shadow: var(--card-shadow-hover);
        border-color: transparent;
    }
    
    /* Grid layouts for tablet */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Venue for tablet */
    .venue-content {
        grid-template-columns: 1fr;
    }
    
    .venue-media {
        order: -1;
    }
    
    .venue-info {
        padding: 30px;
    }
    
    .venue-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .venue-btn {
        flex: 1;
        min-width: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    /* Hero Mobile */
    .hero {
        height: 20vh;
        /* padding-top: 80px; */
        padding-bottom: 40px;
    }
    
    .hero-bg {
        height: 20vh;
        top: 0;
        bottom: auto;
        margin-top: 60px;
    }

    .hero-particles {
        height: 20vh;
        top: 0;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }
    
    .hero-content {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 0.85rem;
    }
    
    .hero-meta {
        gap: 12px;
    }
    
    .hero-meta-item {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .hero-meta-icon {
        font-size: 1.2rem;
    }
    
    .icon-bg {
        width: 36px;
        height: 36px;
    }
    
    /* About Mobile */
    .about-content {
        gap: 30px;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .highlight-item {
        padding: 20px;
    }
    
    .highlight-icon {
        font-size: 1.5rem;
    }
    
    /* Speakers Mobile */
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .speaker-card {
        padding: 20px;
    }
    
    .speaker-avatar {
        width: 80px;
        height: 80px;
    }
    
    .speaker-name {
        font-size: 1rem;
    }
    
    /* Schedule Mobile */
    .schedule-item {
        padding: 16px;
    }
    
    .schedule-time {
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .schedule-title {
        font-size: 0.95rem;
    }
    
    .schedule-speaker {
        font-size: 0.8rem;
    }
    
    .schedule-image-container {
        padding: 8px;
    }
    
    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .pricing-type {
        font-size: 0.95rem;
    }
    
    .check-status-container {
        margin-top: 24px;
    }
    
    .check-status-btn {
        font-size: 0.95rem;
        padding: 14px 24px;
    }
    
    /* Venue Mobile */
    .venue-content {
        gap: 24px;
    }
    
    .venue-info {
        padding: 24px;
    }
    
    .venue-name {
        font-size: 1.1rem;
    }
    
    .venue-building,
    .venue-address {
        font-size: 0.85rem;
    }
    
    .venue-directions {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .directions-title {
        font-size: 0.9rem;
    }
    
    .direction-text {
        font-size: 0.8rem;
    }
    
    .venue-buttons {
        gap: 10px;
    }
    
    .venue-btn {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    
    .venue-image {
        max-height: 200px;
    }
    
    .venue-map {
        min-height: 250px;
    }
    
    .map-embed {
        min-height: 250px;
    }
    
    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-icon {
        font-size: 1.3rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-info h3 {
        font-size: 1.1rem;
    }
    
    .footer-info p {
        font-size: 0.8rem;
    }
    
    /* Invitation Letters Mobile */
    .invitation-letters {
        padding: 20px;
        margin-top: 32px;
    }
    
    .invitation-title {
        font-size: 1rem;
    }
    
    .invitation-item {
        padding: 12px;
    }
    
    .invitation-name {
        font-size: 0.85rem;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 8px 0;
    }
    
    .nav-brand img {
        height: 32px;
    }
    
    .nav-brand span {
        font-size: 0.85rem;
    }
    
    /* Scroll to Top - Mobile */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }
    
    .scroll-to-top .scroll-to-top__icon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Fix Mobile Layout Issues */
    .venue-buttons {
        flex-direction: column;
    }
    
    .venue-btn {
        width: 100%;
        min-width: 0;
    }
    
    /* Reduce decorative elements size on mobile to prevent overflow issues */
    .hero::before, 
    .hero::after {
        width: 150px;
        height: 150px;
        opacity: 0.02;
        filter: blur(60px);
    }
    
    .hero::before {
        right: -20px;
    }
    
    .hero::after {
        left: -20px;
    }
    
    /* Fix About decoration overflow */
    .about-decoration {
        width: 100px;
        height: 100px;
        filter: blur(40px);
    }
    
    .about-decoration-1 {
        top: -20px;
        right: -20px;
    }
    
    .about-decoration-2 {
        bottom: -20px;
        left: -20px;
    }
}

/* ===== Partners (Organizers/Sponsors) ===== */
.partners { position: relative; }
.partners .section-header { text-align: center; }
.partners-groups { display: grid; gap: 2rem; }
.partners-group { position: relative; }
.partners-group::after{
    content: '';
    display: block;
    height: 2px;
    width: min(520px, 92vw);
    margin: 1.25rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg,
        rgba(148,163,184,0.00),
        rgba(148,163,184,0.55),
        rgba(148,163,184,0.00)
    );
}
.partners-group-title {
    margin: 0 auto 0.9rem;
    width: fit-content;
    max-width: 100%;
    position: relative;
    padding: 0.5rem 0.9rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgba(15,23,42,0.92);
    background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(139,92,246,0.10));
    border: 1px solid rgba(226,232,240,0.95);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(2,6,23,0.06);
    backdrop-filter: blur(8px);
}
.partners-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
    justify-content: center; /* center each row (including last row) */
}
.partner-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
    backdrop-filter: blur(8px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.partner-card::before{
    content:'';
    position:absolute;
    inset:-40% -30% auto -30%;
    height: 120px;
    background: radial-gradient(closest-side, rgba(56,189,248,0.22), rgba(139,92,246,0.0));
    transform: rotate(-8deg);
    pointer-events:none;
}
.partner-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(2,6,23,0.10);
    border-color: rgba(148,163,184,0.55);
}
.partner-logo-wrap {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    text-align: center;
}
.partner-logo-img {
    width: 78px; height: 78px; object-fit: contain;
    border-radius: 14px; background: #fff;
    border: 1px solid rgba(226,232,240,0.95);
    padding: 0.35rem;
}
@media (min-width: 1024px) {
    .partner-logo-img { width: 88px; height: 88px; border-radius: 18px; padding: 0.45rem; }
}
.partner-logo-fallback{
    width: 78px; height: 78px;
    border-radius: 14px;
    display:flex; align-items:center; justify-content:center;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(15,23,42,0.92);
    background: linear-gradient(135deg, rgba(14,165,233,0.20), rgba(139,92,246,0.18));
    border: 1px solid rgba(226,232,240,0.95);
    user-select:none;
    flex: 0 0 auto;
}
@media (min-width: 1024px) {
    .partner-logo-fallback { width: 88px; height: 88px; border-radius: 18px; }
}
.partner-text{ min-width: 0; width: 100%; }
.partner-name { margin: 0; font-weight: 900; letter-spacing: -0.015em; line-height: 1.25; }
.partner-detail { margin: 0.45rem 0 0; color: rgba(71,85,105,0.95); line-height: 1.6; }

/* ===== Utility Classes ===== */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.hidden { display: none !important; }
.visible { display: block !important; }
