/* ========================================
   TICKET PRO - Premium Dark Theme
   ======================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #22222f;
    --bg-input: #16161f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-red: #dc2626;
    --accent-red-dark: #991b1b;
    --accent-red-glow: rgba(220, 38, 38, 0.3);

    --accent-gold: #d4a017;
    --accent-gold-light: #f5c518;
    --accent-gold-glow: rgba(212, 160, 23, 0.25);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 20px var(--accent-red-glow);
    --shadow-glow-gold: 0 0 20px var(--accent-gold-glow);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TicketOps customer surface — Midnight Navy x Burnished Copper */
:root {
    --bg-primary: #04111e;
    --bg-secondary: #071b2d;
    --bg-card: #0a243a;
    --bg-card-hover: #0e304c;
    --bg-input: #071d30;
    --text-primary: #fff8ef;
    --text-secondary: #a8b7c3;
    --text-muted: #7f94a5;
    --accent-red: #c87845;
    --accent-red-dark: #8f4c30;
    --accent-red-glow: rgba(200, 120, 69, .26);
    --accent-gold: #c87845;
    --accent-gold-light: #e2a06d;
    --accent-gold-glow: rgba(200, 120, 69, .22);
    --border-color: rgba(200, 120, 69, .16);
    --border-hover: rgba(226, 160, 109, .42);
}
/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ---- Container ---- */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-wide {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- Header ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: white;
    box-shadow: var(--shadow-glow-red);
}

.logo-text-gold {
    color: var(--accent-gold-light);
}

.header-actions a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header-actions a:hover {
    color: var(--text-primary);
    border-color: var(--accent-red);
    background: rgba(220, 38, 38, 0.08);
}

/* ---- Hero Banner ---- */
.hero-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 20px 0;
    background: linear-gradient(135deg, var(--accent-red-dark) 0%, #1a0505 50%, var(--bg-secondary) 100%);
    border: 1px solid rgba(220, 38, 38, 0.15);
    box-shadow: var(--shadow-glow-red);
    padding: 32px 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    width: max-content;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--accent-gold-light);
    font-weight: 500;
    margin-bottom: 18px;
}

/* ---- Section ---- */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: linear-gradient(to bottom, var(--accent-red), var(--accent-gold));
    border-radius: 2px;
}

.section-title h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---- Event Card ---- */
.event-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 16px;
}

.event-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.event-card-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-image .placeholder-text {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 0.3em;
}

.event-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: badge-glow 2s infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 16px rgba(220, 38, 38, 0.7); }
}

.event-card-body {
    padding: 20px;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.event-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.event-card-meta-item .icon {
    color: var(--accent-gold);
    font-size: 0.95rem;
}

.event-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.event-card-price .from {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.event-card-price .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-gold-light);
}

.event-card-price .currency {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
    color: white;
    box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px var(--accent-red-glow);
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px var(--accent-gold-glow);
}

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

.btn-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(220, 38, 38, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ---- Zone Card (Event Detail) ---- */
.zone-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.zone-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.zone-info {
    flex: 1;
}

.zone-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zone-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.zone-price {
    font-size: 0.85rem;
    color: var(--accent-gold-light);
    font-weight: 600;
}

.zone-qty {
    display: flex;
    align-items: center;
    gap: 2px;
}

.zone-qty button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zone-qty button:hover {
    border-color: var(--accent-red);
    background: rgba(220, 38, 38, 0.1);
}

.zone-qty input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    outline: none;
}

.zone-qty input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px var(--accent-red-glow);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px var(--accent-red-glow);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* ---- Order Summary ---- */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.order-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-paid {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

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

.order-total .amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold-light);
}

/* ---- Ticket Card (QR) ---- */
.ticket-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.ticket-card::before,
.ticket-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 50%;
    top: 55%;
    z-index: 2;
}

.ticket-card::before { left: -10px; }
.ticket-card::after { right: -10px; }

.ticket-card-top {
    padding: 20px;
    background: linear-gradient(135deg, var(--accent-red-dark), #2a0808);
    text-align: center;
}

.ticket-card-top h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.ticket-card-top .zone-label {
    font-size: 0.8rem;
    color: var(--accent-gold-light);
    font-weight: 600;
}

.ticket-card-bottom {
    padding: 20px;
    text-align: center;
}

.qr-code-area {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    display: inline-block;
    margin-bottom: 12px;
}

.qr-code-area img {
    width: 160px;
    height: 160px;
}

.ticket-number {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
}

/* ---- Scan Result ---- */
.scan-result {
    text-align: center;
    padding: 40px 20px;
}

.scan-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.scan-valid {
    color: #22c55e;
}

.scan-used {
    color: #eab308;
}

.scan-invalid {
    color: #ef4444;
}

/* ---- Bottom Nav ---- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 8px 24px 12px;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 4px 8px;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--accent-red);
}

.bottom-nav a .nav-icon {
    font-size: 1.3rem;
}

/* ---- Messages (Django) ---- */
.messages {
    list-style: none;
    margin: 12px 0;
}

.messages li {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.messages .error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ff6b6b;
}

.messages .success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold-light); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.pb-nav { padding-bottom: 80px; }

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

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

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

/* ---- Match Banner (Home) ---- */
.match-banner {
    background: linear-gradient(180deg, #3f0909 0%, #150000 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-xl);
    padding: 24px 16px;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.match-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHoiIGZpbGw9Im5vbmUiLz4KPHBhdGggZD0iTTAgMjBsMjAtMjBMMDAgMjB6bTQwIDIwTDIwIDQwaDIwdi0yMHoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wMSkiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
}

.match-league-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.match-league-badge.open {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-logo {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #333;
}

.team-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-vs .vs {
    color: var(--accent-gold-light);
    font-weight: 900;
    font-size: 1.2rem;
}

.match-vs .time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.match-vs .time strong {
    font-size: 1rem;
    color: white;
    display: block;
}

.match-info-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 50px;
}

.countdown-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-gold-light);
    display: block;
}

