/* Violet2 – celostránková herní šablona (úvod, příběh, uzamčený obchod). Načítá se po style.css. */

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.page.is-home { max-width: none; padding: 0; }
.is-home > .flash { position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(560px, 92vw); margin: 0; }
.center { text-align: center; justify-content: center; }
.big { padding: 16px 34px; font-size: 1.05rem; border-radius: 16px; }

/* ---------- hlavní scéna ---------- */
.hero2 {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  min-height: clamp(640px, 100svh, 960px); margin-top: -86px; padding: calc(86px + clamp(36px, 8vh, 100px)) 20px 120px;
  display: flex; flex-direction: column; align-items: center;
}
.layers { position: absolute; inset: 0; z-index: -3; }
.layer, .photo { max-width: none; position: absolute; left: -3%; bottom: 0; width: 106%; height: 104%; object-fit: cover; object-position: 50% 100%; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0); will-change: transform; }
.photo { left: 0; width: 100%; height: 100%; transform: none; }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(238, 248, 234, 0), var(--bg)); }
.cast { position: absolute; left: 0; right: 0; bottom: 0; height: 76%; z-index: 1; pointer-events: none; }
.fig { position: absolute; bottom: 0; height: auto; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0); filter: drop-shadow(0 26px 30px rgba(10, 50, 30, 0.35)); animation: float 7s ease-in-out infinite; }
.f-bojovnik { left: 2%; width: clamp(170px, 21vw, 340px); z-index: 3; }
.f-ninja { left: 15.5%; width: clamp(140px, 17vw, 285px); bottom: 3%; z-index: 2; animation-delay: -2s; }
.f-sura { right: 15.5%; width: clamp(140px, 17vw, 285px); bottom: 3%; z-index: 2; animation-delay: -4s; }
.f-saman { right: 2%; width: clamp(170px, 21vw, 340px); z-index: 3; animation-delay: -1s; }
.hero-copy { position: relative; z-index: 4; max-width: 780px; }
.hero-copy::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(246, 252, 243, 0.8), rgba(246, 252, 243, 0)); }
.hero2 .wordmark { font-size: clamp(3.8rem, 13vw, 9.5rem); margin-bottom: .2em; }
.hero2 .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #264636; max-width: 52ch; margin: 0 auto 1.6em; }
.hero2 .online { position: absolute; z-index: 4; bottom: 96px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; }

/* ---------- pásy a nadpisy sekcí ---------- */
.band { position: relative; padding-block: clamp(56px, 9vw, 110px); }
.band.alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(225, 243, 218, 0.45)); border-block: 1px solid rgba(201, 162, 77, 0.22); }
.band.dark {
  color: #e6f4ea; border: 0;
  background: radial-gradient(900px 420px at 85% 0%, rgba(124, 77, 255, 0.3), transparent 60%), radial-gradient(700px 380px at 5% 100%, rgba(63, 178, 111, 0.22), transparent 60%), linear-gradient(135deg, #0f3a28, #08241a);
}
.band.dark h2, .band.dark h3 { color: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sec-head.left { text-align: left; align-items: flex-start; margin: 0 0 22px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 4px 0 0; font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { transform: scaleX(-1); }
.sec-head.left .eyebrow::before { display: none; }
.band.dark .eyebrow { color: var(--gold-l); }

/* ---------- čísla ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 24px; border: 1px solid transparent; overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)) padding-box, linear-gradient(135deg, var(--gold-l), rgba(124, 77, 255, 0.45)) border-box;
  backdrop-filter: blur(14px); box-shadow: 0 30px 60px -28px rgba(22, 114, 74, 0.55); }
.stat-tile { padding: 22px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(201, 162, 77, 0.3); }
.stat-tile:last-child { border-right: 0; }
.stat-tile strong { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; color: var(--emerald); font-variant-numeric: tabular-nums; }
.stat-tile span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }

/* ---------- výběr povolání ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tab { font: inherit; font-family: var(--display); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 12px 24px; border-radius: 99px; cursor: pointer; color: var(--ink); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, #3fc17b, #16724a); border-color: var(--gold-l); box-shadow: 0 14px 26px -12px rgba(22, 114, 74, 0.8); }
.panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; animation: panelIn .5s ease both; }
.panel[hidden] { display: none; }
.panel-art { position: relative; display: grid; place-items: center; }
.panel-art::before { content: ""; position: absolute; inset: 6% 0; border-radius: 50%; background: radial-gradient(circle, rgba(124, 77, 255, 0.3), rgba(63, 178, 111, 0.22) 55%, transparent 72%); filter: blur(10px); }
.panel-art img { position: relative; width: min(380px, 100%); height: auto; filter: drop-shadow(0 34px 40px rgba(22, 80, 50, 0.4)); animation: float 7s ease-in-out infinite; }
.panel-text h3 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); margin-bottom: .3em; }
.panel-text > p { font-size: 1.12rem; color: var(--muted); max-width: 48ch; }
.panel-text h4 { margin: 26px 0 12px; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-d); font-family: var(--body); }
.bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; max-width: 460px; }
.bar-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; font-weight: 600; font-size: .92rem; }
.meter { height: 10px; border-radius: 99px; background: rgba(15, 42, 27, 0.1); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3fc17b, #7c4dff); }
.w1 { width: 10%; } .w2 { width: 20%; } .w3 { width: 30%; } .w4 { width: 40%; } .w5 { width: 50%; } .w6 { width: 60%; } .w7 { width: 70%; } .w8 { width: 80%; } .w9 { width: 90%; } .w10 { width: 100%; }

/* ---------- proč Violet2 ---------- */
.why-card { padding: 26px; border-radius: 20px; border: 1px solid rgba(240, 220, 160, 0.3); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); transition: transform .3s, background .3s, border-color .3s; }
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.11); border-color: rgba(240, 220, 160, 0.7); }
.why-card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, #3fc17b, #16724a); border: 1px solid var(--gold-l); box-shadow: 0 14px 28px -12px rgba(63, 193, 123, 0.7); }
.why-card .ico .i { width: 28px; height: 28px; margin: 0; }
.why-card h3 { margin: 0 0 6px; font-size: 1.45rem; }
.why-card p { margin: 0; color: rgba(230, 244, 234, 0.78); }

