:root {
  --ink: #17212b;
  --muted: #5f7084;
  --telegram: #2aabee;
  --telegram-dark: #168acd;
  --leaf: #4f9b78;
  --mint: #dff3e8;
  --cream: #fff9e6;
  --yellow: #ffe36d;
  --coral: #ff876c;
  --sky: #e3f6ff;
  --paper: #ffffff;
  --line: #d9e4ea;
  --soft-line: rgba(215, 227, 236, 0.78);
  --shadow: 0 20px 54px rgba(23, 33, 43, 0.12);
  --radius: 8px;
  --font-sans: "Manrope", "Inter", "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  line-height: 1.48;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f7fcf9 0%, #eff8f2 42%, #f6fbff 100%),
    #f3f8f5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(30deg, rgba(23, 33, 43, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(23, 33, 43, 0.08) 87.5%, rgba(23, 33, 43, 0.08)),
    linear-gradient(150deg, rgba(23, 33, 43, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(23, 33, 43, 0.08) 87.5%, rgba(23, 33, 43, 0.08)),
    linear-gradient(30deg, rgba(23, 33, 43, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(23, 33, 43, 0.08) 87.5%, rgba(23, 33, 43, 0.08)),
    linear-gradient(150deg, rgba(23, 33, 43, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(23, 33, 43, 0.08) 87.5%, rgba(23, 33, 43, 0.08));
  background-position: 0 0, 0 0, 26px 45px, 26px 45px;
  background-size: 52px 90px;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

section {
  scroll-margin-top: 6rem;
}

.container {
  width: min(100% - 2rem, 1160px);
  margin: 0 auto;
}

.section-pad {
  padding: 5rem 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 27, 0.24);
  backdrop-filter: blur(20px) saturate(150%);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(23, 33, 43, 0.14);
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 1.05rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-header .brand {
  color: #fff;
}

.site-header .brand-logo {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 8px 22px rgba(7, 16, 27, 0.28);
}

.site-header .brand small {
  color: rgba(255, 255, 255, 0.78);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn-telegram {
  background: var(--telegram);
  color: #fff;
  box-shadow: 0 10px 24px rgba(42, 171, 238, 0.28);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 135, 108, 0.28);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--telegram);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 0;
}

.mobile-video-section {
  display: none;
}

.mobile-video-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 38px rgba(23, 33, 43, 0.18);
  aspect-ratio: 16 / 9;
}

.mobile-video-shell iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-panel {
  position: relative;
  min-height: max(42rem, 100svh);
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, #eef5fa 0%, #f4f8fb 54%, #f7fafc 100%);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(42, 171, 238, 0.14), transparent 22rem),
    radial-gradient(circle at 78% 18%, rgba(118, 184, 227, 0.12), transparent 20rem),
    radial-gradient(circle at 52% 78%, rgba(79, 155, 120, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(244, 248, 251, 0.88) 100%);
  filter: none;
}

.hero-fallback-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-fallback-image {
  object-fit: cover;
  object-position: center top;
  opacity: 0.12;
  transform: scale(1.06);
  filter: blur(18px) saturate(0.82);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: max(42rem, 100svh);
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 24rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 44rem;
  color: var(--ink);
  text-shadow: none;
}

.hero-device-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-shell {
  position: relative;
  width: min(100%, 23rem);
  aspect-ratio: 9 / 19.5;
  padding: 0.72rem;
  border-radius: 3.2rem;
  background:
    linear-gradient(180deg, #1e232b 0%, #0f1217 100%);
  box-shadow:
    0 30px 70px rgba(7, 16, 27, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 2px rgba(0, 0, 0, 0.42);
}

.hero-device-shell::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-device-notch {
  position: absolute;
  top: 0.78rem;
  left: 50%;
  width: 33%;
  height: 1.55rem;
  transform: translateX(-50%);
  border-radius: 0 0 1.05rem 1.05rem;
  background: #0a0d11;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #050608;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.hero-device-frame,
.hero-device-video,
.hero-device-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-device-frame {
  background: #000;
}

.hero-device-video,
.hero-device-image {
  object-fit: cover;
  object-position: center top;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.12);
  color: var(--telegram-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  background: rgba(42, 171, 238, 0.12);
  color: var(--telegram-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 39rem;
  font-size: 4.6rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  margin: 0;
  font-weight: 850;
  line-height: 1.12;
}

.hero-lead {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-mobile-lead {
  display: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: var(--tag-bg, var(--telegram));
  color: var(--tag-color, #fff);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(23, 33, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 33, 43, 0.13);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts div {
  min-height: 6rem;
  padding: 1rem;
  border: 1px solid rgba(215, 227, 236, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(23, 33, 43, 0.06);
}

.hero-facts strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.12;
  color: var(--ink);
}

.hero-facts span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-weight: 750;
}

.ticker {
  overflow: hidden;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--soft-line);
}

.ticker-line {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  color: #2f6d50;
  font-weight: 850;
}

.ticker i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--telegram);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-head p:last-child,
.art-copy p,
.game-layout p,
.contacts-info p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(100%, 37rem);
  margin: 0 auto 1rem;
  padding: 0.5rem 0 10rem;
  overflow: visible;
}

.stack-cards > article {
  position: sticky;
  top: calc(7.5rem + var(--stack-offset, 0rem));
  z-index: var(--stack-z, 1);
  width: 100%;
  transform: rotate(var(--stack-rotate, 0deg));
  transform-origin: center top;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.stack-cards > article:hover {
  transform: rotate(var(--stack-rotate, 0deg)) translateY(-0.2rem);
  box-shadow: 0 24px 52px rgba(23, 33, 43, 0.16);
}

.club-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.1);
}

.club-card.is-custom-surface {
  border-color: rgba(255, 255, 255, 0.38);
}

.club-card.is-custom-surface h3,
.club-card.is-custom-surface p {
  color: inherit;
}

.club-card > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: #294052;
  font-size: 1.35rem;
  font-weight: 900;
}

.card-label,
.club-card h3 {
  display: block;
}

.card-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.14);
  color: var(--telegram-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.club-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.club-card p,
.post-card p,
.game-card p {
  margin: 0;
  color: var(--muted);
}

.yellow {
  background: #fff3ad;
}

.mint {
  background: var(--mint);
}

.blue {
  background: var(--sky);
}

.coral {
  background: #ffe0d8;
}

.art-section {
  background: rgba(255, 255, 255, 0.58);
}

.art-layout,
.game-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 2rem;
  align-items: center;
}

.art-copy {
  max-width: 42rem;
}

.art-copy .btn {
  margin-top: 1.4rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--telegram);
  color: #fff;
  font-size: 0.8rem;
}

.photo-card {
  margin: 0;
}

.photo-card img {
  width: 100%;
  max-height: 42rem;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-carousel {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.photo-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
}

.photo-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.photo-carousel-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  padding: 0.2rem;
}

.photo-carousel-slide {
  flex: 0 0 clamp(12rem, 32vw, 15rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.photo-carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  box-shadow: none;
}

.post-card {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  overflow: hidden;
  min-height: 15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.post-card img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.post-card div {
  padding: 1.25rem;
}

.post-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.12);
  color: var(--telegram-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.post-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
}

.game-band {
  background: linear-gradient(135deg, rgba(255, 227, 109, 0.58), rgba(79, 155, 120, 0.22));
}

.game-card,
.contact-panel {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.game-card-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.14);
  color: var(--telegram-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.game-card span:not(.game-card-label) {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--telegram-dark);
  font-weight: 850;
}

.game-card h3,
.contact-panel h3 {
  margin-bottom: 0.7rem;
  font-size: 1.7rem;
}

.contacts-section {
  padding-bottom: 5.5rem;
}

.contacts-layout {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--telegram-dark);
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-panel .btn {
  width: fit-content;
}

.schedule-section {
  background:
    radial-gradient(circle at top right, rgba(42, 171, 238, 0.12), transparent 28rem),
    rgba(255, 255, 255, 0.62);
}

.schedule-controls-shell {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 0.75rem;
  z-index: 12;
}

.schedule-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(23, 33, 43, 0.08);
}

.schedule-range-switch,
.schedule-type-filters,
.schedule-title-filters,
.schedule-item-meta,
.schedule-week-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.schedule-filter-block {
  display: grid;
  gap: 0.4rem;
}

.schedule-select-field {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 20rem);
  color: var(--muted);
  font-weight: 800;
}

