/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-body: #121212;
    --bg-card: rgba(30, 30, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);

    --primary: #00E676;
    --primary-dim: rgba(0, 230, 118, 0.15);
    --primary-glow: 0 0 15px rgba(0, 230, 118, 0.4);

    --secondary: #FFB300;
    --secondary-glow: 0 0 15px rgba(255, 179, 0, 0.4);

    --text-main: #ffffff;
    --text-muted: #888888;
    --danger: #ff5252;

    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    background-image: radial-gradient(circle at 50% 0%, #1a2a22 0%, var(--bg-body) 70%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-main);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* --- UTILITIES --- */
.hidden { display: none !important; }
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 80px;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.5px; }

h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, #00b0ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.2);
}

h2 { font-size: 1.6rem; margin-bottom: 1.5rem; color: #eee; }
.text-brand { color: var(--primary); text-shadow: 0 0 10px rgba(0, 230, 118, 0.3); }
.subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.tagline { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; font-weight: 400; opacity: 0.9; }

.waiting-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 30px;
    line-height: 1.6;
    text-align: center;
}

/* --- BUTTONS --- */
.btn {
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    padding: 12px 28px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: var(--primary-glow);
}
.btn-primary:hover {
    background: #00ff80;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.6);
}

.pulse-anim { animation: pulse 2s infinite; }

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }

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

.btn-icon-back {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.btn-icon-back:hover { transform: scale(1.2); }

/* --- HEADER --- */
header {
    padding: 20px 25px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}
.powered {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 3px;
}

/* --- TOAST --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.toast-container.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-msg {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.toast-msg.error { border-color: var(--danger); }

/* --- CARDS --- */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* --- HOME --- */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}
.flow-item {
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
}
.flow-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    width: 16px;
    padding: 0 4px;
}
.flow-arrow::before {
    content: '⟶';
    display: block;
}
.flow-arrow::after {
    content: attr(data-text);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* --- FOOTER --- */
.home-footer {
    margin-top: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    min-width: 200px;
}
.footer-left a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-left a:hover { color: var(--primary); }
.footer-email {
    margin-top: 5px;
    color: #ffffff !important;
    font-family: monospace;
}

.footer-right { flex: 1; max-width: 550px; }

.feedback-box { text-align: left; }
.feedback-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 400;
}
.feedback-wrapper { position: relative; width: 100%; }
.feedback-input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px;
    padding-right: 80px;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    resize: none;
    height: 60px;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.feedback-input:focus {
    outline: none;
    border-color: var(--primary);
    height: 100px;
    background: rgba(0,0,0,0.5);
}

.feedback-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.75rem;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.feedback-btn:hover { transform: scale(1.05); }
.feedback-success {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 10px;
    display: none;
    animation: fadeIn 0.5s;
}

@media (max-width: 700px) {
    .home-footer { flex-direction: column; align-items: stretch; text-align: center; }
    .footer-left { align-items: center; margin-bottom: 20px; }
    .footer-right { width: 100%; max-width: 100%; }
    .feedback-header { justify-content: center; }
}

@media (max-width: 600px) {
    .flow-diagram {
        flex-direction: column;
        gap: 10px;
    }
    .flow-arrow {
        flex-direction: column;
        min-height: 32px;
        width: 12px;
        min-width: 12px;
        padding: 0;
    }
    .flow-arrow::before {
        content: '⬇';
        font-size: 1.4rem;
    }
    .flow-arrow::after {
        position: static;
        transform: none;
        margin-top: 4px;
    }
}

/* --- CONFIG & GUEST --- */
.week-picker {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 20px;
}
.wp-day {
    padding: 12px 5px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.wp-day.active {
    background: var(--primary);
    color: #000;
    box-shadow: var(--primary-glow);
    border-color: var(--primary);
}
.wp-day.disabled {
    opacity: 0.3;
    pointer-events: none;
    background: rgba(255,255,255,0.01);
    border-color: transparent;
    box-shadow: none;
    color: var(--text-muted);
}
.wp-day:hover:not(.active):not(.disabled) {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
}
.wp-label { font-size: 0.7rem; display: block; margin-bottom: 4px; opacity: 0.6; }
.wp-num { font-weight: 700; }


.week-carousel {
    position: relative;
    margin-top: 20px;
    padding: 0 36px;
}

.week-selector-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.week-selector-container::-webkit-scrollbar {
    display: none;
}

.week-scroller {
    display: inline-flex;
    gap: 12px;
}

.week-card {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    min-width: max-content;
}
.week-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.week-card.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: var(--primary-glow);
}