/* ---------- kroky ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -28px; width: 28px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.steps .num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #9a78ff, #5a35c8); border: 2px solid var(--gold-l); box-shadow: 0 14px 26px -12px rgba(90, 53, 200, 0.8); }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- uzamčený obchod ---------- */
.lock-card { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 28px; }
.lock-card h1, .lock-card h3 { margin: 0; }
.lock-card p { margin: 0 0 14px; max-width: 46ch; }
.lock-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--violet-d); margin-bottom: 8px; background: linear-gradient(135deg, #f1eaff, #fff4d6); border: 1px solid var(--gold-l); box-shadow: 0 0 34px -6px rgba(124, 77, 255, 0.5); }
.lock-ico .i { width: 32px; height: 32px; margin: 0; }

/* ---------- novinky, FAQ ---------- */
.news-grid { gap: clamp(28px, 5vw, 64px); align-items: start; }
.news-card { padding: 20px 22px; margin-bottom: 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); box-shadow: 0 14px 30px -22px rgba(22, 114, 74, 0.6); }
.news-card time { font-size: .8rem; letter-spacing: .06em; font-weight: 700; color: var(--gold-d); }
.news-card h3 { margin: 2px 0 6px; font-size: 1.45rem; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--green-700); }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.75); padding: 16px 20px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 18px 34px -24px rgba(22, 114, 74, 0.7); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--gold-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.mates { margin-top: 26px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(241, 234, 255, 0.9), rgba(255, 244, 214, 0.9)); border: 1px solid var(--gold-l); }
.mates h3 { margin: 0 0 6px; }
.mates p { margin: 0 0 14px; }

/* ---------- závěrečná výzva ---------- */
.cta-band { padding-block: clamp(64px, 10vw, 120px); color: #fff; text-align: center;
  background: radial-gradient(700px 320px at 50% 0%, rgba(240, 220, 160, 0.25), transparent 70%), linear-gradient(135deg, #1b6b49, #5a35c8); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 6vw, 3.6rem); }
.cta-band p { font-size: 1.15rem; opacity: .92; margin-bottom: 1.6em; }

/* ---------- příběh (Prezentace) ---------- */
.story-hero { padding: clamp(40px, 8vw, 90px) 0 clamp(20px, 4vw, 40px); }
.story-hero h1 { margin: 8px 0 .2em; font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 4.4rem); color: var(--emerald); }
.story-hero p { max-width: 56ch; margin: 0 auto 1.4em; font-size: 1.12rem; }
.story { display: flex; flex-direction: column; gap: clamp(48px, 8vw, 96px); padding-bottom: 80px; }
.chapter { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.chapter.flip .chapter-img { order: 2; }
.chapter-img { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid transparent; aspect-ratio: 16 / 11;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold-l), rgba(124, 77, 255, 0.5)) border-box; box-shadow: 0 40px 70px -34px rgba(22, 114, 74, 0.6); }
.chapter-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.chapter:hover .chapter-img img { transform: scale(1.05); }
.chapter-text h2 { margin: 8px 0 .4em; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.story-body { font-size: 1.1rem; color: #33493c; }
.story-cta { margin-top: 8px; }
.thumb-s { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- admin: obrázkové sloty ---------- */
.slots { display: flex; flex-direction: column; gap: 16px; }
.slot { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); }
.slot-prev { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(63, 178, 111, 0.1); border: 1px dashed var(--line); }
.slot-prev img { width: 100%; height: 100%; object-fit: contain; }
.slot-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* ---------- patička ---------- */
.foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.foot-links strong, .foot-shop strong { font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--ink); margin-bottom: 4px; }

@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .f-ninja, .f-sura { display: none; }
  .f-bojovnik { left: -5%; width: clamp(150px, 38vw, 300px); }
  .f-saman { right: -5%; width: clamp(150px, 38vw, 300px); }
}
@media (max-width: 860px) {
  .hero2 { min-height: 700px; padding-bottom: 150px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile:nth-child(2) { border-right: 0; }
  .stat-tile:nth-child(-n + 2) { border-bottom: 1px solid rgba(201, 162, 77, 0.3); }
  .panel, .chapter, .steps { grid-template-columns: minmax(0, 1fr); }
  .chapter.flip .chapter-img { order: 0; }
  .steps li:not(:last-child)::after { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .slot { grid-template-columns: 90px minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .bar-row { grid-template-columns: 80px minmax(0, 1fr); }
  .hero2 .row .btn { width: 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .fig, .panel-art img, .panel { animation: none !important; } }