.schedule-select-field select {
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.schedule-filter-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.schedule-chip,
.schedule-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.schedule-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.schedule-chip.is-active {
  border-color: var(--telegram);
  background: var(--telegram);
  color: #fff;
}

.schedule-date-field {
  display: grid;
  gap: 0.35rem;
  width: fit-content;
  color: var(--muted);
  font-weight: 800;
}

.schedule-date-field input {
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.schedule-summary {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(42, 171, 238, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(227, 246, 255, 0.92), rgba(255, 255, 255, 0.9));
}

.schedule-summary-text,
.schedule-summary-meta {
  margin: 0;
}

.schedule-summary-text {
  font-size: 1rem;
  font-weight: 850;
}

.schedule-summary-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.schedule-week-rail {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.schedule-day-pill {
  display: grid;
  flex: 0 0 auto;
  gap: 0.2rem;
  min-width: 4.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(42, 171, 238, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.06);
}

.schedule-day-pill.is-active {
  border-color: var(--telegram);
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.14), rgba(42, 171, 238, 0.26));
}

.schedule-day-pill-label {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: capitalize;
}

.schedule-day-pill-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.schedule-day {
  display: grid;
  gap: 0.9rem;
}

.schedule-day.is-active .schedule-day-head {
  padding: 0.3rem 0.4rem 0.3rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(42, 171, 238, 0.08);
}

.schedule-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-day-head h3 {
  margin: 0;
  font-size: 1.1rem;
  text-transform: capitalize;
}

.schedule-day-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.12);
  color: var(--telegram-dark);
  font-weight: 850;
}