.countdown-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.match-actions {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.match-actions .btn {
    flex: 1;
}
.btn-dark {
    background: #1a1a25;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* ---- Season Ticket Banner ---- */
.season-banner {
    background: linear-gradient(90deg, #332305 0%, #1a1608 100%);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.season-banner-tag {
    display: inline-block;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    margin-bottom: 4px;
}

.season-banner h3 {
    font-size: 1rem;
    font-weight: 800;
    color: white;
}

.season-banner p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.season-banner a {
    color: var(--accent-gold-light);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- Home Match List ---- */
.home-matches-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}
.home-matches-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
}
.home-matches-header span {
    font-size: 0.7rem;
    color: var(--accent-gold-light);
    font-weight: 700;
    text-transform: uppercase;
}

.match-list-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.match-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    border-right: 1px solid var(--border-color);
    padding-right: 16px;
    margin-right: 16px;
}
.match-list-date .day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-gold-light);
}
.match-list-date .month {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.match-list-info {
    flex: 1;
}
.match-list-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.match-list-info .teams .home { color: white; }
.match-list-info .teams .vs { color: var(--accent-red); margin: 0 4px; font-size: 0.8rem; }
.match-list-info .teams .away { color: var(--text-secondary); }
.match-list-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.match-list-status {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

/* ---- Benefits List (Event Detail) ---- */
.benefits-list {
    margin-bottom: 24px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.benefit-item .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}
.benefit-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}
.benefit-item p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ---- Radio Zone Selection ---- */
.radio-zone-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

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

.radio-zone-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.radio-zone-card.selected {
    border-color: var(--accent-red);
    background: rgba(220, 38, 38, 0.05);
}

.radio-zone-info .zone-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.radio-zone-info .zone-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.radio-zone-info .zone-desc .save {
    color: #4ade80;
}

.radio-zone-price-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.radio-zone-price-area .price-block {
    text-align: right;
}
.radio-zone-price-area .price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold-light);
}
.radio-zone-price-area .unit {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    position: relative;
}

.radio-zone-card.selected .radio-custom {
    border-color: var(--accent-red);
    background: var(--accent-red);
}
.radio-zone-card.selected .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ---- Sticky Bottom Check Out ---- */
.sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sticky-checkout-info {
    flex: 1;
}
.sticky-checkout-info .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.sticky-checkout-info .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold-light);
}

/* ---- Back Button ---- */
.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}
.btn-back:hover {
    background: var(--bg-card-hover);
}
.header-title {
    flex: 1;
    margin-left: 16px;
}
.header-title h1 {
    font-size: 1.1rem;
    font-weight: 700;
}
.header-title p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Language Dropdown ---- */
.lang-btn {
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.lang-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1a1a25;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 140px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 200;
}
.lang-dropdown.show {
    display: flex;
}
.lang-item {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.lang-item:hover, .lang-item.active {
    background: rgba(212, 160, 23, 0.1);
}
.lang-item.active {
    color: var(--accent-gold-light);
}

/* ---- Responsive (Tablet+) ---- */
@media (min-width: 768px) {
    .container {
        max-width: 520px;
    }
}

/* ---- Responsive Adjustments ---- */
.container-sm {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

.desktop-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--accent-red);
}

.grid-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
    }
    
    .bottom-nav {
        display: none !important;
    }
    
    .desktop-nav {
        display: flex;
    }
    
    .pb-nav {
        padding-bottom: 24px;
    }
    
    .grid-cards {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .hero-banner {
        padding: 48px;
    }
}

/* Final customer theme overrides */
body {font-family:'IBM Plex Sans Thai',sans-serif;background-color:#04111e;background-image:radial-gradient(circle at 84% 8%,rgba(62,111,143,.17),transparent 25%),radial-gradient(circle at 10% 70%,rgba(200,120,69,.09),transparent 24%),linear-gradient(145deg,#04111e,#071b2d 62%,#0b2944);background-attachment:fixed}
h1,h2,h3,.logo,.amount,.zone-price {font-family:'Manrope','IBM Plex Sans Thai',sans-serif}
.header {background:rgba(3,15,26,.9);border-bottom-color:rgba(200,120,69,.18)}
.header-actions a:hover {border-color:#c87845;background:rgba(200,120,69,.1)}
.hero-banner,.match-banner {background:linear-gradient(135deg,rgba(13,48,76,.95),rgba(5,24,40,.96));border-color:rgba(200,120,69,.22);box-shadow:0 22px 60px rgba(0,6,13,.35)}
.order-card,.card,.ticket-card {background:linear-gradient(145deg,rgba(10,36,58,.96),rgba(5,24,40,.94));border-color:rgba(200,120,69,.19)}
.btn-primary,.btn-gold {background:linear-gradient(135deg,#e2a06d,#b9653c);color:#071827;border-color:#df9b6d;box-shadow:0 12px 28px rgba(200,120,69,.2)}
.btn-primary:hover,.btn-gold:hover {background:linear-gradient(135deg,#efb789,#c87845)}
.btn-outline {border-color:rgba(145,164,181,.3);color:#dfe8ee;background:rgba(255,255,255,.035)}
.badge,.match-league-badge {background:rgba(200,120,69,.13);color:#edb185;border-color:rgba(200,120,69,.24)}
.zone-qty-input,input,select,textarea {border-color:rgba(145,164,181,.28);background:#071d30;color:#fff8ef}
.zone-qty-input:focus,input:focus,select:focus,textarea:focus {border-color:#c87845;box-shadow:0 0 0 3px rgba(200,120,69,.13)}
