/* ============================================================
   Gedielson — Estilos customizados
   Identidade: Preto Ônix #0A0A0C | Glass #141418 | Dourado #D4AF37
   ============================================================ */

:root {
    --bg: #0A0A0C;
    --surface: #141418;
    --gold: #D4AF37;
    --gold-hover: #E5C158;
    --gold-dim: rgba(212, 175, 55, 0.18);
    --gold-dim-soft: rgba(212, 175, 55, 0.08);
    --text: #F5F5F7;
    --muted: #9CA3AF;
    --border: rgba(212, 175, 55, 0.18);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.35); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 175, 55, 0.55); }

img { max-width: 100%; display: block; }
main { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

body.no-scroll { overflow: hidden; }

/* ---------- Toggle de áudio ---------- */
.audio-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.audio-toggle:hover { background: rgba(212, 175, 55, 0.14); }
.audio-toggle.muted { color: #6B7280; }
.audio-toggle.muted .eq span { animation-play-state: paused; height: 25% !important; }
.audio-icon { width: 16px; height: 16px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq span { width: 2px; background: currentColor; border-radius: 2px; height: 30%; animation: eq-bounce 0.9s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: 0.2s; }
.eq span:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq-bounce { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Música cards ---------- */
.music-card { transition: transform 0.4s var(--ease-luxe), border-color 0.4s; }
.music-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.35); }
.genre-badge {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    background: rgba(212, 175, 55, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- Hero mobile ordering ---------- */
@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; }
    .hero-highlights { justify-content: center; }
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: #0A0A0C;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Seções ---------- */
.section { position: relative; padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, rgba(20,20,24,0.55) 0%, rgba(10,10,12,0) 100%); }
@media (max-width: 640px) { .section { padding: 80px 0; } }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.15;
}
.section-head .eyebrow { margin-bottom: 14px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before, .eyebrow.center::after {
    content: '';
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after { background: linear-gradient(90deg, var(--gold), transparent); }

.muted { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform 0.35s var(--ease-luxe), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
    will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
    background-color: #D4AF37 !important;
    background-image: none !important;
    color: #0A0A0C !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}
.btn-gold:hover { background-color: #E5C158 !important; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(212, 175, 55, 0.4); }

.btn-outline {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.12); transform: translateY(-2px); }

.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--gold); }

.btn-block { width: 100%; }
.btn-lg { padding: 19px 38px; font-size: 0.9rem; }
.btn-sm { padding: 11px 20px; font-size: 0.72rem; }

@media (max-width: 640px) {
    .btn { padding: 10px 16px; font-size: 0.72rem; letter-spacing: 0.12em; line-height: 1.2; }
    .btn-lg { padding: 12px 20px; font-size: 0.78rem; }
    .btn-block { width: 100%; }
}

/* ---------- Glass card ---------- */
.glass {
    background: linear-gradient(160deg, rgba(20, 20, 24, 0.75), rgba(20, 20, 24, 0.45));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 22px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(10, 10, 12, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(212, 175, 55, 0.14);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 16px;
    gap: 8px;
}
@media (min-width: 1024px) {
    .header-inner { height: 76px; padding: 0 32px; gap: 24px; }
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand svg { width: 30px; height: 30px; filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5)); flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .brand-name { font-size: 1.5rem; } }
.brand-name em { color: var(--gold); font-style: normal; }

.nav-desktop { display: none; gap: 34px; }
.nav-desktop a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-luxe);
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: none; }

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--gold);
    z-index: 170;
    position: relative;
}