.schedule-day-list {
  display: grid;
  gap: 0.85rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: minmax(5.5rem, 6.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(23, 33, 43, 0.08);
}

.schedule-item-time {
  display: grid;
  gap: 0.2rem;
}

.schedule-item-time strong {
  font-size: 1.25rem;
}

.schedule-item-time span {
  color: var(--muted);
  font-size: 0.88rem;
}

.schedule-item-repeat {
  font-weight: 700;
}

.schedule-item-copy {
  display: grid;
  gap: 0.6rem;
}

.schedule-item-copy h4 {
  margin: 0;
  font-size: 1.18rem;
}

.schedule-meta-chip {
  min-height: 2rem;
  padding: 0.42rem 0.72rem;
  background: rgba(23, 33, 43, 0.06);
  color: var(--ink);
}

.schedule-item-note {
  margin: 0;
  color: var(--muted);
}

.schedule-empty {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  box-shadow: 0 14px 30px rgba(23, 33, 43, 0.08);
}

.site-footer {
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--soft-line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.footer-inner a:not(.brand) {
  color: var(--telegram-dark);
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  background: #f5f8f6;
}

.admin-page::before {
  opacity: 0.06;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.admin-topbar-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-title {
  display: grid;
  gap: 0.15rem;
}

.admin-title b {
  font-size: 1.2rem;
}

.admin-title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-actions,
.admin-field-row,
.admin-item-actions,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-button.primary {
  border-color: var(--telegram);
  background: var(--telegram);
  color: #fff;
}

.admin-button.danger {
  border-color: #ffd4cc;
  background: #fff0ec;
  color: #b43a25;
}

.admin-button.ghost {
  background: transparent;
}

.admin-file {
  position: relative;
  overflow: hidden;
}

.admin-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem 3rem;
}

.admin-sidebar,
.admin-editor {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(23, 33, 43, 0.08);
}

.admin-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  padding: 0.75rem;
}

.admin-sidebar h2,
.admin-editor h1 {
  margin: 0;
}

.admin-sidebar h2 {
  padding: 0.5rem;
  font-size: 1rem;
}

.admin-nav-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.admin-nav-list button {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-nav-list button:hover,
.admin-nav-list button.is-active {
  background: var(--sky);
  color: var(--ink);
}

.admin-editor {
  min-height: 36rem;
  padding: 1.25rem;
}

.admin-editor-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-editor-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-span-all {
  grid-column: 1 / -1;
}

.admin-field {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfd;
  color: var(--ink);
}

.admin-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.admin-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  outline: 3px solid rgba(42, 171, 238, 0.16);
  border-color: var(--telegram);
}

.admin-group {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-group-title h2 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-items {
  display: grid;
  gap: 0.75rem;
}

.admin-item {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.admin-schedule-week-editor {
  display: grid;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-schedule-table-wrap {
  overflow-x: auto;
}

.admin-schedule-table {
  display: grid;
  gap: 0.45rem;
  min-width: 50rem;
}

.admin-schedule-table-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8rem) repeat(7, minmax(2.75rem, 1fr)) minmax(7rem, 8rem) minmax(5.5rem, 6rem) auto;
  gap: 0.45rem;
  align-items: center;
}

.admin-schedule-table-cell {
  min-width: 0;
}

.admin-schedule-table-head {
  align-items: end;
}

.admin-schedule-table-caption,
.admin-schedule-table-day,
.admin-schedule-table-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-schedule-day-toggle,
.admin-schedule-table-row input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfd;
  color: var(--ink);
  font: inherit;
}

.admin-schedule-day-toggle {
  padding-inline: 0.35rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-schedule-day-toggle.is-active {
  border-color: var(--telegram);
  background: rgba(42, 171, 238, 0.12);
  color: var(--telegram);
}

.admin-schedule-table-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-item-title strong {
  font-size: 0.95rem;
}

.admin-status {
  min-height: 1.4rem;
  color: var(--leaf);
  font-weight: 850;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-panel,
  .art-layout,
  .game-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-device-column {
    justify-content: flex-start;
  }

  .hero-device-shell {
    width: min(22rem, 52vw);
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1rem, 1160px);
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 4.9rem;
    right: 0.5rem;
    left: 0.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgba(7, 16, 27, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(7, 16, 27, 0.32);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .header-cta {
    display: none;
  }

  .mobile-video-section {
    display: block;
    padding: 0.75rem 0 0;
  }

  .hero {
    padding-top: 0;
  }

  .hero-panel {
    min-height: max(34rem, 100svh);
  }

  .hero-content {
    min-height: max(34rem, 100svh);
    padding-top: 5.1rem;
    padding-bottom: 1rem;
  }

  .hero-layout {
    display: block;
  }

  .hero-device-column {
    display: none;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 12px rgba(7, 16, 27, 0.34);
  }

  .hero-copy .eyebrow,
  .hero-copy h1 {
    display: none;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    display: none;
  }

  .hero-mobile-lead {
    display: block;
    order: 1;
    max-width: 29rem;
    margin: 0.55rem auto 0;
    color: #fff;
    font-family: "Arial Black", "Manrope", "Inter", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    font-size: clamp(2.15rem, 9.6vw, 3.15rem);
    font-weight: 950;
    line-height: 0.98;
    text-wrap: balance;
  }

  .hero-tags {
    order: 2;
    justify-content: center;
    gap: 0.75rem 0.65rem;
    margin-top: 2rem;
  }

  .hero-tag {
    min-height: 2.65rem;
    max-width: min(100%, 15rem);
    padding: 0.68rem 1.1rem;
    font-size: 0.83rem;
    line-height: 1.05;
  }

  .hero-actions {
    order: 3;
  }

  .hero-facts {
    order: 4;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(7, 16, 27, 0.08) 20%, rgba(7, 16, 27, 0.22) 62%, rgba(7, 16, 27, 0.38) 100%);
  }

  .hero-media {
    filter: brightness(var(--hero-brightness, 0.73));
  }

  .hero-facts div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .hero-facts strong {
    color: #fff;
  }

  .hero-facts span {
    color: rgba(244, 248, 252, 0.82);
  }

  .section-head p:last-child,
  .art-copy p,
  .game-layout p,
  .contacts-info p,
  .contact-panel p {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stack-cards > article {
    top: calc(5.5rem + var(--stack-offset-mobile, 0rem));
  }

  .post-card {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }

  .post-card img {
    min-height: 13rem;
  }

  .post-card div,
  .club-card {
    padding: 1rem;
  }

  .club-card {
    grid-template-columns: 1fr;
  }

  .schedule-controls-shell {
    position: sticky;
    top: 5.2rem;
    z-index: 8;
  }

  .schedule-toolbar {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .schedule-range-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-chip {
    width: 100%;
  }

  .schedule-type-filters,
  .schedule-title-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .schedule-type-filters .schedule-chip,
  .schedule-title-filters .schedule-chip {
    width: auto;
    flex: 0 0 auto;
  }

  .schedule-date-field {
    width: 100%;
  }

  .schedule-date-field input {
    width: 100%;
  }

  .schedule-select-field {
    width: 100%;
    min-width: 0;
  }

  .schedule-select-field select {
    width: 100%;
  }

  .schedule-controls-shell {
    top: 0.5rem;
  }

  .schedule-summary {
    padding: 0.85rem 0.9rem;
  }

  .schedule-week-rail {
    margin-right: -0.1rem;
    padding-right: 0.1rem;
  }

  .schedule-day {
    gap: 0.75rem;
  }

  .schedule-day-head {
    align-items: start;
  }

  .schedule-day-head h3 {
    font-size: 1rem;
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .schedule-item-time {
    display: flex;
    grid-auto-flow: column;
    justify-content: start;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .schedule-item-copy h4 {
    font-size: 1.05rem;
  }

  .schedule-meta-chip {
    min-height: 1.9rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.84rem;
  }

  .admin-topbar-inner,
  .admin-editor-head,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .footer-inner p {
    text-align: left;
  }

  .admin-field-grid {
    grid-template-columns: 1fr;
  }

  .admin-editor {
    padding: 1rem;
  }
}

@media (max-width: 430px) {
  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card img {
    height: 11rem;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .stack-cards > article {
    transform: none !important;
  }
}
