/* CRAZY — neon hype kadeřnictví (salon 3) */
:root {
  --pink: #ff2d95;
  --cyan: #00f5ff;
  --yellow: #ffe600;
  --purple: #9b5cff;
  --lime: #b8ff3c;
  --bg: #0d0221;
  --bg2: #1a0a3e;
  --surface: #1f1147;
  --text: #fff8ff;
  --muted: #c9b8e8;
  --border: rgba(255, 255, 255, 0.12);
  --font-display: 'Bungee Shade', cursive;
  --font-body: 'Rubik', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--yellow); }

.hidden { display: none !important; }

/* Marquee */
.marquee {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  color: #0d0221;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.45rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span { padding-right: 3rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Nav */
.crazy-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(13, 2, 33, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--pink);
}
.crazy-nav.scrolled { box-shadow: 0 8px 32px rgba(255, 45, 149, 0.25); }

.crazy-logo {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--cyan);
  transform: rotate(-2deg);
}

.crazy-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.crazy-links a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.crazy-links a:hover { color: var(--cyan); }
.crazy-cta {
  background: var(--pink) !important;
  color: #0d0221 !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
}
.crazy-burger {
  display: none;
  background: var(--purple);
  border: 2px solid var(--cyan);
  color: #fff;
  font-size: 1.25rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Hero */
.crazy-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 45, 149, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.25), transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(155, 92, 255, 0.3), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.hero-frame {
  position: relative;
  z-index: 1;
  transform: rotate(3deg);
  border: 4px solid var(--cyan);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--pink), 24px 24px 0 var(--purple);
  aspect-ratio: 4/5;
  max-height: 70vh;
  background: var(--bg2);
}

.hero-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--yellow));
  background-size: cover;
  background-position: center;
}
.hero-bg.has-image { background-color: var(--bg2); }

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 6px
  );
  pointer-events: none;
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transform: rotate(-12deg);
  border: 2px solid #0d0221;
}
.hero-sticker-1 { top: 12%; left: 8%; background: var(--yellow); color: #0d0221; }
.hero-sticker-2 { bottom: 18%; right: 5%; background: var(--lime); color: #0d0221; transform: rotate(8deg); }

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.hero-kicker {
  display: inline-block;
  background: var(--purple);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid var(--cyan);
}

.crazy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 5rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--cyan);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-neon {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-block { width: 100%; }
.btn-primary { background: var(--pink); color: #0d0221; border: none; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
.btn-icon { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--text); }

/* Blocks */
.block { padding: 4rem 1.25rem; position: relative; }
.block:nth-child(odd) { background: var(--bg2); }
.block-inner { max-width: 1100px; margin: 0 auto; }

.section-title { margin-bottom: 2rem; }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--yellow);
  margin-top: 0.5rem;
  line-height: 1.15;
}

.title-pill {
  display: inline-block;
  background: var(--pink);
  color: #0d0221;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.title-pill-cyan { background: var(--cyan); }
.title-pill-yellow { background: var(--yellow); }
.title-pill-purple { background: var(--purple); color: #fff; }

/* Vibe */
.block-vibe .block-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .block-vibe .block-inner { grid-template-columns: 1.2fr 0.8fr; }
}

.bubble {
  padding: 2rem;
  border-radius: 28px;
  border: 3px solid;
  position: relative;
}
.bubble-pink {
  background: rgba(255, 45, 149, 0.12);
  border-color: var(--pink);
  box-shadow: 8px 8px 0 var(--purple);
}
.bubble-tag {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--cyan);
  text-transform: uppercase;
}
.bubble h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0.75rem 0;
  line-height: 1.1;
}
.bubble h2 em { color: var(--pink); font-style: normal; }
.about-text { color: var(--muted); font-size: 1.02rem; }

.hype-stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hype-stats li {
  background: var(--surface);
  border: 2px solid var(--cyan);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transform: rotate(calc(var(--i, 0) * 1deg));
}
.hype-stats li:nth-child(2) { border-color: var(--yellow); transform: rotate(2deg); }
.hype-stats li:nth-child(3) { border-color: var(--pink); transform: rotate(-1deg); }
.hype-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--yellow);
  line-height: 1;
}
.hype-stats span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* Team — solo artist spotlight */
.team-grid {
  display: flex;
  justify-content: center;
}
.team-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  max-width: 820px;
  width: 100%;
  background: linear-gradient(145deg, var(--surface), var(--bg2));
  border: 3px solid var(--yellow);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 0 40px rgba(255, 230, 0, 0.15);
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.team-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--cyan);
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, var(--purple), var(--pink));
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--pink), var(--purple)); }

.team-body h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.team-role {
  color: var(--pink);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.team-desc { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.team-hours { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.team-hours td { padding: 0.35rem 0; border-bottom: 1px dashed var(--border); }
.zavreno { color: var(--pink); font-style: italic; }

/* Gallery mosaic */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--purple);
  cursor: pointer;
  transform: rotate(calc((var(--i, 0) - 1) * 1.5deg));
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 1;
  position: relative;
}
.gallery-item:nth-child(3n+1) { border-color: var(--pink); }
.gallery-item:nth-child(3n+2) { border-color: var(--cyan); transform: rotate(2deg); }
.gallery-item:nth-child(3n) { border-color: var(--yellow); transform: rotate(-2deg); }
.gallery-item:hover {
  transform: scale(1.03) rotate(0deg);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.35);
  z-index: 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: rgba(13, 2, 33, 0.85);
  font-size: 0.75rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.price-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  transition: transform 0.15s, border-color 0.15s;
}
.price-card:nth-child(odd) { border-color: var(--pink); }
.price-card:nth-child(even) { border-color: var(--cyan); }
.price-card:hover {
  transform: translateX(4px);
  border-color: var(--yellow);
  box-shadow: -4px 4px 0 var(--purple);
}
.price-name { font-weight: 700; font-size: 0.92rem; }
.price-value {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--yellow);
  white-space: nowrap;
}