/* Drawer mobile */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 7, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease-luxe);
    z-index: 150;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 88vw);
    height: 100dvh;
    background: rgba(12, 12, 16, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    z-index: 160;
    display: flex;
    flex-direction: column;
    padding: 28px;
    transition: right 0.5s var(--ease-luxe);
}
.drawer.open { right: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 48px; height: 48px; background: rgba(212, 175, 55, 0.06); border: 1px solid var(--border); border-radius: 12px; color: var(--gold); display: flex; align-items: center; justify-content: center; }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.drawer-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: baseline;
    gap: 14px;
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.5s var(--ease-luxe), opacity 0.5s, color 0.3s;
}
.drawer.open .drawer-link { transform: none; opacity: 1; }
.drawer.open .drawer-link:nth-child(1) { transition-delay: 0.08s; }
.drawer.open .drawer-link:nth-child(2) { transition-delay: 0.14s; }
.drawer.open .drawer-link:nth-child(3) { transition-delay: 0.2s; }
.drawer.open .drawer-link:nth-child(4) { transition-delay: 0.26s; }
.drawer.open .drawer-link:nth-child(5) { transition-delay: 0.32s; }
.drawer.open .drawer-link:nth-child(6) { transition-delay: 0.38s; }
.drawer-link:hover { color: var(--gold); }
.drawer-link .drawer-num { font-family: var(--font-sans); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, transparent 65%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}
.hero-eyebrow { justify-content: center; display: flex; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 8.5rem);
    font-weight: 500;
    line-height: 0.95;
    text-align: center;
    color: var(--text);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.hero-subtitle {
    font-size: clamp(0.85rem, 2.4vw, 1.05rem);
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-top: 22px;
    font-weight: 500;
}
.hero-highlights {
    list-style: none;
    margin: 46px auto 0;
    max-width: 560px;
    display: grid;
    gap: 16px;
}
.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    color: var(--muted);
    font-size: 0.92rem;
}
.hero-highlights .hl-icon { color: var(--gold); flex-shrink: 0; }
.hero-highlights strong { color: var(--text); font-weight: 500; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img-frame {
    position: relative;
    width: min(420px, 84vw);
    aspect-ratio: 3 / 4;
    border-radius: 200px 200px 24px 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(212, 175, 55, 0.12);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16), transparent 70%);
    z-index: -1;
    filter: blur(30px);
}

/* ---------- Equalizer ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.eq span {
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
    height: 30%;
    animation: eq-bounce 0.9s ease-in-out infinite;
}
.eq span:nth-child(2) { animation-delay: 0.2s; }
.eq span:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq-bounce { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 22px; }
.step {
    position: relative;
    padding: 40px 30px 34px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(20,20,24,0.7), rgba(20,20,24,0.35));
    border: 1px solid var(--border);
}
.step-num {
    font-family: var(--font-display);
    font-size: 3.4rem;
    color: rgba(212, 175, 55, 0.35);
    line-height: 1;
}
.step h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Eventos ---------- */
.event-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.event-card { padding: 34px 28px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.event-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.event-card p { color: var(--muted); font-size: 0.9rem; }
.event-card .btn { margin-top: auto; }

.logistics { margin-top: 22px; padding: 30px; }
.logistics h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 16px; }
.logistics ul { list-style: none; display: grid; gap: 10px; }
.logistics li { display: flex; gap: 12px; color: var(--muted); font-size: 0.92rem; align-items: baseline; }
.logistics li::before { content: '◆'; color: var(--gold); font-size: 0.6rem; transform: translateY(-2px); }

/* ---------- Simulador ---------- */
.simulator { padding: 44px 34px; }
.simulator h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; margin-bottom: 8px; }
.simulator > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.simulator-form { display: grid; gap: 16px; }
.simulator-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .simulator-row { grid-template-columns: 1fr 1fr; } }
.admin-field { display: grid; gap: 8px; }
.admin-field > span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- Galeria ---------- */
.masonry { columns: 1; column-gap: 16px; }
.masonry > * { break-inside: avoid; margin-bottom: 16px; }
.masonry img { width: 100%; border-radius: 16px; border: 1px solid var(--border); }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(5, 5, 7, 0.94);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img-wrap { max-width: min(92vw, 1100px); max-height: 80vh; }
.lightbox-img-wrap img { max-width: 100%; max-height: 80vh; border-radius: 12px; border: 1px solid var(--border); }
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(20,20,24,0.8);
    border: 1px solid var(--border);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.lightbox-btn.prev { left: 16px; }
.lightbox-btn.next { right: 16px; }
.lightbox-close { top: 18px; left: 50%; transform: translateX(-50%); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 34px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease-luxe);
}
.whatsapp-float:hover { transform: scale(1.08) rotate(-6deg); }

.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--gold);
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.site-footer { border-top: 1px solid rgba(212, 175, 55, 0.14); padding: 70px 0 40px; background: linear-gradient(180deg, transparent, rgba(20,20,24,0.5)); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-bottom {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}
.footer-link { color: var(--muted); font-size: 0.8rem; border-bottom: 1px solid rgba(212,175,55,0.3); padding-bottom: 2px; }
.footer-link:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe); }