.week-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    z-index: 5;
}
.week-scroll-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: var(--primary-glow);
}
.week-scroll-btn.prev { left: 0; }
.week-scroll-btn.next { right: 0; }
.week-scroll-btn svg { pointer-events: none; }

@media (max-width: 640px) {
    .week-carousel {
        padding: 0;
    }
    .week-selector-container {
        overflow-x: visible;
        overflow-y: auto;
        max-height: 280px;
        padding-bottom: 0;
        padding-right: 6px;
        white-space: normal;
    }

    .week-scroller {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .week-card {
        display: block;
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .week-scroll-btn {
        display: none;
    }
}

.options-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.pill {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}
.pill:hover { border-color: var(--primary); }
.pill.selected {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    box-shadow: var(--primary-glow);
    border-color: var(--primary);
}

.stepper {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
}
.stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    color: var(--text-main);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}
.stepper-btn:hover { background: var(--primary); color: #000; }
.stepper-val {
    margin: 0 20px;
    font-weight: 600;
    min-width: 90px;
    text-align: center;
}

.guest-info-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-sep {
    color: var(--border-glass);
    font-size: 1.2rem;
}
@media (max-width: 600px) {
    .guest-info-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .info-sep { display: none; }
}

/* --- GRID --- */
.grid-controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

.legend {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    align-items: center;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 20px;
    height: 32px;
}
.legend-item:hover { background: rgba(255,255,255,0.05); opacity: 0.8; }
.legend-item.active { opacity: 1; background: rgba(255,255,255,0.1); font-weight: 600; }
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}
.bg-primary { background: var(--primary); color: var(--primary); }
.bg-secondary { background: var(--secondary); color: var(--secondary); }

.grid-instruction {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 auto;
    display: none;
    line-height: 32px;
}
@media (min-width: 768px) {
    .grid-instruction { display: block; }
}

.schedule-grid-container {
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.2);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}
.schedule-grid {
    display: grid;
    gap: 1px;
    background: rgba(255,255,255,0.05);
}

.grid-header-cell {
    background: #1e1e1e;
    padding: 12px 4px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #aaa;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.grid-time-cell {
    background: #181818;
    color: #666;
    font-size: 0.7rem;
    text-align: left;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.slot {
    background: rgba(30, 30, 30, 0.4);
    height: 40px;
    cursor: pointer;
    transition: background 0.1s, box-shadow 0.2s;
    user-select: none;
}
.slot.slot-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.04);
}
.slot:hover { background: rgba(255,255,255,0.05); }

.slot.selected-primary { background: var(--primary); box-shadow: inset 0 0 10px rgba(0,0,0,0.2); }
.slot.selected-secondary { background: var(--secondary); box-shadow: inset 0 0 10px rgba(0,0,0,0.2); }
.slot.half-top-primary { background: linear-gradient(to bottom, var(--primary) 50%, rgba(30,30,30,0.4) 50%); }
.slot.half-top-secondary { background: linear-gradient(to bottom, var(--secondary) 50%, rgba(30,30,30,0.4) 50%); }
.slot.half-bottom-primary { background: linear-gradient(to bottom, rgba(30,30,30,0.4) 50%, var(--primary) 50%); }
.slot.half-bottom-secondary { background: linear-gradient(to bottom, rgba(30,30,30,0.4) 50%, var(--secondary) 50%); }

.intervals-popover {
    position: absolute;
    background: #252525;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid var(--border-glass);
    display: none;
    z-index: 20;
    margin-top: 10px;
    right: 20px;
    min-width: 160px;
}
.intervals-popover.show { display: block; animation: fadeIn 0.2s; }
.pop-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid #444;
    color: white;
    padding: 8px;
    border-radius: 6px;
    width: 60px;
    text-align: center;
}
.pop-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: var(--primary);
    font-weight: bold;
    cursor: pointer;
}