/* News */
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-card {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  background: var(--surface);
  border-left: 5px solid var(--pink);
  border-radius: 0 16px 16px 0;
  padding: 1.25rem;
  transform: rotate(-0.5deg);
}
.news-card:nth-child(even) {
  border-left-color: var(--cyan);
  transform: rotate(0.5deg);
}
.news-card-body { flex: 1; }
.news-card time { font-size: 0.72rem; color: var(--lime); font-weight: 700; text-transform: uppercase; }
.news-card h3 { font-size: 1.15rem; margin: 0.4rem 0; color: var(--yellow); }
.news-card p { color: var(--muted); font-size: 0.9rem; }
.news-card-media {
  flex-shrink: 0;
  width: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--purple);
}
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .contact-split { grid-template-columns: 1.1fr 0.9fr; }
}

.contact-boom h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--pink);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.2;
}

.contact-chips { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.chip {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 2px solid;
}
.chip span:first-child { font-size: 1.4rem; }
.chip small { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.chip-pink { border-color: var(--pink); background: rgba(255, 45, 149, 0.1); }
.chip-cyan { border-color: var(--cyan); background: rgba(0, 245, 255, 0.08); }
.chip-yellow { border-color: var(--yellow); background: rgba(255, 230, 0, 0.08); }
.chip a { color: var(--text); }

.hours-card {
  background: var(--surface);
  border: 3px solid var(--lime);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 6px 6px 0 var(--purple);
}
.hours-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--lime); margin-bottom: 0.5rem; }
.hours-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.hours-card table { width: 100%; }
.hours-card td { padding: 0.45rem 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.hours-card td:last-child { text-align: right; font-weight: 600; color: var(--cyan); }

/* Footer */
.crazy-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 3px solid var(--pink);
  background: #060112;
}
.crazy-footer p:first-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--yellow);
}
.footer-copy { color: var(--muted); font-size: 0.85rem; margin-top: 0.35rem; }
.footer-copy a { color: var(--cyan); }

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  gap: 1rem;
  color: var(--muted);
}
.loading-burst {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(var(--pink), var(--cyan), var(--yellow), var(--purple), var(--pink));
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox img { max-height: 90vh; border: 3px solid var(--cyan); border-radius: 12px; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--pink);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

/* Admin */
.admin-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  border: 2px solid var(--cyan);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.5);
}
.admin-panel { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.7); }
.admin-panel.open { display: flex; justify-content: flex-end; }
.admin-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg2);
  color: var(--text);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
  border-left: 3px solid var(--pink);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.admin-header h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--yellow); }
.admin-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.admin-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }
.admin-hint { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.admin-body label { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; font-weight: 600; }
.admin-body input, .admin-body textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.admin-tabs .tab {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.admin-tabs .tab.active { background: var(--pink); color: #0d0221; border-color: var(--pink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.upload-box { margin-bottom: 1.5rem; }
.upload-box h4 { font-size: 0.88rem; margin-bottom: 0.75rem; color: var(--cyan); }
.hero-preview { height: 120px; border-radius: 10px; overflow: hidden; background: var(--surface); margin-bottom: 0.75rem; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; }
.btn-upload { cursor: pointer; display: inline-block; }
.bunny-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }
.gallery-edit { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.gallery-edit-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.5rem; align-items: center; padding: 0.5rem; border: 1px solid var(--border); border-radius: 10px; }
.gallery-edit-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.btn-delete-img { background: rgba(255, 45, 149, 0.2); color: var(--pink); border: none; padding: 0.35rem 0.6rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; }
.edit-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.edit-row input { flex: 1; min-width: 80px; }
.edit-block { margin-bottom: 0.75rem; }
.status-msg { margin-top: 0.75rem; font-size: 0.85rem; text-align: center; }
.status-msg.error { color: var(--pink); }
.status-msg.success { color: var(--lime); }
.admin-body .checkbox { flex-direction: row !important; align-items: center; color: var(--text); margin: 0.75rem 0; }
.admin-body .checkbox input { width: auto; margin-right: 0.5rem; }

.gallery-empty, .team-empty { text-align: center; color: var(--muted); padding: 2rem; }

@media (max-width: 900px) {
  .crazy-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 2rem; }
  .hero-frame { max-height: 45vh; transform: rotate(1deg); }
  .team-card { grid-template-columns: 1fr; }
  .gallery-item { grid-column: span 6; }
}

@media (max-width: 640px) {
  .crazy-burger { display: block; }
  .crazy-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg2);
    padding: 1rem;
    border-bottom: 2px solid var(--pink);
  }
  .crazy-links.open { display: flex; }
  .gallery-item { grid-column: span 12; }
  .news-card { flex-direction: column; }
  .news-card-media { width: 100%; max-height: 180px; }
}

.creator-bar {
  --creator-bar-bg: var(--bg2);
  --creator-bar-border: rgba(255, 255, 255, 0.08);
  --creator-bar-link-hover: var(--text);
}
