/* Euforia Party Show · V3 · estilos públicos y del panel */
:root {
  --bg: #0b0716; --bg2: #120a24; --card: #171030; --card2: #1d1440; --line: rgba(168, 85, 247, .28); --line2: rgba(168, 85, 247, .55);
  --text: #f3edff; --muted: #a99bc9; --primary: #8b3dff; --primary2: #b26bff; --pink: #ec4899; --cyan: #22d3ee;
  --ok: #22c55e; --bad: #ef4444; --warn: #f59e0b; --radius: 14px; --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --display: 'Orbitron', system-ui, sans-serif; --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.5; color: var(--text); background: radial-gradient(1200px 600px at 80% -10%, rgba(139, 61, 255, .18), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(236, 72, 153, .08), transparent 60%), var(--bg); background-attachment: fixed; min-height: 100vh; }
a { color: var(--primary2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 .6em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.honeypot { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--primary2); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn-primary, .btn-outline, .btn-ghost, .btn-ok, .btn-bad, .btn-contact { display: inline-flex; align-items: center; justify-content: center; gap: .45em; border-radius: 10px; padding: .62em 1.1em; font-weight: 600; border: 1px solid transparent; transition: .15s; text-decoration: none !important; white-space: nowrap; line-height: 1.2; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary2)); color: #fff; box-shadow: 0 6px 22px rgba(139, 61, 255, .35); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline { background: rgba(139, 61, 255, .08); border-color: var(--line2); color: var(--text); }
.btn-outline:hover { background: rgba(139, 61, 255, .18); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-ok { background: #16a34a; color: #fff; }
.btn-bad { background: #dc2626; color: #fff; }
.btn-ok:hover, .btn-bad:hover { filter: brightness(1.1); }
.btn-sm { padding: .4em .75em; font-size: .875rem; }
.btn-block { width: 100%; }
.danger { color: #fca5a5 !important; }
button:disabled { opacity: .55; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: transparent; border: 1px solid var(--line); color: var(--text); }
.icon-btn:hover { background: rgba(255, 255, 255, .06); }
.linklike { background: none; border: 0; padding: 0; color: var(--primary2); }
.linklike:hover { text-decoration: underline; }

/* ---------- Marca y cabecera ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none !important; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: .14em; color: #fff; text-shadow: 0 0 10px rgba(178, 107, 255, .9), 0 0 24px rgba(139, 61, 255, .7); }
.brand-sub { font-family: var(--display); font-size: .55rem; letter-spacing: .5em; color: #d9c6ff; margin-top: 4px; padding-left: .5em; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(11, 7, 22, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; height: 68px; }
.main-tabs { display: flex; gap: 4px; margin-left: auto; }
.main-tabs a { padding: .55em .9em; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; }
.main-tabs a.active { color: #fff; border-bottom-color: var(--primary2); }
.btn-contact { border-color: var(--line2); color: #fff; background: rgba(139, 61, 255, .12); padding: .5em .9em; }
.btn-contact .ic { color: #4ade80; }
.btn-contact:hover { background: rgba(139, 61, 255, .25); }
@media (max-width: 640px) {
  .header-row { height: 58px; gap: 6px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .45rem; }
  .main-tabs a { padding: .5em .5em; font-size: .9rem; }
  .btn-contact span { display: none; }
  .btn-contact { padding: .55em; width: 40px; height: 40px; }
}

/* ---------- Página ---------- */
.page { padding-top: 20px; padding-bottom: 40px; }
.section { margin-bottom: 36px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.h-title { font-size: clamp(1.25rem, 3.5vw, 1.7rem); font-weight: 800; display: flex; align-items: center; gap: .4em; }
.h-title .ic { color: var(--primary2); }
.h-sub { font-size: 1.1rem; margin: 18px 0 10px; }
.lead { max-width: 720px; }
.link-more { display: inline-flex; align-items: center; gap: .2em; font-weight: 600; }
.empty, .empty-line { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-line { display: flex; align-items: center; justify-content: center; gap: .5em; margin-bottom: 16px; }
.notice { background: rgba(139, 61, 255, .15); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.notice.error { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .5); }
.error-text { color: #fca5a5; }
.badge { position: absolute; top: 10px; right: 10px; background: rgba(11, 7, 22, .8); border: 1px solid var(--line2); color: #fff; font-size: .78rem; font-weight: 700; padding: .25em .6em; border-radius: 999px; backdrop-filter: blur(4px); }
.badge-left { right: auto; left: 10px; background: rgba(139, 61, 255, .85); }
.chip { display: inline-flex; align-items: center; padding: .25em .7em; border-radius: 999px; border: 1px solid var(--line2); color: #e9ddff; font-size: .82rem; font-weight: 600; background: rgba(139, 61, 255, .1); text-decoration: none !important; }
.chip.active, .chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-hot { border-color: rgba(236, 72, 153, .6); background: rgba(236, 72, 153, .15); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.media-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #2a1656, #12082a); color: var(--primary2); }
.media-placeholder .ic { width: 34px; height: 34px; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* Novedades */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.news-card:hover { border-color: var(--line2); box-shadow: 0 0 0 1px var(--line2), var(--shadow); }
.news-media { position: relative; display: block; aspect-ratio: 16/10; background: #000; }
.news-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.card-title { font-size: 1.02rem; font-weight: 700; }
.news-info p { margin: 0; }

/* Catálogo */
.search-row { display: flex; gap: 8px; margin: 14px 0 20px; max-width: 520px; }
.search-row input { flex: 1; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); text-decoration: none !important; color: #fff; transition: .2s; }
.cat-card:hover { transform: translateY(-2px); border-color: var(--line2); box-shadow: 0 10px 30px rgba(139, 61, 255, .3); }
.cat-media { aspect-ratio: 4/5; background: #000; }
.cat-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(8, 4, 18, .95)); }
.cat-name { position: absolute; left: 12px; right: 12px; bottom: 30px; font-weight: 800; font-size: 1.1rem; z-index: 1; }
.cat-count { position: absolute; left: 12px; bottom: 10px; font-size: .8rem; color: #d7c7ff; z-index: 1; }
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 12px; }
.select-wrap select { min-width: 150px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip { white-space: nowrap; padding: .4em .9em; font-size: .9rem; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 14px; }
.show-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none !important; transition: .2s; }
.show-card:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139, 61, 255, .25); }
.show-media { position: relative; aspect-ratio: 4/5; background: #000; }
.show-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .show-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .news-grid { grid-template-columns: 1fr; }
  .card-title { font-size: .95rem; }
  .filter-bar { padding: 8px; gap: 6px; }
  .select-wrap select { min-width: 0; max-width: 46vw; }
}

/* Show */
.show-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.view-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-tabs button { display: inline-flex; gap: .4em; align-items: center; background: transparent; border: 0; padding: .55em 1em; color: var(--muted); font-weight: 600; }
.view-tabs button.active { background: var(--primary); color: #fff; }
.show-title { margin-bottom: 16px; }
.desc { max-width: 760px; color: #ddd2f5; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #000; }
.tile .cover { transition: transform .3s; }
.tile:hover .cover { transform: scale(1.04); }
.tile-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tile-play .ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; }
.media-feed { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.feed-item { position: relative; margin: 0; width: min(520px, 100%); border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.feed-item img, .feed-item video { width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.feed-item figcaption { padding: 8px 12px; font-size: .9rem; color: var(--muted); background: var(--card); }
.feed-sound { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.feed-drive { position: relative; width: 100%; border: 0; padding: 0; background: #000; }
.feed-frame { width: 100%; aspect-ratio: 9/16; max-height: 82vh; border: 0; }
.sticky-cta { position: sticky; bottom: 12px; z-index: 20; margin-top: 18px; display: flex; justify-content: center; }
.sticky-cta .btn-primary { max-width: 420px; padding: .85em 1.2em; font-size: 1.05rem; border-radius: 999px; }
@media (max-width: 520px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; } .tile { border-radius: 4px; } }

/* Visor */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 2, 12, .97); color: #fff; }
.viewer::backdrop { background: rgba(0, 0, 0, .8); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.viewer-title { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-count { font-variant-numeric: tabular-nums; color: var(--muted); }
.viewer-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 10px; }
.viewer-media { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; border-radius: 8px; }
.viewer-frame { width: min(100%, 900px); height: calc(100dvh - 170px); border: 0; }
.viewer-caption { margin-top: 8px; color: var(--muted); }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(20, 10, 40, .7); color: #fff; display: grid; place-items: center; }
.viewer-nav.prev { left: 14px; } .viewer-nav.next { right: 14px; }
.viewer-sound { position: absolute; right: 18px; top: 70px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.viewer-cta { padding: 12px; display: flex; justify-content: center; border-top: 1px solid var(--line); }
.viewer-cta .btn-primary { border-radius: 999px; padding: .8em 1.6em; }
@media (max-width: 640px) { .viewer-nav { width: 40px; height: 40px; } .viewer-nav.prev { left: 6px; } .viewer-nav.next { right: 6px; } }

/* Reseñas públicas */
.rating-line { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; flex-wrap: wrap; }
.rating-line strong { font-size: 1.6rem; }
.stars { display: inline-flex; color: #facc15; }
.stars .ic { width: 1em; height: 1em; }
.stars-off { color: #4b3b70; display: inline-flex; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.review-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.review-top h3 { font-size: 1rem; }
.review-top small { margin-left: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--primary), var(--pink)); font-weight: 800; color: #fff; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line2); background: linear-gradient(135deg, rgba(139, 61, 255, .22), rgba(236, 72, 153, .12)); }
.cta-band h2 { font-size: 1.2rem; margin-bottom: 4px; }
.cta-band p { margin: 0; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; border: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field small { font-weight: 400; }
.field-label { font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; background: #0f0920; border: 1px solid var(--line); border-radius: 10px; padding: .62em .8em; font-weight: 400; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--primary2); outline: none; box-shadow: 0 0 0 3px rgba(139, 61, 255, .25); }
textarea { resize: vertical; min-height: 70px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bba3ef 50%), linear-gradient(135deg, #bba3ef 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2em !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .55em; align-items: flex-start; font-weight: 400; margin-bottom: 10px; }
.check input { margin-top: .25em; accent-color: var(--primary); width: 17px; height: 17px; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { color: #4b3b70; cursor: pointer; }
.star-input label .ic { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #facc15; }
.star-input input:focus-visible + label { outline: 2px solid var(--primary2); border-radius: 4px; }
.pw { display: flex; gap: 6px; align-items: center; }
.pw input { flex: 1; }

/* ---------- Ventanas flotantes ---------- */
dialog { color: var(--text); }
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid var(--line2); border-radius: 18px; background: var(--bg2); padding: 0; box-shadow: var(--shadow), 0 0 40px rgba(139, 61, 255, .25); overflow: auto; }
.modal-sm { width: min(420px, calc(100vw - 24px)); }
.modal-wide { width: min(860px, calc(100vw - 24px)); }
.modal::backdrop, .drawer::backdrop { background: rgba(5, 2, 12, .7); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg2); z-index: 2; }
.modal-head h2 { font-size: 1.15rem; }
.modal > form, .modal-body { padding: 16px 18px 18px; }
.modal > form > .modal-head { margin: -16px -18px 16px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.modal-foot [data-del] { margin-right: auto; }
.contact-list { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 6px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none !important; }
.contact-item:hover { border-color: var(--line2); background: var(--card2); }
.contact-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.contact-item small { color: var(--muted); }
.ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.ci .ic { width: 26px; height: 26px; }
.ci-wa { background: #22c55e; } .ci-ig { background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6); } .ci-tt { background: #000; border: 1px solid #333; }
.contact-extra { padding: 0 18px 16px; margin: 0; }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(320px, 86vw); border: 0; border-left: 1px solid var(--line2); background: var(--bg2); padding: 0; }
.drawer[open] { animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-nav { display: flex; flex-direction: column; padding: 10px; }
.drawer-nav a, .drawer-nav button { text-align: left; padding: 14px 12px; border-radius: 10px; color: var(--text); background: none; border: 0; font-weight: 600; font-size: 1.02rem; }
.drawer-nav a:hover, .drawer-nav button:hover { background: rgba(139, 61, 255, .15); text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 90px; color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prose h2 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose p { color: #ddd2f5; }

/* Login */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: min(400px, 100%); background: var(--bg2); border: 1px solid var(--line2); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.login-card .brand { align-self: center; margin-bottom: 6px; }
.login-card h1 { font-size: 1.15rem; text-align: center; }

/* ---------- Panel ---------- */
.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 20px 14px; background: rgba(8, 5, 18, .9); border-right: 1px solid var(--line); }
.admin-side .brand { align-self: center; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; text-decoration: none; }
.admin-nav a:hover { background: rgba(139, 61, 255, .1); color: var(--text); }
.admin-nav a.active { background: linear-gradient(135deg, rgba(139, 61, 255, .35), rgba(139, 61, 255, .15)); color: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.admin-nav .count { margin-left: auto; background: var(--pink); color: #fff; border-radius: 999px; font-size: .75rem; padding: 0 .55em; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.side-foot form, .side-foot .btn-ghost { width: 100%; }
.side-foot .btn-ghost { justify-content: flex-start; color: var(--muted); }
.drive-chip { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); min-width: 0; }
.drive-chip .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drive-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #6b7280; flex: none; }
.drive-chip[data-state=on] .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.drive-chip[data-state=warn] .dot { background: var(--warn); }
.drive-chip[data-state=off] .dot { background: #6b7280; }
.drive-chip.big { font-size: .9rem; }
.admin-main { padding: 22px 28px 60px; min-width: 0; }
.admin-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.5rem; }
.who { color: var(--muted); font-size: .88rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.card-h { font-size: 1.05rem; margin-bottom: 10px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-head .card-h { margin: 0; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar select, .toolbar input { width: auto !important; min-width: 170px; }
.toolbar .inline { display: contents; }
.list-filter { flex: 1; max-width: 280px; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: sticky; top: 0; z-index: 30; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .admin-side .brand { display: none; }
  .admin-nav { flex-direction: row; gap: 4px; }
  .admin-nav a { white-space: nowrap; padding: 8px 10px; font-size: .88rem; }
  .admin-nav a span { display: none; }
  .admin-nav a.active span { display: inline; }
  .side-foot { margin: 0 0 0 auto; flex-direction: row; }
  .side-foot .btn-ghost, .side-foot form { width: auto; }
  .side-foot .drive-chip .txt { display: none; }
  .admin-main { padding: 16px 16px 60px; }
  .toolbar select, .toolbar input { min-width: 0; flex: 1 1 140px; }
}
@media (max-width: 520px) { .side-foot .btn-ghost, .side-foot form { display: none; } }

/* KPIs y gráfica */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .ic { grid-row: span 2; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgba(139, 61, 255, .18); color: var(--primary2); }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi strong { font-size: 1.5rem; }
.kpi:nth-child(4) .ic { color: #facc15; background: rgba(250, 204, 21, .12); }
.dash-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, 1fr); } .dash-cols { grid-template-columns: 1fr; } }
.chart { width: 100%; height: auto; }
.chart .axis { stroke: var(--line); }
.chart .lbl { fill: var(--muted); font-size: 12px; }
.empty-chart { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 160px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid rgba(168, 85, 247, .12); vertical-align: middle; }
.tbl select { padding: .35em 2em .35em .6em; font-size: .85rem; min-width: 170px; }
.pipeline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.stage { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.stage strong { font-size: 1.4rem; }
.stage span { font-size: .8rem; color: var(--muted); text-align: center; }
.stage.st-consulta strong { color: var(--primary2); } .stage.st-cotizacion strong { color: var(--cyan); } .stage.st-contratado strong { color: var(--ok); } .stage.st-realizado strong { color: #facc15; }
.arrow { color: var(--muted); font-size: 1.3rem; }
.stage-side { margin-left: auto; display: flex; flex-direction: column; gap: 6px; }
.lost { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #fca5a5; padding: 4px 10px; border: 1px solid rgba(239, 68, 68, .35); border-radius: 8px; }
.lost b { color: #fff; margin-left: auto; padding-left: 8px; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.warn-chip { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: .5em .9em; border-radius: 10px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .45); color: #fcd34d; font-weight: 600; font-size: .9rem; }
.warn-chip .ic { color: var(--warn); }
.pill { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pill-ok { background: rgba(34, 197, 94, .15); color: #86efac; } .pill-off { background: rgba(107, 114, 128, .25); color: #d1d5db; }
.pill-hot { background: rgba(236, 72, 153, .18); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, .5); }
select.lead-status.st-contratado, select.lead-status.st-realizado { border-color: rgba(34, 197, 94, .6); }
select.lead-status.st-cancelado, select.lead-status.st-no_concretado { border-color: rgba(239, 68, 68, .6); }

/* Lista de eventos */
.show-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.show-row, .cat-row-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.show-row.dragging, .cat-row.dragging, .type-chip.dragging, .m-item.dragging { opacity: .6; outline: 2px dashed var(--primary2); }
.drag { color: var(--muted); cursor: grab; touch-action: none; display: inline-grid; place-items: center; padding: 4px; border-radius: 6px; user-select: none; }
.drag:active { cursor: grabbing; }
.row-thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; flex: none; background: #000; display: block; }
.row-thumb .media-placeholder .ic { width: 20px; height: 20px; }
.row-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.row-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main small { color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch > span { width: 40px; height: 22px; border-radius: 999px; background: #3b2d5c; position: relative; transition: .2s; flex: none; }
.switch > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { left: 21px; }
.switch input:focus-visible + span { outline: 2px solid var(--primary2); outline-offset: 2px; }
.switch em { font-style: normal; }
.show-row .switch em { min-width: 70px; color: var(--muted); }
.kebab { position: relative; }
.kebab summary { list-style: none; cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.kebab summary::-webkit-details-marker { display: none; }
.kebab summary:hover { background: rgba(255, 255, 255, .06); }
.kebab-menu { position: absolute; right: 0; top: 100%; z-index: 10; min-width: 170px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kebab-menu a, .kebab-menu button { text-align: left; padding: 8px 10px; border-radius: 8px; background: none; border: 0; color: var(--text); font-size: .9rem; }
.kebab-menu a:hover, .kebab-menu button:hover { background: rgba(139, 61, 255, .15); text-decoration: none; }
@media (max-width: 640px) {
  .show-row { flex-wrap: wrap; gap: 8px 10px; }
  .show-row .row-main { flex-basis: calc(100% - 120px); }
  .show-row .switch { margin-left: 34px; }
  .show-row .switch em { min-width: 0; }
  .show-row [data-show-edit] { margin-left: auto; }
}

/* Editor de archivos */
.dropzone { border: 2px dashed var(--line2); border-radius: 14px; padding: 18px; text-align: center; background: rgba(139, 61, 255, .05); transition: .15s; margin-bottom: 12px; }
.dropzone > .ic { width: 34px; height: 34px; color: var(--primary2); margin: 0 auto 4px; display: block; }
.dropzone.over { background: rgba(139, 61, 255, .18); border-color: var(--primary2); }
.dz-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0; }
.dz-dest { margin: 6px 0 0; }
.dz-dest .ic { color: var(--primary2); }
.drive-need { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .45); margin-bottom: 12px; }
.drive-need-msg { flex: 1; min-width: 180px; color: #fde68a; font-size: .9rem; }
.files-h { font-size: .95rem; margin: 6px 0 8px; }
.media-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 14px; }
.media-edit.single { grid-template-columns: 180px; }
.m-item, .m-add { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.m-item img, .m-item video { width: 100%; height: 100%; object-fit: cover; }
.m-ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.m-drag { position: absolute; left: 4px; top: 4px; z-index: 2; background: rgba(0, 0, 0, .6); color: #fff; }
.m-kind { position: absolute; right: 6px; top: 6px; color: #fff; background: rgba(0, 0, 0, .6); border-radius: 6px; padding: 2px 4px; display: grid; }
.m-kind .ic { width: 14px; height: 14px; }
.m-cover { position: absolute; left: 6px; bottom: 34px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; z-index: 2; }
.m-title { position: absolute; left: 0; right: 0; bottom: 30px; padding: 2px 6px; font-size: .72rem; background: rgba(0, 0, 0, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 2px; padding: 3px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.m-tools button { width: 28px; height: 26px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.m-tools button .ic { width: 15px; height: 15px; }
.m-tools button:hover { background: rgba(255, 255, 255, .25); }
.m-tools button.on { background: var(--primary); }
.m-progress { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 5, 25, .6); }
.m-progress i { position: absolute; left: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--cyan)); transition: width .2s; }
.m-progress b { font-size: .9rem; }
.m-item.error { border-color: var(--bad); }
.m-error { position: absolute; inset: 0 0 30px; padding: 8px; font-size: .72rem; background: rgba(60, 0, 0, .8); color: #fecaca; overflow: auto; }
.m-add { display: grid; place-items: center; color: var(--primary2); border-style: dashed; border-color: var(--line2); background: transparent; }
.m-add .ic { width: 30px; height: 30px; }
.editor-switches { display: flex; gap: 24px; flex-wrap: wrap; margin: 4px 0 6px; }
.editor .switch { margin-bottom: 8px; }

/* Categorías */
.cat-admin { display: flex; flex-direction: column; gap: 12px; }
.cat-row { padding: 0; margin: 0; overflow: hidden; }
.cat-row-head { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.types { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; align-items: center; }
.type-chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 2px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(139, 61, 255, .1); }
.type-chip.off { opacity: .5; }
.type-chip .drag { padding: 2px; }
.type-chip .drag .ic { width: 14px; height: 14px; }
.t-name { background: none; border: 0; padding: 4px 4px; font-weight: 600; font-size: .88rem; color: var(--text); }
.t-del { background: none; border: 0; color: var(--muted); padding: 2px; display: grid; place-items: center; }
.t-del:hover { color: #fca5a5; }
.t-del .ic { width: 14px; height: 14px; }
.type-add { display: inline-flex; gap: 6px; }
.type-add input { width: 170px !important; padding: .4em .7em !important; font-size: .88rem; }

/* Moderación */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; flex-wrap: wrap; }
.seg a { padding: .6em 1.1em; color: var(--muted); font-weight: 600; text-decoration: none; }
.seg a.active { background: var(--primary); color: #fff; }
.review-mod { display: flex; gap: 14px; align-items: flex-start; transition: .25s; }
.review-mod.leaving { opacity: 0; transform: translateX(20px); }
.rm-body { flex: 1; min-width: 0; }
.rm-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.rm-top small { margin-left: auto; }
.rm-text { white-space: pre-line; }
.rm-actions { display: flex; flex-direction: column; gap: 8px; min-width: 130px; }
@media (max-width: 640px) { .review-mod { flex-wrap: wrap; } .rm-actions { flex-direction: row; flex-wrap: wrap; width: 100%; } }
.info-band { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid rgba(34, 211, 238, .4); border-radius: 12px; color: #a5f3fc; background: rgba(34, 211, 238, .06); }

/* Ajustes */
.settings-form .card { max-width: 980px; }
.settings-form.narrow .card { max-width: 520px; }
.copy-grid { display: grid; gap: 10px; margin: 10px 0 16px; }
.copy { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.copy span { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy code { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: .5em .7em; border-radius: 8px; background: #0f0920; border: 1px solid var(--line); color: #e9ddff; font-size: .88rem; }
.status-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.status-list li { padding-left: 26px; position: relative; color: var(--muted); }
.status-list li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: var(--warn); }
.status-list li.ok { color: var(--text); }
.status-list li.ok::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1000; max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 12px; background: #1f1446; border: 1px solid var(--line2); box-shadow: var(--shadow); font-weight: 600; }
.toast.error { background: #3b0d17; border-color: rgba(239, 68, 68, .6); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =====================================================================
   IDENTIDAD V2 (colores, tipografías y logo originales de Euforia)
   + foto de fiesta como trasfondo. Este bloque manda sobre lo anterior.
   ===================================================================== */
:root {
  --bg: #0d0015; --bg2: #14001f; --card: rgba(26, 0, 48, .78); --card2: rgba(36, 4, 64, .9);
  --line: rgba(168, 85, 247, .4); --line2: rgba(168, 85, 247, .8);
  --text: #f0e6ff; --muted: #c2a7d9; --primary: #7e22ce; --primary2: #a855f7; --pink: #ec4899; --cyan: #06b6d4;
  --display: 'Orbitron', sans-serif; --body: 'Rajdhani', system-ui, sans-serif;
}
body { font-size: 17px; font-weight: 500; background: var(--bg); }
/* Trasfondo: la foto se nota detrás, con un velo morado para que todo se lea bien. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background: url('fondo-fiesta.jpg') center 30% / cover no-repeat;
  filter: saturate(1.15);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 600px at 50% 0%, rgba(126, 34, 206, .25), transparent 70%),
    linear-gradient(180deg, rgba(13, 0, 21, .62) 0%, rgba(13, 0, 21, .78) 45%, rgba(13, 0, 21, .93) 100%);
}
@media (max-width: 900px) { body::before { background-image: url('fondo-fiesta-movil.jpg'); } }
/* En el panel la foto queda más tenue para trabajar cómodo. */
body:has(.admin)::after, body:has(.login-page)::after { background: linear-gradient(180deg, rgba(13, 0, 21, .86), rgba(13, 0, 21, .95)); }

/* Logo original: EUFORIA morado con brillo + estrella rosa */
.brand { align-items: flex-start; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.55rem; letter-spacing: .02em; color: var(--primary2); text-shadow: 0 0 14px rgba(168, 85, 247, .7); }
.brand-star { color: var(--pink); text-shadow: 0 0 12px rgba(236, 72, 153, .7); }
.brand-sub { font-family: var(--display); font-size: .62rem; font-weight: 700; letter-spacing: .32em; color: var(--muted); margin-top: 8px; padding-left: 0; }
.admin-side .brand, .login-card .brand { align-items: center; }

/* Cabecera y navegación como la V2 */
.site-header { background: rgba(13, 0, 21, .88); }
.main-tabs a { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.main-tabs a.active, .main-tabs a:hover { color: var(--primary2); border-bottom-color: var(--primary2); text-decoration: none; }
.btn-contact { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary2); background: rgba(13, 0, 21, .6); border: 1px solid var(--primary2); border-radius: 10px; padding: .75em 1.4em; }
.btn-contact:hover { background: rgba(168, 85, 247, .18); box-shadow: 0 0 16px rgba(168, 85, 247, .45); }

/* Títulos en Orbitron, mayúsculas y brillo neón */
.h-title, .admin-top h1, .cta-band h2, .login-card h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; text-shadow: 0 0 10px rgba(168, 85, 247, .6), 0 0 20px rgba(168, 85, 247, .3); }
.h-title { font-size: clamp(1.05rem, 2.8vw, 1.5rem); }
.card-title, .cat-name, .card-h, .modal-head h2 { font-family: var(--display); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card-title { font-size: .9rem; line-height: 1.35; }
.cat-name { font-size: .95rem; }
.card-h, .modal-head h2 { font-size: .95rem; }
.admin-top h1 { font-size: 1.2rem; }

/* Botones con el estilo V2 */
.btn-primary { font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(135deg, #7e22ce, #a855f7); box-shadow: 0 0 16px rgba(168, 85, 247, .45); }
.btn-outline { font-family: var(--display); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary2); border-color: var(--primary2); background: rgba(13, 0, 21, .45); }
.btn-outline:hover { background: rgba(168, 85, 247, .16); box-shadow: 0 0 14px rgba(168, 85, 247, .35); }
.btn-sm { font-size: .7rem; }
.sticky-cta .btn-primary, .viewer-cta .btn-primary { font-size: .85rem; }
.chip.active, .view-tabs button.active, .seg a.active { background: linear-gradient(135deg, #7e22ce, #a855f7); box-shadow: 0 0 14px rgba(168, 85, 247, .4); }
.view-tabs button, .seg a { font-family: var(--display); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.view-tabs, .filter-bar, .seg { background: rgba(13, 0, 21, .55); }

/* Tarjetas semitransparentes para que se note el trasfondo */
.news-card, .show-card, .cat-card, .review-card, .card, .kpi, .show-row, .contact-item, .empty, .empty-line, .filter-bar { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.news-card:hover, .show-card:hover, .cat-card:hover { box-shadow: 0 0 22px rgba(168, 85, 247, .45); }
.empty, .empty-line { background: rgba(13, 0, 21, .5); color: var(--muted); }
.cta-band { background: linear-gradient(135deg, rgba(126, 34, 206, .4), rgba(236, 72, 153, .2)); backdrop-filter: blur(6px); }
.site-footer { background: rgba(13, 0, 21, .75); }
.muted { color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { background: rgba(18, 0, 31, .9); font-weight: 500; }
.modal, .drawer, .kebab-menu { background: rgba(20, 0, 31, .97); }
.modal-head { background: rgba(20, 0, 31, .98); }
.admin-side { background: rgba(10, 0, 16, .92); }
@media (max-width: 640px) {
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .48rem; margin-top: 5px; letter-spacing: .26em; }
  .main-tabs a { font-size: .66rem; letter-spacing: .06em; padding: .5em .45em; }
  .btn-contact { padding: .55em; }
}

/* Encabezado del catálogo como en la V2: título centrado y pestañas */
.catalog-hero { text-align: center; margin: 10px 0 26px; }
.catalog-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.05rem, 3vw, 1.75rem); color: var(--text); text-shadow: 0 0 10px rgba(168, 85, 247, .6), 0 0 20px rgba(168, 85, 247, .3); margin-bottom: 14px; }
.catalog-hero > p { margin-bottom: 16px; }
.cat-tabs { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 10px; background: rgba(168, 85, 247, .1); backdrop-filter: blur(6px); }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { padding: 12px 24px; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; text-decoration: none; border-left: 1px solid var(--line); transition: .2s; }
.cat-tabs a:first-child { border-left: 0; }
.cat-tabs a:hover { color: #fff; background: rgba(168, 85, 247, .15); }
.cat-tabs a.active { color: #fff; background: linear-gradient(135deg, #7e22ce, #a855f7); box-shadow: 0 0 14px rgba(168, 85, 247, .4); }
@media (max-width: 640px) { .cat-tabs { display: flex; justify-content: flex-start; } .cat-tabs a { padding: 11px 16px; font-size: .64rem; } }

/* Pestaña «Lo último» dentro del encabezado V2 */
.cat-tabs a { display: inline-flex; align-items: center; gap: .45em; }
.cat-tabs .tab-new .ic { color: var(--pink); width: 1em; height: 1em; }
.cat-tabs .tab-new.active .ic { color: #fff; }

/* Cuadrícula de Lo último: videos en movimiento sin sonido */
.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.reel-tile { position: relative; aspect-ratio: 9/16; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; background: #000; color: #fff; text-align: left; transition: .2s; }
.reel-tile:hover { border-color: var(--line2); box-shadow: 0 0 22px rgba(168, 85, 247, .45); transform: translateY(-2px); }
.reel-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8, 0, 18, .92)); pointer-events: none; }
.reel-kind { position: absolute; top: 10px; left: 10px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.reel-kind .ic { width: 14px; height: 14px; }
.reel-info { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; flex-direction: column; }
.reel-info strong { font-family: var(--display); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; }
.reel-info small { color: var(--muted); }
@media (max-width: 520px) { .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Feed vertical tipo TikTok */
.reels { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.reels::backdrop { background: #000; }
.reels-track { height: 100dvh; width: min(100vw, calc(100dvh * 9 / 16)); margin: 0 auto; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reels-track::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; background: #000; }
.reel-media, .reel-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-media video, .reel-media img { object-fit: cover; }
.reel-frame { border: 0; background: #000; }
.reel-drive { border: 0; padding: 0; background: #000; }
.reel-drive img { width: 100%; height: 100%; object-fit: cover; }
.reel-paused { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.reel-paused .ic { width: 72px; height: 72px; padding: 18px; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.reel-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.reel-overlay > * { pointer-events: auto; }
.reel-overlay strong { font-family: var(--display); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 0 10px rgba(168, 85, 247, .7); }
.reel-overlay small { color: #e2d4f5; }
.reel-ago { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; background: rgba(126, 34, 206, .85); }
.reel-actions { display: flex; gap: 8px; margin-top: 8px; }
.reel-count { position: absolute; top: calc(16px + env(safe-area-inset-top)); left: 16px; font-size: .8rem; color: #ddd; background: rgba(0, 0, 0, .45); padding: .2em .6em; border-radius: 999px; }
.reels-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 5; background: rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .25); }
.reels-sound { position: fixed; right: 12px; top: calc(64px + env(safe-area-inset-top)); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; }
.reels-nav { position: fixed; right: max(16px, calc(50vw - (100dvh * 9 / 16) / 2 - 64px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 5; }
.reels-nav .icon-btn { background: rgba(126, 34, 206, .5); border-color: var(--line2); width: 46px; height: 46px; border-radius: 50%; }
@media (max-width: 700px), (pointer: coarse) { .reels-nav { display: none; } }

/* Tarjetas más transparentes (efecto vidrio) para que se vea el trasfondo */
:root { --card: rgba(26, 0, 48, .45); --card2: rgba(40, 6, 70, .6); }
.review-card, .news-info, .show-info, .card, .kpi, .show-row, .contact-item, .filter-bar, .cat-tabs, .empty, .empty-line {
  background: rgba(26, 0, 48, .42); border-color: rgba(168, 85, 247, .45);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.review-card:hover, .contact-item:hover { background: rgba(60, 10, 100, .5); }
.cta-band { background: linear-gradient(135deg, rgba(126, 34, 206, .35), rgba(236, 72, 153, .18)); backdrop-filter: blur(10px); }
.reel-tile, .show-card, .cat-card { background: rgba(0, 0, 0, .25); }
.site-header { background: rgba(13, 0, 21, .7); backdrop-filter: blur(12px); }

/* Me gusta, comentarios y compartir (estilo TikTok) */
.reel-stats { position: absolute; right: 10px; bottom: 54px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .78rem; font-weight: 700; text-shadow: 0 1px 4px #000; }
.reel-stats > span { display: inline-flex; align-items: center; gap: 3px; }
.reel-stats .ic { width: 15px; height: 15px; }
.reel-stats .liked { color: #facc15; }
.reel-rail { position: absolute; right: 10px; bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 3; display: flex; flex-direction: column; gap: 16px; }
.rail-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: #fff; font-size: .78rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.rail-btn .ic { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: rgba(0, 0, 0, .4); transition: transform .15s; }
.rail-btn:active .ic { transform: scale(.85); }
.rail-btn.like.on .ic { color: #facc15; background: rgba(250, 204, 21, .18); filter: drop-shadow(0 0 8px rgba(250, 204, 21, .7)); }
.reel-overlay { padding-right: 76px; }
.heart-burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 4; color: #facc15; }
.heart-burst .ic { width: 120px; height: 120px; filter: drop-shadow(0 0 20px rgba(250, 204, 21, .8)); }
.heart-burst.pop .ic { animation: burst .7s ease-out forwards; }
@keyframes burst { 0% { transform: scale(.3); opacity: 0; } 30% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.reel-sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100vw, calc(100dvh * 9 / 16), 520px); max-height: 65dvh; z-index: 10; display: flex; flex-direction: column; background: rgba(20, 0, 31, .97); border: 1px solid var(--line2); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .6); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sheet-head .icon-btn { width: 34px; height: 34px; }
.sheet-list { overflow-y: auto; padding: 8px 14px; flex: 1; min-height: 80px; }
.sheet-c { display: flex; gap: 10px; padding: 8px 0; }
.sheet-c .avatar { width: 32px; height: 32px; font-size: .85rem; }
.sheet-c p { margin: 2px 0 0; overflow-wrap: anywhere; }
.sheet-c small, .sheet-empty { color: var(--muted); }
.sheet-form { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.sheet-row { display: flex; gap: 8px; }
.sheet-row input { flex: 1; }
.sheet-note { margin: 0; font-size: .8rem; color: var(--muted); }
.sheet-note.ok { color: #86efac; }
/* Comentarios de video en la caja de reseñas */
.review-card { position: relative; }
.review-kind { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .75rem; color: var(--muted); }
.review-kind .ic { width: 13px; height: 13px; }
.avatar-c { background: linear-gradient(135deg, #06b6d4, #7e22ce); }
.comment-thumb { margin-left: auto; width: 44px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; border: 1px solid var(--line2); background: #000; }
.kpis { grid-template-columns: repeat(5, 1fr); }
.kpi-like .ic { color: #facc15 !important; background: rgba(250, 204, 21, .15) !important; }
@media (max-width: 1200px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.seg-main { margin-bottom: 10px; }
.comment-mod-thumb { width: 54px; height: 72px; }

/* Textos con brillo neón (como el título del catálogo V2) */
.h-title, .catalog-title { color: rgba(245, 235, 255, .92); text-shadow: 0 0 8px rgba(168, 85, 247, .85), 0 0 22px rgba(168, 85, 247, .45), 0 2px 4px rgba(0, 0, 0, .6); }
.card-title, .cat-name, .reel-info strong, .review-top h3, .cta-band h2, .card-h, .kpi strong, .rating-line strong, .reel-overlay strong { color: rgba(245, 235, 255, .94); text-shadow: 0 0 8px rgba(168, 85, 247, .7), 0 0 16px rgba(168, 85, 247, .3), 0 1px 3px rgba(0, 0, 0, .7); }
.catalog-hero > p, .muted, .review-card p, .cta-band p, .reel-info small, .cat-count { text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
.cat-tabs a, .main-tabs a { text-shadow: 0 0 6px rgba(168, 85, 247, .45); }
.cat-tabs a.active, .main-tabs a.active { text-shadow: 0 0 10px rgba(255, 255, 255, .55); }
.brand-name { text-shadow: 0 0 10px rgba(168, 85, 247, .9), 0 0 24px rgba(168, 85, 247, .55); }

/* Marca de agua visible sobre el feed (también queda en grabaciones de pantalla) */
.reel-wm { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 2; pointer-events: none; font-family: var(--display); font-weight: 900; font-size: .78rem; letter-spacing: .08em; color: rgba(255, 255, 255, .55); text-shadow: 0 0 8px rgba(168, 85, 247, .9), 0 1px 2px rgba(0, 0, 0, .6); white-space: nowrap; }
.reel img, .reel video, .reel-tile img, .tile img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* ===== Logo oficial con brillo neón y movimiento ===== */
.brand-logo-link { position: relative; display: inline-block; line-height: 0; }
.brand-logo-wrap { position: relative; display: inline-block; }
.brand-logo { height: 54px; width: auto; display: block;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 7px rgba(192, 132, 252, .95)) drop-shadow(0 0 16px rgba(168, 85, 247, .8)) drop-shadow(0 0 28px rgba(236, 72, 153, .45)); }
/* Reflejo de luz que cruza el logo (recortado con la forma del logo) */
.brand-shine { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .95) 48%, rgba(236, 72, 153, .9) 52%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-mask: url('logo-euforia-blanco.png') center / contain no-repeat; mask: url('logo-euforia-blanco.png') center / contain no-repeat; }
.site-header .header-row { height: 76px; }
.admin-side .brand-logo { height: 46px; }
.login-card .brand-logo, .drawer .brand-logo { height: 50px; }
@media (max-width: 640px) { .brand-logo { height: 40px; } .site-header .header-row { height: 62px; } }

/* Entrada: cae, rebota y destella (una vez por visita) */
.logo-intro .brand-logo-wrap { animation: logo-drop 1.5s cubic-bezier(.3, 1.4, .5, 1) both; }
.logo-intro .brand-shine { animation: logo-shine 1s .9s ease-out both; }
@keyframes logo-drop {
  0% { transform: translateY(-120px) scale(.6) rotate(-8deg); opacity: 0; filter: brightness(3); }
  45% { transform: translateY(8px) scale(1.12) rotate(2deg); opacity: 1; }
  62% { transform: translateY(-10px) scale(.97) rotate(-1deg); }
  78% { transform: translateY(3px) scale(1.03); }
  100% { transform: none; filter: none; }
}
/* Siempre: brillo que respira + cada 7 s un saltito con reflejo y parpadeo de neón */
.logo-live .brand-logo { animation: logo-breathe 3.2s ease-in-out infinite alternate; }
.logo-live .brand-logo-wrap { animation: logo-hop 7s ease-in-out infinite; }
.logo-live .brand-shine { animation: logo-shine 7s ease-in-out infinite; }
@keyframes logo-breathe {
  from { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 6px rgba(192, 132, 252, .85)) drop-shadow(0 0 12px rgba(168, 85, 247, .6)) drop-shadow(0 0 20px rgba(236, 72, 153, .3)); }
  to { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px rgba(192, 132, 252, 1)) drop-shadow(0 0 22px rgba(168, 85, 247, .95)) drop-shadow(0 0 38px rgba(236, 72, 153, .6)); }
}
@keyframes logo-hop {
  0%, 84%, 100% { transform: none; }
  88% { transform: translateY(-7px) scale(1.06); }
  92% { transform: translateY(0) scale(.98); }
  95% { transform: translateY(-3px) scale(1.02); }
  89.5%, 90.5% { opacity: .55; }  /* parpadeo de letrero */
  90% { opacity: 1; }
}
@keyframes logo-shine {
  0%, 82% { opacity: 0; background-position: 130% 0; }
  84% { opacity: 1; }
  96% { opacity: 1; background-position: -30% 0; }
  100% { opacity: 0; background-position: -30% 0; }
}
.logo-intro .brand-shine { animation-name: logo-shine-once; }
@keyframes logo-shine-once { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 85% { opacity: 1; background-position: -30% 0; } 100% { opacity: 0; } }
.brand-logo-link:hover .brand-logo { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 12px #c084fc) drop-shadow(0 0 26px #a855f7) drop-shadow(0 0 40px rgba(236, 72, 153, .7)); }
@media (prefers-reduced-motion: reduce) { .brand-logo-wrap, .brand-logo, .brand-shine { animation: none !important; } }

/* ===== Marca más notoria ===== */
/* Barra superior: logo más grande y brillo más intenso */
.site-header .brand-logo { height: 62px; }
.site-header .header-row { height: 84px; }
.brand-logo { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px rgba(216, 180, 254, 1)) drop-shadow(0 0 18px rgba(168, 85, 247, .95)) drop-shadow(0 0 34px rgba(236, 72, 153, .6)); }
@keyframes logo-breathe {
  from { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 7px rgba(216, 180, 254, .95)) drop-shadow(0 0 16px rgba(168, 85, 247, .85)) drop-shadow(0 0 28px rgba(236, 72, 153, .45)); }
  to { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 12px rgba(216, 180, 254, 1)) drop-shadow(0 0 28px rgba(168, 85, 247, 1)) drop-shadow(0 0 52px rgba(236, 72, 153, .8)); }
}
/* Inicio: logo grande y centrado, como un letrero de neón */
.hero-logo { display: flex; justify-content: center; margin: 8px auto 22px; line-height: 0; position: relative; }
.hero-logo::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); height: 170px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(168, 85, 247, .45), rgba(236, 72, 153, .18) 60%, transparent); filter: blur(10px); pointer-events: none; animation: halo 3.2s ease-in-out infinite alternate; }
.hero-logo .brand-logo { height: clamp(96px, 16vw, 150px); }
@keyframes halo { from { opacity: .55; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.hero-logo + .catalog-title { margin-top: 4px; }
@media (max-width: 640px) {
  .site-header .brand-logo { height: 44px; }
  .site-header .header-row { height: 66px; }
  .hero-logo .brand-logo { height: 92px; }
  .hero-logo::before { height: 120px; }
}
@media (prefers-reduced-motion: reduce) { .hero-logo::before { animation: none; } }

/* Feed: reproductor único sobre la miniatura; sin barras ni controles visibles */
.reel-media .reel-player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; z-index: 1; }
.reel-media .reel-poster { z-index: 0; }
.reel-media .reel-paused { z-index: 2; }
.reel-media { background: #07010f; isolation: isolate; }
.reel-player::-webkit-media-controls, .reel-player::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* Beta 1 Servidor: video preparándose en el servidor */
.m-progress.m-server { background: rgba(10, 5, 25, .45); }
.m-progress i.indet { width: 35% !important; animation: m-indet 1.4s ease-in-out infinite; }
@keyframes m-indet { 0% { left: -35%; } 100% { left: 100%; } }
.m-item.server img, .m-item.server video { filter: saturate(.7) brightness(.8); }
