body {
    background-color: white;
}

.intro-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Malgun Gothic', sans-serif;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Header */
.concert-header {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.concert-title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.concert-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.concert-meta {
    font-size: 13px;
    color: #999;
}

/* Main Content Layout */
.content-grid {
    display: flex;
    gap: 40px;
}

/* Left: Info Only */
.left-section {
    flex: 1;
}

/* Info Table */
.info-table {
    width: 100%;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.info-label {
    width: 80px;
    color: #666;
    font-weight: 500;
}

.info-value {
    flex: 1;
    color: #333;
}

.info-value.highlight {
    color: #EC0F13;
    font-weight: bold;
}

.info-value a {
    color: #4285f4;
    text-decoration: none;
}

/* Right: Booking Panel */
.booking-panel {
    width: 350px;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.panel-section {
    border-bottom: 1px solid #e0e0e0;
}

.panel-header {
    background: #fafafa;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header .toggle {
    cursor: pointer;
    font-size: 12px;
}

.panel-content {
    padding: 15px;
}

/* Calendar */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month {
    font-weight: bold;
    font-size: 15px;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    font-size: 11px;
    color: #999;
    padding: 5px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: #f0f0f0;
}

.calendar-day.disabled {
    color: #ddd;
    cursor: not-allowed;
}

.calendar-day.sunday {
    color: #ff5252;
}

.calendar-day.saturday {
    color: #448aff;
}

.calendar-day.selected {
    background: #448aff;
    color: white;
    font-weight: bold;
}

.calendar-day.available {
    font-weight: bold;
    color: #000;
}

/* Time Selection */
.time-slot {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.time-slot:hover {
    border-color: #448aff;
    background: #f8f9ff;
}

.time-slot.selected {
    border-color: #448aff;
    background: #e3f2fd;
}

.time-slot-title {
    font-weight: bold;
    font-size: 14px;
    color: #448aff;
    margin-bottom: 5px;
}

.time-slot-info {
    font-size: 12px;
    color: #666;
}

/* Booking Button */
.booking-actions {
    display: none;
    padding: 15px;
}

.mobile-booking-actions {
    display: none;
}

.btn-booking {
    width: 100%;
    padding: 15px;
    background: #448aff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-booking:hover {
    background: #1976d2;
}

.btn-booking:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: white;
    color: #448aff;
    border: 1px solid #448aff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
}

.booking-notice {
    margin-top: 10px;
    font-size: 11px;
    color: #999;
    text-align: center;
}

.nol-notice {
    margin-top: 10px;
    font-size: 11px;
    color: #666;
    text-align: right;
}


@media (max-width: 768px) {
    body {
        background: #fff;
    }

    .intro-wrapper {
        max-width: 100%;
        margin: 0;
        padding: 0 0 80px 0;
        height: 100%;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .concert-header {
        padding: 16px 16px 14px;
        margin-bottom: 0;
        border-bottom: 1px solid #efefef;
    }

    .concert-title {
        font-size: 17px;
        line-height: 1.4;
    }

    .concert-subtitle {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .concert-meta {
        font-size: 11px;
    }

    .content-grid {
        flex-direction: column;
        gap: 0;
    }

    .left-section {
        padding: 0 16px;
    }

    /* 모바일에서 카운트다운 UI 전체 숨김 */
    #countdown-ui {
        display: none !important;
    }

    /* 모바일에서 booking-panel 전체 숨김 */
    .booking-panel {
        display: none;
    }

    /* 모바일 하단 고정 예매하기 버튼 */
    .mobile-booking-actions {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: #fff;
        border-top: 1px solid #eee;
        z-index: 100;
        box-sizing: border-box;
    }

    .mobile-btn-booking {
        width: 100%;
        padding: 16px;
        background: #2563eb;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 17px;
        font-weight: bold;
        cursor: pointer;
    }

    .info-row {
        font-size: 13px;
        padding: 10px 0;
    }

    .info-label {
        width: 60px;
        font-size: 12px;
    }

    .info-value {
        font-size: 13px;
    }
}

/* ============================================================
   Start Modal — 데스크탑
============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(80, 60, 120, 0.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-card {
    background: white;
    padding: 44px 36px 36px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(100, 80, 160, 0.2);
    width: 360px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #8470b3 0%, #6b5b9a 100%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.modal-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: badgePulse 1.4s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50%       { opacity: 1;   transform: scale(1.1); }
}

.modal-title {
    font-family: 'my-font', sans-serif;
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.modal-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.modal-highlight {
    background: linear-gradient(135deg, #8470b3, #6b5b9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #8470b3 0%, #6b5b9a 100%);
    color: white;
    border: none;
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    font-family: 'my-font', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(107, 91, 154, 0.35);
    letter-spacing: 0.5px;
}

.modal-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.modal-btn-secondary {
    background: #fafafa;
    color: #888;
    border: 1px solid #e8e8e8;
    padding: 13px 0;
    width: 100%;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-secondary:hover {
    background: #f3f0f8;
    color: #7a6aa8;
    border-color: #c8bde0;
}

/* ============================================================
   Start Modal — 모바일 Bottom Sheet
============================================================ */
@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-end;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .modal-card {
        width: 100%;
        border-radius: 28px 28px 0 0;
        padding: 28px 24px 40px;
        box-shadow: 0 -8px 40px rgba(100, 80, 160, 0.18);
        animation: sheetUp 0.3s cubic-bezier(0.34, 1.1, 0.64, 1);
    }

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

    .modal-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .modal-btn-primary {
        padding: 15px 0;
        font-size: 15px;
        border-radius: 12px;
    }

    .modal-btn-secondary {
        padding: 13px 0;
        font-size: 13px;
        border-radius: 12px;
    }
}
