/* awakenink.art: neon on near-black, colors taken from the dragon logo */
:root {
  --bg: #05040c;
  --bg2: #0c0a1c;
  --panel: rgba(20, 17, 42, 0.78);
  --line: rgba(140, 125, 255, 0.22);
  --cyan: #3ff0ff;
  --violet: #a66bff;
  --pink: #ff4fa3;
  --orange: #ff9a3c;
  --text: #ece9ff;
  --muted: #a39fc4;
  --radius: 14px;
  --head: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(166, 107, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(63, 240, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 500 18px/1.55 var(--body);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--head); letter-spacing: 0.04em; line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 0.8em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 48px 0; }
.page-top { padding-top: 36px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pink); margin-bottom: 0.6em; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-shadow: 0 0 22px rgba(63, 240, 255, 0.35); }
.section-title { font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.section-title a { color: inherit; text-decoration: none; }
.cards + .section-title, .grid + .section-title { margin-top: 44px; }

/* ---- Top bar ---- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(5, 4, 12, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 800; letter-spacing: 0.12em; }
.brand img { border-radius: 50%; mix-blend-mode: screen; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.92rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--text); background: rgba(166, 107, 255, 0.14); }
.top-call { font-family: var(--head); font-size: 0.85rem; color: var(--cyan); text-decoration: none; white-space: nowrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 700 0.95rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.82rem; }
.btn-big { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn-cyan { background: var(--cyan); color: #031418; box-shadow: 0 0 22px rgba(63, 240, 255, 0.35); }
.btn-cyan:hover { color: #031418; box-shadow: 0 0 32px rgba(63, 240, 255, 0.55); }
.btn-hot { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #1a0410; box-shadow: 0 0 22px rgba(255, 79, 163, 0.35); }
.btn-hot:hover { color: #1a0410; box-shadow: 0 0 32px rgba(255, 79, 163, 0.55); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: #fff; }
.btn-disabled { opacity: 0.55; cursor: default; }
.btn-disabled:hover { transform: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---- Hero ---- */
.hero { position: relative; padding: 56px 0 24px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: center; }
.hero-logo { width: 100%; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 800; letter-spacing: 0.08em; margin-bottom: 0.15em; }
.tagline { font-family: var(--head); letter-spacing: 0.32em; color: var(--cyan); font-size: clamp(0.8rem, 2vw, 1.05rem); margin-bottom: 1.4em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.glitch { position: relative; color: #fff; text-shadow: 0 0 18px rgba(63, 240, 255, 0.55), 0 0 42px rgba(166, 107, 255, 0.4); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0.55; pointer-events: none; }
.glitch::before { color: var(--pink); transform: translate(2px, 0); clip-path: inset(0 0 62% 0); animation: glitch 4s infinite steps(1); }
.glitch::after { color: var(--cyan); transform: translate(-2px, 0); clip-path: inset(58% 0 0 0); animation: glitch 5s infinite steps(1) reverse; }
@keyframes glitch { 0%, 92%, 100% { transform: translate(0, 0); } 93% { transform: translate(3px, -1px); } 95% { transform: translate(-3px, 1px); } 97% { transform: translate(2px, 0); } }

/* Floating symbols, the old site's signature */
.glyphs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glyphs span { position: absolute; bottom: -40px; color: var(--violet); opacity: 0; animation: rise 14s linear infinite; text-shadow: 0 0 12px currentColor; }
.glyphs span:nth-child(3n) { color: var(--cyan); }
.glyphs span:nth-child(4n) { color: var(--pink); }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 0.28; } 80% { opacity: 0.18; } 100% { transform: translateY(-110vh) rotate(160deg); opacity: 0; } }
main, .footer { position: relative; z-index: 1; }

/* ---- Cards ---- */
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(6px); transition: border-color 0.2s, box-shadow 0.2s;
}
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: rgba(63, 240, 255, 0.55); box-shadow: 0 0 26px rgba(63, 240, 255, 0.15); }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; margin-bottom: 12px; font-size: 1.3rem; color: var(--cyan); background: rgba(63, 240, 255, 0.08); border: 1px solid rgba(63, 240, 255, 0.25); }
.tile { display: flex !important; align-items: center; gap: 14px; }
.tile .card-icon { margin: 0; }
.tile h3 { margin: 0; }

.artist-card { display: flex !important; gap: 18px; align-items: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--violet); box-shadow: 0 0 18px rgba(166, 107, 255, 0.45); flex: none; }
.avatar-lg { width: 160px; height: 160px; }
.avatar-xl { width: 200px; height: 200px; }
.link-arrow { color: var(--cyan); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.link-arrow::after { content: " \2192"; }
.specialty { color: var(--cyan); font-weight: 600; }

.artist-list { display: grid; gap: 18px; }
.artist-row { display: flex; gap: 26px; align-items: flex-start; }
.artist-row h2 { font-size: 1.5rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 79, 163, 0.35); color: #ffc2de; font-size: 0.88rem; }

.profile { display: flex; gap: 32px; align-items: flex-start; margin: 18px 0 30px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; }
.back::before { content: "\2190  "; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.schedule { margin-bottom: 36px; }
.schedule dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; margin: 0 0 14px; }
.schedule dt { font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.schedule dd { margin: 0; font-weight: 700; }

/* ---- Fresh ink strip ---- */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item img { width: 220px; height: 220px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Gallery grid + lightbox ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 12px; margin-bottom: 40px; }
.grid-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s; }
.grid-item:hover img { transform: scale(1.02); border-color: var(--cyan); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(3, 2, 8, 0.94); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 10px; box-shadow: 0 0 60px rgba(166, 107, 255, 0.35); }
.lightbox button { position: absolute; background: rgba(20, 17, 42, 0.9); color: var(--text); border: 1px solid var(--line); border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* ---- Call panel ---- */
.callpanel {
  text-align: center; padding: 34px 22px; border-radius: 18px; margin: 10px 0 28px;
  background: linear-gradient(135deg, rgba(63, 240, 255, 0.10), rgba(255, 79, 163, 0.10));
  border: 1px solid rgba(63, 240, 255, 0.35); box-shadow: 0 0 40px rgba(63, 240, 255, 0.10) inset;
}
.callpanel-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 10px 0 14px; }
.callpanel-btns .btn { min-width: 220px; }
.callpanel-num { font-family: var(--head); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0.08em; margin-bottom: 4px; }

/* ---- Booking ---- */
.deposits { margin: 0 0 14px; }
.deposits h2 { font-size: 1rem; color: var(--muted); }
.price { font-family: var(--head); font-size: 1.4rem; color: var(--orange); margin-bottom: 0.4em; }
.form-card { margin-top: 30px; max-width: 760px; margin-inline: auto; }
.booking-form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; font-weight: 700; letter-spacing: 0.04em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%; font: 500 1.02rem var(--body); color: var(--text);
  background: rgba(5, 4, 12, 0.7); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 240, 255, 0.18); }
