/* Petitcze – Noční směna */
:root {
  --night: #120822;
  --night-2: #170B2C;
  --panel: #1D1033;
  --line: #3A2560;
  --pink: #FF3EA5;
  --cyan: #3DE3FF;
  --sun: #FFD23F;
  --text: #F3ECFF;
  --muted: #D6CAF0;
  --dim: #BCAED6;
  --display: 'Audiowide', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--cyan); }
a:hover { color: #9AF1FF; }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.band { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head.row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head.row > div { display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--muted); }
.muted-sm { font-size: 14px; color: var(--dim); }
.narrow { max-width: 460px; }
.center { align-items: center; text-align: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; gap: 8px; border-radius: 10px; }
.btn-pink { background: var(--pink); color: var(--night); box-shadow: 0 0 26px rgba(255,62,165,0.55); }
.btn-pink:hover { color: var(--night); box-shadow: 0 0 36px rgba(255,62,165,0.8); }
.btn-cyan { border: 2px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(61,227,255,0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--night); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Hero */
.hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nav { position: relative; padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo span { font-family: var(--display); font-size: 24px; letter-spacing: 0.02em; text-shadow: 0 0 14px rgba(255,62,165,0.7); }
.logo:hover { color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--text); }
.hero { position: relative; padding-top: 72px; padding-bottom: 200px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.neon-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.4vw, 82px); line-height: 1.02; letter-spacing: 0.01em; text-shadow: 0 0 28px rgba(255,62,165,0.65), 0 0 2px var(--pink); }
.tagline { margin-top: -8px; font-family: var(--display); font-size: 22px; color: var(--sun); }
.lead { max-width: 520px; font-size: 19px; color: var(--muted); }

/* TV */
.tv { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; }
.tv-antenna { align-self: center; display: block; margin-bottom: -3px; }
.tv-body { border-radius: 30px; background: #2B1950; border: 3px solid var(--pink); box-shadow: 0 0 40px rgba(255,62,165,0.4); padding: 18px; display: flex; gap: 16px; align-items: stretch; }
.tv-screen { position: relative; flex: 1 1 auto; min-width: 0; aspect-ratio: 16 / 10; border-radius: 22px; border: 4px solid #0C0518; background: #0C0518; overflow: hidden; }
.tv-offline { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tv-offline-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-offline-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px; }
.badge-offline { padding: 6px 14px; border-radius: 6px; border: 1.5px solid var(--cyan); color: var(--cyan); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; }
.tv-big { font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); }
.tv-small { font-size: 14px; color: var(--muted); }
.tv-player { position: absolute; inset: 0; }
.tv-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0px, rgba(0,0,0,0.22) 1px, transparent 1px, transparent 3px); }
.tv-panel { flex: none; width: 60px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 6px 0; }
.knob { position: relative; border-radius: 50%; background: #1A0F2E; }
.knob i { position: absolute; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; }
.knob-1 { width: 40px; height: 40px; border: 3px solid var(--pink); }
.knob-1 i { top: 3px; height: 12px; background: var(--cyan); }
.knob-2 { width: 32px; height: 32px; border: 3px solid var(--cyan); transform: rotate(40deg); }
.knob-2 i { top: 2px; height: 10px; background: var(--pink); }
.grille { display: flex; flex-direction: column; gap: 5px; }
.grille i { display: block; width: 40px; height: 3px; border-radius: 2px; background: #4A2D78; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.tv-feet { display: flex; justify-content: space-between; padding: 0 56px; }
.tv-feet i { display: block; width: 48px; height: 12px; border-radius: 0 0 10px 10px; background: var(--line); }
.tv-meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(18,8,34,0.88); border: 1px solid var(--line); }
.tv-profile { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #0C0518; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; }
.tv-name { font-weight: 700; }
.live-label { margin-left: 6px; padding: 2px 8px; border-radius: 4px; background: var(--pink); color: var(--night); font-size: 12px; letter-spacing: 0.1em; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--muted); }

/* Steps */
.split { flex-direction: row; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-text .muted { max-width: 460px; }
.steps { flex: 1 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 20px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step-num { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--pink); color: var(--night); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; }
.step-title { font-weight: 700; font-size: 18px; }
.steps .muted { margin-top: 4px; }

/* Game cartridges */
.carts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cart { background: #2B1950; border-radius: 8px 8px 4px 4px; clip-path: polygon(0 0, 84% 0, 100% 8%, 100% 100%, 0 100%); padding: 14px 16px 0; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease; }
.cart:hover { transform: translateY(-4px); }
.cart-grip { align-self: center; width: 60%; height: 18px; background: repeating-linear-gradient(90deg, #3D2768 0 4px, transparent 4px 10px); }
.cart-label { background: var(--text); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.cart-stripe { display: flex; justify-content: space-between; padding: 4px 8px; border-radius: 3px; color: var(--night); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; }
.cart-art { aspect-ratio: 4 / 3; border-radius: 4px; background: #26143F; display: flex; align-items: center; justify-content: center; color: var(--pink); font-family: var(--display); font-size: 56px; text-shadow: 0 0 16px rgba(255,62,165,0.6); }
.cart-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.cart-info { padding: 0 4px 4px; }
.cart-title { font-weight: 700; color: var(--night); }
.cart-sub { margin-top: 2px; font-size: 14px; color: #5A3A80; }
.cart-pins { height: 28px; margin: 0 -16px; background: #22123E; display: flex; align-items: center; justify-content: center; }
.cart-pins i { display: block; width: 70%; height: 12px; background: repeating-linear-gradient(90deg, #C9A227 0 7px, transparent 7px 11px); }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s ease, border-color .2s ease; }
a.article-card:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--text); }
.tape { padding: 6px 16px; color: var(--night); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; display: flex; justify-content: space-between; gap: 8px; }
.tape-line { height: 4px; }
.article-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-body h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.article-more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--cyan); }
.article-more.soon { color: var(--dim); }

/* Community + footer */
#komunita h2 { max-width: 800px; font-size: clamp(30px, 4.2vw, 50px); }
.glow-cyan { text-shadow: 0 0 24px rgba(61,227,255,0.5); }
.footer { border-top: 1px solid var(--line); }
.footer-row { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dim); }

/* Article page */
.article-header { border-bottom: 1px solid var(--line); }
.article { max-width: 760px; margin: 0 auto; padding: 72px 32px 96px; display: flex; flex-direction: column; gap: 28px; font-size: 18px; line-height: 1.7; }
.article-tags { align-self: flex-start; display: flex; border-radius: 6px; overflow: hidden; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--night); }
.article-tags span { padding: 6px 12px; }
.article h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.5vw, 60px); line-height: 1.08; text-shadow: 0 0 24px rgba(255,62,165,0.55); }
.article .perex { font-size: 21px; line-height: 1.55; color: var(--muted); }
.article h2 { margin-top: 16px; font-size: 28px; line-height: 1.2; color: var(--cyan); }
.article-figure { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); padding: 40px; display: flex; justify-content: center; }
.article-figure svg { max-width: 100%; height: auto; }
.article blockquote { margin: 8px 0; padding: 24px 28px; border-radius: 14px; background: var(--panel); border: 1.5px solid var(--pink); box-shadow: 0 0 24px rgba(255,62,165,0.25); font-family: var(--display); font-size: 24px; line-height: 1.35; }
.cta-box { margin-top: 16px; padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-box .title { font-weight: 700; font-size: 19px; }
.cta-box .muted { margin-top: 4px; font-size: 16px; }

/* Phone */
@media (max-width: 720px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 32px; padding-bottom: 140px; gap: 40px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .tv-body { padding: 12px; gap: 10px; border-radius: 22px; }
  .tv-panel { width: 40px; }
  .knob-1 { width: 30px; height: 30px; }
  .knob-2 { width: 24px; height: 24px; }
  .grille i { width: 28px; }
  .tv-feet { padding: 0 36px; }
  .article { padding: 48px 20px 72px; }
  .article-figure { padding: 24px; }
}