/* ---------- YouTube modal ---------- */
#youtubeModal {
    position: fixed;
    inset: 0;
    z-index: 260;
    background: rgba(5, 5, 7, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
}
#youtubeModal.open { display: flex; }
#youtubeModal iframe { width: min(92vw, 900px); aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; }

/* ---------- Header CTA desktop ---------- */
@media (min-width: 1024px) {
    .header-cta { display: inline-flex !important; }
}

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); min-height: 100vh; color: var(--text); font-family: var(--font-sans); }
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.admin-sidebar {
    display: none;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 22px;
    border-right: 1px solid rgba(212, 175, 55, 0.14);
    background: rgba(10, 10, 12, 0.9);
}
.admin-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.6rem; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.admin-nav-link.active { background: rgba(212, 175, 55, 0.1); color: var(--gold); }
.admin-user { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; }
.admin-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #E5C158, #D4AF37);
    color: #141414; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.admin-user-meta { display: grid; line-height: 1.3; flex: 1; }
.admin-user-meta strong { font-size: 0.9rem; }
.admin-user-meta span { font-size: 0.75rem; color: var(--muted); }
.btn-admin-logout { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 10px; padding: 8px 12px; font-size: 0.72rem; }
.btn-admin-logout:hover { color: #ff6b6b; border-color: rgba(255,107,107,0.4); }

.admin-main { padding: 26px 18px 60px; }
.admin-mobile-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.admin-mobile-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .admin-mobile-tabs { display: none; } }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.admin-topbar h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.admin-badge { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }

.admin-panel { display: grid; gap: 20px; }
.admin-panel[hidden] { display: none; }
.admin-panel-head h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.admin-panel-head p { color: var(--muted); font-size: 0.88rem; }

.admin-glass-card, .admin-music-card, .admin-img-card {
    background: linear-gradient(160deg, rgba(20,20,24,0.8), rgba(20,20,24,0.5));
    border: 1px solid var(--border);
    border-radius: 18px;
}
.admin-panel > .btn { justify-self: start; }

.admin-upload {
    border: 1.5px dashed rgba(212, 175, 55, 0.45);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(212, 175, 55, 0.04);
    transition: background 0.3s, border-color 0.3s;
}
.admin-upload.dragover { background: rgba(212, 175, 55, 0.12); border-color: var(--gold); }
.admin-upload-inner { display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.admin-upload-inner svg { color: var(--gold); }

.admin-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .admin-grid { grid-template-columns: repeat(3, 1fr); } }
.admin-img-card { overflow: hidden; }
.admin-img-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.admin-img-card-body { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 0; }
.admin-img-card-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.admin-caption-input { display: block; width: calc(100% - 28px); margin: 0 14px 14px; background: rgba(10,10,12,0.8); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 8px 12px; font-size: 0.8rem; }
.admin-caption-input:focus { outline: none; border-color: var(--gold); }
.btn-admin-mini {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border);
    color: var(--gold);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}
.btn-admin-mini:hover { background: rgba(212, 175, 55, 0.2); }

.admin-music-list { display: grid; gap: 12px; }
.admin-music-card { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-music-info { display: grid; }
.admin-music-info strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.admin-music-info span { font-size: 0.78rem; color: var(--muted); }
.admin-music-actions { display: flex; gap: 8px; }

.admin-music-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(20,20,24,0.8), rgba(20,20,24,0.5));
    border: 1px solid var(--border);
    border-radius: 18px;
}
.admin-music-form[hidden] { display: none; }
.admin-input {
    width: 100%;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    padding: 13px 14px;
    font-size: 0.92rem;
}
.admin-input:focus { outline: none; border-color: var(--gold); }
.admin-form-actions { display: flex; gap: 10px; }

.admin-settings-form { display: grid; gap: 18px; max-width: 720px; }
.admin-password-form { display: grid; gap: 14px; max-width: 480px; align-content: start; }
.admin-error {
    margin-top: 14px;
    color: #ff8787;
    background: rgba(255, 90, 90, 0.08);
    border: 1px solid rgba(255, 90, 90, 0.3);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.admin-toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #141418;
    border: 1px solid var(--gold);
    color: var(--text);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.35s, transform 0.35s;
    max-width: 90vw;
}
.admin-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 1024px) {
    .admin-shell { grid-template-columns: 280px 1fr; }
    .admin-sidebar { display: flex; }
    .admin-main { padding: 40px 48px 80px; }
}
