/* =========================
   THEME & RESET
   ========================= */

:root {
    /* Màu chủ đạo cho landing */
    --bg-main: #050007;
    --bg-secondary: #12010a;
    --accent: #ff9a3c;
    --accent-2: #ff005c;
    --accent-soft: rgba(255, 154, 60, 0.15);
    --text-main: #f8f4ff;
    --text-muted: #c6b3ff;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius-xl: 26px;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);

    --gold: #ffcf33;
    --gold-soft: #ffe082;
}

/* Reset cơ bản */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Nền tổng: gần như đen, gradient rất nhẹ để khỏi tạo “vệt tím” */
    background: radial-gradient(circle at top, #160019 0, #050007 35%, #020004 100%);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Link & ảnh */
a {
    color: inherit;
    text-decoration: none;
}

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

/* Paragraph mặc định */
p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}

/* =========================
   LAYOUT CHUNG
   ========================= */

.page-wrapper {
    min-height: 100vh;
    /* BỎ gradient tím ở level wrapper – chỉ để rất nhẹ hoặc none */
    background: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Section: KHÔNG có background riêng, chỉ padding */
section {
    padding: 72px 0;
}

/* Đảm bảo các section nội dung chính không có nền riêng */
#loi-chao,
#gioi-thieu,
#dong-nhac,
#san-khau,
#gallery,
#video {
    background: none;
}

/* Tiêu đề section */
.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffe4a8;
    margin-bottom: 12px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* Card chung cho các block nội dung */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.96));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
}