input[type="range"] { padding: 0; accent-color: var(--pink); background: none; border: 0; }
input[type="file"] { padding: 9px; }
select option { background: var(--bg2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 10px; margin: 14px 0 0; }
.notice-ok { background: rgba(60, 255, 160, 0.10); border: 1px solid rgba(60, 255, 160, 0.4); }
.notice-bad { background: rgba(255, 79, 100, 0.12); border: 1px solid rgba(255, 79, 100, 0.45); }
.book-list { padding-left: 1.1em; margin: 0 0 14px; }
.store-card .btn { margin-top: 6px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 24px; background: rgba(5, 4, 12, 0.6); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.footer p { margin: 0 0 4px; }
.footer-brand { font-family: var(--head); font-weight: 800; letter-spacing: 0.14em; }
.label { font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px !important; }
.fine { color: var(--muted); font-size: 0.9rem; margin-top: 26px; }

/* Mobile call bar */
.callbar { display: none; }

/* ---- Admin ---- */
.admin .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 22px; }
.admin .tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 700; }
.admin .tabs a[aria-current="page"] { background: rgba(63, 240, 255, 0.14); color: var(--text); border-color: var(--cyan); }
.count { opacity: 0.7; margin-left: 4px; }
.login-card { max-width: 420px; display: grid; gap: 14px; }
.booking { margin-bottom: 16px; }
.booking-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.booking-head h2 { margin-bottom: 2px; }
.status { padding: 4px 12px; border-radius: 999px; font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em; border: 1px solid; }
.status-pending { color: var(--orange); border-color: var(--orange); }
.status-confirmed { color: var(--cyan); border-color: var(--cyan); }
.status-completed { color: #5dffa8; border-color: #5dffa8; }
.status-cancelled { color: var(--muted); border-color: var(--muted); }
.booking-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 16px 0; }
.booking-facts dt { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.booking-facts dd { margin: 0; font-weight: 700; }
.booking-desc { background: rgba(5, 4, 12, 0.5); border-radius: 10px; padding: 12px 14px; }
.refs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.refs img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.booking-update { display: grid; grid-template-columns: 180px 1fr auto; gap: 12px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.inline { margin-left: auto; }

/* ---- Small screens ---- */
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .top-call { display: none; }
  .hero { padding-top: 28px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .hero-logo { width: min(240px, 70%); margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-btns .btn { flex: 1 1 100%; }
  .artist-row, .profile { flex-direction: column; align-items: center; text-align: center; }
  .artist-row .tags, .profile .tags, .artist-row .row-btns, .profile .row-btns, .profile .socials { justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .booking-update { grid-template-columns: 1fr; }
  .callpanel-btns .btn { min-width: 0; flex: 1 1 100%; }
  body:not(.admin) { padding-bottom: 76px; }
  .callbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(5, 4, 12, 0.95); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .callbar a { display: grid; place-items: center; min-height: 50px; border-radius: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
  .callbar a:nth-child(1) { background: var(--cyan); color: #031418; }
  .callbar a:nth-child(2) { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #1a0410; }
  .callbar a:nth-child(3) { border: 1px solid var(--line); color: var(--text); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .strip { overflow-x: auto; }
}

/* ---- Portal ---- */
.portal-who { margin-left: auto; }
.portal-tabs { margin-top: 0; }
.portal-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin .card { margin-bottom: 18px; }
.portal-form { display: grid; gap: 14px; }
.portal-form h2 { margin-top: 10px; }
.upload-form { display: grid; gap: 10px; margin-bottom: 16px; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.portal-photo { margin: 0; background: rgba(5, 4, 12, 0.5); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.portal-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portal-photo figcaption { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; }
.portal-photo figcaption form { margin: 0; }
.portal-photo .btn-sm { min-height: 30px; padding: 4px 9px; font-size: 0.75rem; }
.danger { color: #ff8a9a; border-color: rgba(255, 79, 100, 0.45); }
.avatar-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.artist-admin-head { display: flex; gap: 14px; align-items: center; }
.artist-admin-head .avatar { width: 64px; height: 64px; }
.artist-admin h2 { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.invite-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.invite-box { border: 1px solid rgba(60, 255, 160, 0.4); }
.invite-link { font-size: 0.9rem; margin: 6px 0; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 860px) { .invite-form { grid-template-columns: 1fr; } }