.tz-btn {
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
}
.tz-btn:hover { background: var(--primary); color: black; box-shadow: var(--primary-glow); }
.tz-note {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tz-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #252525;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    border: 1px solid var(--border-glass);
    display: none;
    z-index: 50;
    width: 220px;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 10px;
}
.tz-search {
    padding: 6px;
    position: sticky;
    top: 0;
    background: #252525;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tz-search input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}
.tz-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}
.tz-options-list {
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
}
.tz-footnote {
    padding: 6px 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.tz-dropdown.show { display: block; animation: fadeIn 0.2s; }
.tz-option {
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 0.85rem;
}
.tz-option.muted {
    cursor: default;
    opacity: 0.6;
}
.tz-option:hover { background: rgba(255,255,255,0.1); }

/* --- SHARE & INPUTS --- */
.input-group {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    transition: var(--transition);
}
.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.1);
}
.input-group input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    font-size: 1.1rem;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    outline: none;
    width: 100%;
}
.btn-copy {
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 2px;
    cursor: pointer;
    border: none;
    box-shadow: var(--primary-glow);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    transition: var(--transition);
    margin-bottom: 10px;
    cursor: pointer;
    min-height: 60px;
    height: auto;
}
.checkbox-row:hover { background: rgba(255,255,255,0.05); }
.checkbox-row.active {
    background: rgba(0, 230, 118, 0.05);
    border-color: rgba(0, 230, 118, 0.3);
}
.custom-check {
    min-width: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}
.checkbox-row.active .custom-check {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}
.checkbox-row.active .custom-check::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}
.label-text {
    font-size: 1rem;
    line-height: 1.3;
    transition: color 0.3s;
}
.checkbox-row.active .label-text { color: var(--primary); }

.inline-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--primary);
    color: #fff;
    padding: 5px 0;
    font-size: 1rem;
    outline: none;
    width: 0;
    opacity: 0;
    transition: width 0.4s ease, opacity 0.3s ease;
    pointer-events: none;
}
.checkbox-row.active .inline-input {
    width: 100%;
    opacity: 1;
    pointer-events: all;
    margin-left: 10px;
}

/* --- MOVING STRIPES ANIMATION (FASTER) --- */
@keyframes barberpole {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}
.progress-bar-animated {
    height: 100%;
    width: 66%;
    background-color: var(--primary);
    background-image: linear-gradient(
        45deg,
        rgba(0,0,0,.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(0,0,0,.15) 50%,
        rgba(0,0,0,.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
    animation: barberpole 0.5s linear infinite;
    box-shadow: 0 0 15px var(--primary);
}

/* --- RESULTS --- */
.match-date {
    background: var(--primary);
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 10px;
    box-shadow: var(--primary-glow);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.match-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.match-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-time {
    background: var(--primary);
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--primary-glow);
    animation: pulse 2s infinite;
    white-space: nowrap;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.match-priority-hint {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.match-time:hover .match-priority-hint {
    opacity: 1;
}

.match-tz {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 8px;
    white-space: nowrap;
    position: absolute;
    left: 100%;
    margin-left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.match-priority-badge {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
}

.match-priority-badge .badge-label {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.match-priority-priority_1 {
    background: rgba(0, 230, 118, 0.15);
    border-color: rgba(0, 230, 118, 0.35);
    color: #c8facc;
}

.match-priority-priority_2 {
    background: rgba(255, 184, 0, 0.15);
    border-color: rgba(255, 184, 0, 0.35);
    color: #ffe7b0;
}

.match-priority-priority_3 {
    background: rgba(64, 102, 255, 0.12);
    border-color: rgba(64, 102, 255, 0.3);
    color: #d6ddff;
}

@media (max-width: 600px) {
    .match-wrapper { flex-direction: column; }
    .match-tz {
        position: static;
        margin-left: 0;
        margin-top: 8px;
        transform: none;
    }
}