/* Glow nhẹ khi hover – chỉ quanh card, không là cả section */
.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top left, rgba(255, 154, 60, 0.16), transparent 60%),
        radial-gradient(circle at bottom right, rgba(255, 0, 92, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

/* Bố cục 2 cột (Giới thiệu, Booking) */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 22px;
}

/* =========================
   HEADER / NAV
   ========================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(30px);
    background: linear-gradient(to bottom, rgba(5, 0, 10, 0.98), rgba(5, 0, 10, 0.82));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap img {
    width: 120px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Menu */
nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 2px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(120deg, #ff9a3c, #ff005c);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hotline trên header (nếu anh dùng) */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 154, 60, 0.12);
    border: 1px solid rgba(255, 154, 60, 0.3);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 70px;
}

/* Visual logo / video nền hero – vẫn giữ để có nightlife vibe */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(1.4) contrast(1.1);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5, 0, 10, 0.96), rgba(5, 0, 10, 0.86)),
        radial-gradient(circle at top left, rgba(255, 154, 60, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(255, 0, 92, 0.4), transparent 60%);
    mix-blend-mode: multiply;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-left {
    max-width: 620px;
}

/* Tagline */
.tagline-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.tag-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tiêu đề hero */
.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    margin: 0 0 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffe7a5;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff4df;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* CTA buttons */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.btn-main,
.btn-secondary {
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.24s ease;
    white-space: nowrap;
}

.btn-main {
    background: linear-gradient(120deg, #ff9a3c, #ff005c);
    color: #1b0007;
    box-shadow: 0 12px 35px rgba(255, 40, 110, 0.55);
}

.btn-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 40, 110, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #ffe7a5;
    border: 1px solid rgba(255, 231, 165, 0.65);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.btn-secondary:hover {
    background: rgba(255, 231, 165, 0.08);
    transform: translateY(-1px);
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* HERO RIGHT – khung ảnh + badge */
.hero-right {
    position: relative;
}

.hero-portrait-wrapper {
    border-radius: 36px;
    padding: 6px;
    background: linear-gradient(145deg, #ff9a3c, #ff005c, #ffe7a5);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
    position: relative;
}

.hero-portrait {
    border-radius: 30px;
    overflow: hidden;
    background: #050008;
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

/* Badge “Á hậu 2 – Miss Environment…” */
.hero-badge {
    position: absolute;
    left: -18px;
    top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(5, 0, 10, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-badge span {
    color: #ffe7a5;
}

/* Equalizer mini */
.hero-eq {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.hero-eq-bar {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(to top, #ff005c, #ffcf33);
    animation: bounce 1s infinite ease-in-out alternate;
    transform-origin: bottom;
}

.hero-eq-bar:nth-child(2) {
    animation-delay: 0.1s;
}
.hero-eq-bar:nth-child(3) {
    animation-delay: 0.2s;
}
.hero-eq-bar:nth-child(4) {
    animation-delay: 0.3s;
}
.hero-eq-bar:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from {
        height: 6px;
    }
    to {
        height: 18px;
    }
}

/* =========================
   GIỚI THIỆU – LIST / PILL
   ========================= */

.list-check {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.list-check li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 4px;
}

.list-check li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.7rem;
    color: var(--accent);
}

/* Pill tags */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.8rem;
}

/* =========================
   DÒNG NHẠC
   ========================= */

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.genre-card {
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at top, rgba(255, 154, 60, 0.14), rgba(0, 0, 0, 0.96));
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8);
}

.genre-name {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

/* =========================
   SÂN KHẤU
   ========================= */

.stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.stage-card {
    border-radius: var(--radius-lg);
    padding: 18px 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(6, 0, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-soft);
}

.stage-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* =========================
   GALLERY
   ========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.9);
    background: #050008;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item::after {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffe7a5;
}

/* Nếu không dùng data-label thì fallback text mặc định */
.gallery-item:nth-child(1)::after {
    content: "Poster show";
}
.gallery-item:nth-child(2)::after {
    content: "Biểu diễn sân khấu";
}
.gallery-item:nth-child(3)::after {
    content: "Không khí quẩy";
}
.gallery-item:nth-child(4)::after {
    content: "Ảnh chân dung";
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* =========================
   VIDEO
   ========================= */

.video-wrap {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #030008;
}

.video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   BOOKING FORM
   ========================= */

.booking-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top, rgba(255, 154, 60, 0.16), rgba(4, 0, 8, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    padding: 28px 24px 30px;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
}

.booking-info p {
    margin-bottom: 12px;
}

.booking-hotline {
    margin: 12px 0 10px;
    font-size: 0.95rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.9;
    margin-top: 6px;
}

/* Inputs */
.booking-card label {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin: 8px 0 4px;
    color: var(--text-muted);
}

.booking-card input,
.booking-card textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(2, 0, 6, 0.9);
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.booking-card input::placeholder,
.booking-card textarea::placeholder {
    color: rgba(198, 179, 255, 0.7);
}

.booking-card input:focus,
.booking-card textarea:focus {
    border-color: rgba(255, 154, 60, 0.85);
    box-shadow: 0 0 0 1px rgba(255, 154, 60, 0.4);
    background: rgba(8, 0, 20, 0.98);
}

.booking-card textarea {
    min-height: 110px;
    resize: vertical;
}

/* 2 input trên cùng: tên + phone */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* =========================
   FOOTER
   ========================= */

footer {
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Footer còn gradient nhẹ, không tạo dải tím giữa trang */
    background: radial-gradient(circle at top, rgba(255, 154, 60, 0.06), rgba(3, 0, 8, 0.98));
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-inner strong {
    color: #ffe7a5;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet dọc / mobile lớn: xử lý layout */
@media (max-width: 960px) {
    nav ul {
        display: none; /* menu mobile đã có JS lo */
    }

    .nav-inner {
        justify-content: space-between;
    }

    .hero-inner,
    .two-column,
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: -1; /* cho hình lên trên */
    }
}

/* Mobile: tối ưu khoảng trống giữa các section */
@media (max-width: 768px) {

    /* Giảm padding chung cho các section – không còn dải tím dài */
    section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    /* Hero gọn hơn */
    .hero {
        padding-top: 30px;
        padding-bottom: 36px;
    }

    /* Card nhỏ lại, bớt khoảng trống trên/dưới */
    .card,
    .booking-card {
        padding: 20px 18px 22px;
        margin-bottom: 18px;
    }

    /* Tiêu đề & sub-title: bớt khoảng cách phía dưới */
    .section-title {
        margin-bottom: 8px;
        font-size: 1.7rem;
        text-align: left;
    }

    .section-sub {
        margin-bottom: 14px;
        font-size: 0.86rem;
    }

    /* Gallery & sân khấu & dòng nhạc: gap nhỏ hơn */
    .gallery-grid,
    .stage-grid,
    .genre-grid {
        gap: 14px;
    }

    .gallery-item {
        margin-bottom: 10px;
    }

    /* Video section: bớt khoảng cách trên/bên dưới */
    #video .video-wrap {
        margin-top: 6px;
    }

    #video .video-more {
        margin-top: 12px;
    }
}

/* Mobile nhỏ: siết thêm spacing + CTA full width */
@media (max-width: 640px) {

    section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .hero {
        padding-bottom: 34px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-main,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
