/* ============================================
   High Tech | High Touch | Human Sustainability
   Registration System Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1335;
    --bg-card: #131640;
    --bg-input: #1a1f4e;
    --bg-input-focus: #1e2459;
    --border-subtle: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --border-focus: #8B5CF6;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-label: #94a3b8;
    --accent-orange: #F97316;
    --accent-pink: #EC4899;
    --accent-purple: #8B5CF6;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --accent-green: #10b981;
    --gradient-brand: linear-gradient(135deg, #F97316 0%, #EC4899 35%, #8B5CF6 70%, #3B82F6 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6, #3B82F6);
    --gradient-green: linear-gradient(135deg, #10b981, #06b6d4);
    --gradient-warm: linear-gradient(135deg, #F97316, #EC4899);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(139,92,246,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-th: 'Prompt', sans-serif;
    --font-en: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-th);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Background Pattern --- */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139,92,246,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59,130,246,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(249,115,22,0.04) 0%, transparent 50%),
        var(--bg-primary);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1100px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-th);
    font-weight: 600;
    line-height: 1.3;
}

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

a:hover { opacity: 0.85; }

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.55) saturate(1.2);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(10,14,39,0.3) 0%, 
            rgba(10,14,39,0.15) 40%, 
            rgba(10,14,39,0.6) 75%, 
            rgba(10,14,39,0.95) 100%
        ),
        linear-gradient(90deg, 
            rgba(249,115,22,0.06) 0%, 
            rgba(139,92,246,0.06) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        0 0 60px rgba(249,115,22,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: heroLogoFloat 4s ease-in-out infinite;
}

.hero-logo-wrap:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.4),
        0 0 80px rgba(249,115,22,0.15);
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

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

.hero-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin: 0;
    line-height: 1.1;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.tag-high-tech {
    background: linear-gradient(135deg, #F97316, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag-high-touch {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag-human {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag-divider {
    color: rgba(255,255,255,0.3);
    font-weight: 300;
}

.hero-event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.hero-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-th);
    font-weight: 400;
    transition: all 0.3s ease;
}

.hero-info-chip:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(249,115,22,0.3);
}

.hero-info-chip i {
    color: #F97316;
    font-size: 11px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}

/* Old header (kept for backward compat) */
.site-header {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.03);
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-text-gradient {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* --- Main Content --- */
.main-content {
    padding: 10px 0 60px;
    min-height: calc(100vh - 200px);
}

/* --- Card --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0.7;
}

.card-clean::before {
    display: none;
}

/* --- Step Indicator --- */
.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-title .step-num {
    font-family: var(--font-en);
    color: var(--accent-cyan);
    font-weight: 700;
}

.step-title .step-label {
    color: var(--text-primary);
}

/* --- Part Titles --- */
.part-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.part-title:first-of-type {
    margin-top: 0;
}

.part-title i {
    color: var(--accent-purple);
    font-size: 14px;
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: var(--text-label);
    margin-bottom: 6px;
    font-weight: 400;
}

.form-label .required {
    color: var(--accent-pink);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-th);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.form-control:hover {
    border-color: var(--border-light);
    background: var(--bg-input-focus);
}

.form-control:focus {
    border-color: var(--border-focus);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2364748b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

/* --- Radio & Checkbox --- */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.food-option-group .option-card {
    flex: 1;
    min-width: 100px;
}

.option-card {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-card label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

.option-card label .option-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.option-card input[type="checkbox"] + label .option-icon {
    border-radius: 4px;
}

.option-card label:hover {
    border-color: var(--border-light);
    background: var(--bg-input-focus);
}

.option-card input:checked + label {
    border-color: var(--accent-purple);
    background: rgba(139,92,246,0.08);
}

.option-card input:checked + label .option-icon {
    border-color: var(--accent-purple);
    background: var(--accent-purple);
}

.option-card input:checked + label .option-icon::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.option-card input[type="checkbox"]:checked + label .option-icon::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: #fff;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
}

/* Interest cards (larger style) */
.interest-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.interest-card {
    position: relative;
    display: flex;
}

.interest-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.interest-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    user-select: none;
    width: 100%;
}

.interest-card label i {
    font-size: 24px;
    transition: var(--transition);
}

.interest-card label .interest-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.interest-card label .interest-desc {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
    transition: var(--transition);
}

.interest-card label:hover {
    border-color: var(--border-light);
    background: var(--bg-input-focus);
    transform: translateY(-2px);
}

.interest-card:nth-child(1) input:checked + label {
    border-color: var(--accent-cyan);
    background: rgba(6,182,212,0.08);
    box-shadow: 0 0 16px rgba(6,182,212,0.1);
}
.interest-card:nth-child(1) input:checked + label i { color: var(--accent-cyan); }

.interest-card:nth-child(2) input:checked + label {
    border-color: var(--accent-pink);
    background: rgba(236,72,153,0.08);
    box-shadow: 0 0 16px rgba(236,72,153,0.1);
}
.interest-card:nth-child(2) input:checked + label i { color: var(--accent-pink); }

.interest-card:nth-child(3) input:checked + label {
    border-color: var(--accent-green);
    background: rgba(16,185,129,0.08);
    box-shadow: 0 0 16px rgba(16,185,129,0.1);
}
.interest-card:nth-child(3) input:checked + label i { color: var(--accent-green); }

.interest-card input:checked + label .interest-name {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-th);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    outline: none;
    line-height: 1.4;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-purple);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,92,246,0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139,92,246,0.4);
    transform: translateY(-1px);
    opacity: 1;
}

.btn-gradient {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249,115,22,0.25);
}

.btn-gradient:hover {
    box-shadow: 0 6px 20px rgba(249,115,22,0.35);
    transform: translateY(-1px);
    opacity: 1;
}

.btn-green {
    background: var(--gradient-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}

.btn-green:hover {
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    transform: translateY(-1px);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(139,92,246,0.05);
    opacity: 1;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* --- Loading Spinner --- */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Alert / Notice --- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.alert i { margin-top: 2px; flex-shrink: 0; }

.alert-success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: #6ee7b7;
}

.alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
}

.alert-warning {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    color: #fcd34d;
}

.alert-info {
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    color: #93c5fd;
}

/* --- Thank You / Success Page --- */
.result-page {
    text-align: center;
    padding: 50px 20px;
}

.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.result-icon-success {
    background: rgba(16,185,129,0.12);
    color: var(--accent-green);
    border: 2px solid rgba(16,185,129,0.3);
}

.result-icon-party {
    background: rgba(249,115,22,0.12);
    color: var(--accent-orange);
    border: 2px solid rgba(249,115,22,0.3);
}

.result-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.result-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.result-event {
    margin: 28px 0;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.result-event p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0;
}

.result-event .event-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.result-note {
    max-width: 480px;
    margin: 24px auto;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.result-cta {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
}

.result-limit {
    color: var(--accent-pink);
    font-size: 13px;
    margin-top: 12px;
}

/* --- Workshop Cards --- */
.workshop-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.workshop-card {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.workshop-card.ws-tech::before { background: var(--gradient-purple); }
.workshop-card.ws-sustain::before { background: var(--gradient-green); }

.workshop-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.workshop-card.selected {
    border-color: var(--accent-purple);
    background: rgba(139,92,246,0.06);
}

.workshop-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.ws-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ws-badge {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.ws-tech .ws-badge { background: rgba(139,92,246,0.15); color: var(--accent-purple); }
.ws-sustain .ws-badge { background: rgba(16,185,129,0.15); color: var(--accent-green); }

.ws-time {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ws-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ws-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.ws-audience {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Workshop capacity meter */
.ws-capacity {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}
.ws-capacity-bar {
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ws-capacity-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-green);
    transition: width 0.5s ease;
}
.ws-capacity-fill.full {
    background: linear-gradient(90deg, #EF4444, #F97316);
}
.ws-capacity-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.ws-full-notice {
    margin-top: 8px;
    font-size: 11px;
    color: #FBBF24;
    padding: 6px 10px;
    background: rgba(251,191,36,0.08);
    border-radius: 6px;
    border: 1px solid rgba(251,191,36,0.15);
}
.workshop-card.ws-full {
    border-color: rgba(239,68,68,0.2);
}
.workshop-card.ws-full::before {
    background: linear-gradient(180deg, #EF4444, #F97316) !important;
}

.ws-select-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.workshop-card.selected .ws-select-indicator {
    border-color: var(--accent-purple);
    background: var(--accent-purple);
}

.workshop-card.selected .ws-select-indicator::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #fff;
}

/* --- E-Ticket Page --- */
.eticket-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.eticket-header {
    text-align: center;
    margin-bottom: 32px;
}

.eticket-header .completion-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--accent-green);
}

.eticket-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.eticket-body {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.eticket-section {
    position: relative;
}

.eticket-section-title {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.eticket-section-title.attendance {
    background: var(--gradient-green);
    color: #fff;
}

.eticket-section-title.workshop {
    background: var(--gradient-warm);
    color: #fff;
}

.eticket-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eticket-info .info-row {
    font-size: 14px;
    color: var(--text-secondary);
}

.eticket-info .info-row strong {
    color: var(--text-primary);
    margin-right: 4px;
}

.barcode-wrapper {
    background: #fff;
    padding: 14px;
    border-radius: var(--radius-sm);
    margin: 16px 0 0;
    text-align: center;
}

.barcode-wrapper svg {
    max-width: 100%;
    height: auto;
}

/* Important info box */
.important-box {
    margin-top: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.important-box .important-title {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.important-box .important-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.important-box .important-item .item-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.item-num.blue { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.item-num.green { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.item-num.red { background: rgba(239,68,68,0.15); color: #ef4444; }

.download-btn-wrapper {
    margin-top: 24px;
    text-align: center;
}

/* --- Footer --- */
.site-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-brand {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* --- Confirm Page --- */
.confirm-header {
    text-align: center;
    margin-bottom: 32px;
}

.confirm-header h1 {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.confirm-header h2 {
    font-size: 20px;
    color: var(--text-primary);
}

.attendance-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.attendance-option {
    position: relative;
}

.attendance-option input {
    position: absolute;
    opacity: 0;
}

.attendance-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-input);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.attendance-option label i {
    font-size: 28px;
    color: var(--text-muted);
    transition: var(--transition);
}

.attendance-option label span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.attendance-option label:hover {
    border-color: var(--border-light);
    background: var(--bg-input-focus);
}

.attendance-option.yes input:checked + label {
    border-color: var(--accent-green);
    background: rgba(16,185,129,0.06);
}
.attendance-option.yes input:checked + label i { color: var(--accent-green); }
.attendance-option.yes input:checked + label span { color: var(--accent-green); font-weight: 600; }

.attendance-option.no input:checked + label {
    border-color: #ef4444;
    background: rgba(239,68,68,0.06);
}
.attendance-option.no input:checked + label i { color: #ef4444; }
.attendance-option.no input:checked + label span { color: #ef4444; font-weight: 600; }

/* --- Misc --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

.divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 28px 0;
}

.error-text {
    font-size: 12px;
    color: #f87171;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .form-control {
    border-color: #ef4444;
}

.form-group.has-error .error-text {
    display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    
    .card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }
    
    .step-title { font-size: 20px; }
    
    .eticket-body {
        grid-template-columns: 1fr;
    }
    
    .attendance-options {
        grid-template-columns: 1fr;
    }
    
    .interest-group {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .option-group {
        flex-direction: column;
    }
    
    .option-card {
        min-width: 100%;
    }
    
    .logo-img { height: 44px; }
    
    .result-title { font-size: 19px; }

    .hero-section { min-height: 360px; }
    .hero-logo-wrap { width: 90px; height: 90px; border-radius: 18px; padding: 10px; }
    .hero-title { font-size: 26px; letter-spacing: 2px; }
    .hero-tagline { font-size: 11px; gap: 6px; letter-spacing: 1.5px; }
    .hero-content { padding: 36px 16px 28px; gap: 12px; }
    .hero-info-chip { font-size: 11px; padding: 5px 10px; }
}

@media (max-width: 480px) {
    .card { padding: 20px 16px; }
    
    .step-title { font-size: 18px; }
    
    .interest-group {
        grid-template-columns: 1fr;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .interest-card label { padding: 16px 14px; }

    .hero-section { min-height: 300px; }
    .hero-logo-wrap { width: 72px; height: 72px; border-radius: 14px; padding: 8px; }
    .hero-title { font-size: 22px; letter-spacing: 1px; }
    .hero-tagline { font-size: 10px; gap: 4px; }
    .hero-event-info { gap: 4px; }
    .hero-info-chip { font-size: 10px; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Form Validation Animation --- */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

/* --- Fade In Animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* --- Page Transition --- */
.page-enter {
    opacity: 0;
    transform: translateY(10px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
