/* Meta Morfeya — Magical Design: Blue, Purple, Gold */

:root {
  --gold-gradient: linear-gradient(to right, #E6C777 0%, #CBAB50 100%);
  --spacing-block: 1rem;
  --spacing-section: 10rem;
  --spacing-title-content: 2rem;
  --bg-page: #B4A7D6;
  --bg-dark: #0a0612;
  --bg-card: rgba(255, 255, 255, 0.9);
  --purple-deep: #1a0a2e;
  --purple-mid: #2d1b4e;
  --purple-light: #4a2c7a;
  --purple-muted: #6f44bd;
  --blue-deep: #0f1729;
  --blue-mid: #1e3a5f;
  --blue-light: #3b5b8c;
  --gold: #c9a227;
  --gold-warm: #8b6914;
  --gold-light: #6b5510;
  --gold-dim: #6b5510;
  --accent-violet: #7c4dff;
  --accent-cyan: #4dd0e1;
  /* Единственный оранжевый акцент в UI */
  --orange-cta: #E66B3D;
  --orange-cta-hover: #D45428;
  --orange-rgb: 230, 107, 61;
  /* Тени под кнопками — нейтральные, не золотые */
  --shadow-btn: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-btn-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
  --lilac-light-btn: #D4C4F0;
  --lilac-light-btn-hover: #C4B0E5;
  --text-primary: #2d1b4e;
  --text-secondary: #4a2c7a;
  --text-muted: #5a4078;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle overlay on lavender background */
.stars, .twinkling {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.stars {
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.twinkling {
  background: transparent;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, rgba(180,167,214,0.95) 0%, rgba(180,167,214,0) 100%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
}

.nav-link:hover {
  color: #fff;
  opacity: 0.85;
}

.nav-btn-ghost {
  padding: 0.6rem 1.25rem;
  border: 2px solid #fff;
  border-radius: 12px;
  background: transparent;
}

.nav-btn-ghost:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.1);
}

.nav button.nav-btn-ghost {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  margin: 0;
}

.header-burger {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.header-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header--nav-open .header-burger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header--nav-open .header-burger-bar:nth-child(2) {
  opacity: 0;
}

.header--nav-open .header-burger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.logo {
  text-align: center;
}

.logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  display: block;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Sections */
main {
  position: relative;
  z-index: 1;
  padding-top: 140px;
}

.section {
  max-width: 1100px;
  margin: 0 auto var(--spacing-section);
  padding: 0 2rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-title-content);
}

.heading-icon-circle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-warm);
  border-radius: 50%;
  color: var(--gold-warm);
  background: transparent;
  margin-bottom: 0.75rem;
}

.heading-icon-circle svg {
  width: 18px;
  height: 18px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: var(--purple-deep);
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem 5rem;
  margin-bottom: var(--spacing-section);
  background: radial-gradient(ellipse at center, rgba(124,77,255,0.15) 0%, transparent 70%);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  margin-bottom: var(--spacing-block);
}

.hero-tagline-star {
  color: var(--gold);
  font-size: 0.7rem;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.25rem, 11vw, 5.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--spacing-block);
  line-height: 1.2;
}

.hero-desc {
  max-width: 480px;
  margin: 0 auto var(--spacing-block);
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-block);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-block);
}

.btn-primary {
  background: var(--gold-gradient) !important;
  color: var(--bg-dark) !important;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 2rem !important;
}

.btn-secondary {
  background: transparent !important;
  border: 2px solid var(--gold) !important;
  color: var(--gold-light) !important;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 2rem !important;
}

.btn-secondary:hover {
  background: rgba(201,162,39,0.15) !important;
}

.hero-scroll {
  display: inline-block;
  color: var(--text-muted);
  font-size: 1.75rem;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* About */
.about .section-title-wrap {
  margin-bottom: 0.25rem;
}

.about-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.about-photo {
  flex: 0 0 320px;
  margin-top: -0.5rem;
}

.about-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.about-photo-main {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--gold-warm);
  border-radius: 12px;
  display: block;
}

.photo-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--blue-deep) 100%);
  border: 1px solid var(--gold-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(201,162,39,0.2);
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}


.about-content p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.about-intro {
  font-size: 1.2rem;
  color: var(--text-primary) !important;
}

.btn-outline {
  background: transparent !important;
  border: 2px solid var(--gold-warm) !important;
  color: var(--gold-light) !important;
  margin-top: 0.5rem;
  border-radius: 2rem !important;
}

.btn-outline:hover {
  background: rgba(197, 164, 126, 0.15) !important;
}

.about-cta {
  color: var(--gold-light) !important;
  font-style: italic;
}

/* About Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--bg-card);
  border: 1px solid var(--gold-warm);
  border-radius: 16px;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.popup-close:hover {
  background: rgba(197, 164, 126, 0.3);
}

.popup-photo {
  flex: 0 0 280px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  align-self: stretch;
}

.popup-photo .photo-placeholder,
.popup-photo .about-photo-main {
  border-radius: 16px 0 0 16px;
  border: none;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.popup-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.popup-content p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

/* Services */
.services {
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: var(--spacing-title-content);
}

.services-header .heading-icon-circle {
  margin-left: auto;
  margin-right: auto;
}

.services-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold-warm);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.services-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.services-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.section-title-wrap .gallery-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201,162,39,0.3);
}

.section-title-wrap:has(.gallery-title) {
  margin: var(--spacing-section) 0 0.5rem;
}

.gallery-desc {
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin: 0 auto var(--spacing-title-content);
  max-width: 560px;
}

.services-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.services-gallery .gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gold-warm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  cursor: pointer;
}

.services-gallery .gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(201,162,39,0.2);
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--gold-warm);
  box-shadow: 0 0 60px rgba(201,162,39,0.3);
  transform: scale(0.7);
  animation: galleryZoomIn 0.35s ease-out forwards;
}

@keyframes galleryZoomIn {
  to {
    transform: scale(1);
  }
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-warm);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lightbox-close:hover {
  background: rgba(197, 164, 126, 0.3);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: var(--spacing-section);
}

.service-card {
  background: rgba(15, 10, 25, 0.9);
  border: 1px solid var(--purple-muted);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
  border-color: rgba(111, 68, 189, 0.7);
  box-shadow: 0 12px 40px rgba(111, 68, 189, 0.2);
  transform: translateY(-2px);
}

.service-card-featured {
  border: 1px solid var(--gold-warm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 164, 126, 0.15);
}

.service-card-featured .service-number {
  color: var(--gold-warm);
}

.service-card-featured:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(197, 164, 126, 0.25);
  transform: translateY(-2px);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-muted);
  letter-spacing: -0.02em;
}

.service-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-warm);
  border-radius: 50%;
  color: var(--gold-warm);
  background: transparent;
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-price {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

.service-format {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.btn-service {
  margin-top: auto;
  width: 100%;
  text-align: center;
  border-radius: 2rem !important;
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  text-decoration: none;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-btn);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  border-radius: 1.5rem !important;
}

/* Game Section */
.game-section {
  margin-bottom: var(--spacing-section) !important;
  /* две колонки доска + панель шире стандартного .section */
  max-width: min(2480px, 100%);
}

.game-preview {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.game-preview-text {
  flex: 1;
  min-width: 280px;
}

.game-preview-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold-warm);
  margin-bottom: 0.5rem;
}

.game-preview-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.game-preview-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.game-preview-text .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.game-preview-board-wrap {
  flex: 1;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-preview-board {
  display: grid;
  grid-template-columns: repeat(9, 26px);
  grid-template-rows: repeat(8, 26px);
  gap: 1px;
  width: fit-content;
  margin: 0 auto 1.25rem;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.1) 100%),
    url('assets/cosmic-bg.png');
  background-size: cover;
  background-position: center;
  padding: 36px;
  border-radius: 16px;
  border: 2px solid rgba(139,105,20,0.5);
  box-shadow: 0 4px 30px rgba(45,27,78,0.4);
}

.preview-cell {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 3px;
  padding: 2px;
  font-size: 0.45rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255,255,255,0.2);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
  box-sizing: border-box;
}

.preview-cell .preview-cell-num {
  font-weight: 600;
  color: rgba(240, 216, 77, 0.5);
  font-size: 0.1rem;
  line-height: 1;
  text-shadow: none;
}

.preview-cell .preview-cell-name {
  font-size: 0.07rem;
  line-height: 1;
  color: rgba(232, 224, 255, 0.5);
  word-break: break-word;
  text-shadow: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.preview-ascent,
.preview-descent,
.preview-reflection {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.preview-ascent {
  border-color: rgba(76, 175, 80, 0.7);
}

.preview-descent {
  border-color: rgba(244, 67, 54, 0.6);
}

.game-preview-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-ascent { background: rgba(76, 175, 80, 0.8); }
.legend-descent { background: rgba(244, 67, 54, 0.8); }
.legend-reflection { background: rgba(45, 27, 78, 0.9); }

/* Fullscreen Game Screen */
.game-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-page);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.game-screen.is-open {
  opacity: 1;
  visibility: visible;
}

.game-screen[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.game-screen-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-warm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.game-screen-close:hover {
  background: rgba(255, 255, 255, 1);
}

.game-screen-layout {
  container-type: inline-size;
  container-name: game-layout;
  display: grid;
  grid-template-columns: minmax(0, min(92vh, 1200px)) minmax(0, min(92vh, 1200px));
  align-items: start;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
}

.game-board-area {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  align-self: start;
}

.game-board-area .game-board-wrapper {
  position: relative;
  width: 100%;
  max-width: min(100%, min(92vh, 1200px));
  min-width: 0;
  aspect-ratio: 9/8;
  overflow: hidden;
  border-radius: 16px;
}

.game-board-area .game-board {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.game-controls-panel {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  margin: 0;
  color: var(--purple-deep);
  box-shadow: 0 4px 24px rgba(45,27,78,0.12);
  min-height: 0;
  align-self: start;
  /* та же высота, что у доски: (ширина колонки − половина gap) × 8/9 */
  height: calc((100cqw - 1rem) / 2 * 8 / 9);
  max-height: calc((100cqw - 1rem) / 2 * 8 / 9);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.game-panel-description {
  flex-shrink: 0;
}

.game-panel-title {
  font-size: clamp(1.2rem, 0.85rem + 2.1vw, 2.7rem);
  font-weight: 400;
  color: var(--purple-deep);
  margin: 0 0 0.5rem 0;
  line-height: 1.22;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.game-panel-subtitle {
  font-size: clamp(0.88rem, 0.82rem + 0.45vw, 1.02rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.game-panel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.game-panel-buttons .btn {
  flex: 1;
  min-width: 160px;
  margin-top: 0;
  padding: 1.2rem 1.5rem;
  font-size: 1.15rem;
}

/* Focus Popup */
.focus-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(180,167,214,0.9);
  backdrop-filter: blur(8px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.focus-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.focus-popup-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.focus-popup {
  background: var(--bg-card);
  border: 1px solid var(--gold-warm);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: min(720px, 92vw);
  width: 100%;
}

.focus-popup h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--purple-deep);
  margin-bottom: 1rem;
}

.focus-popup-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.focus-popup textarea {
  width: 100%;
  min-height: 300px;
  padding: 1rem;
  background: #e8e8e8;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  color: var(--purple-deep);
  font-family: inherit;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.focus-popup textarea:focus {
  border-color: var(--orange-cta);
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--orange-rgb), 0.25);
}

.focus-popup textarea::placeholder {
  color: var(--text-muted);
}

.focus-popup .btn {
  width: 100%;
  border-radius: 2rem !important;
}

.game-setup {
  display: flex;
  flex-direction: column;
}

.game-controls .player-name-heading {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.65rem 0;
  color: var(--purple-deep);
}

@media (max-width: 600px) {
  .game-controls .player-name-heading {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
}

.player-intention-block {
  margin-bottom: 1rem;
}

.player-intention-details {
  border-radius: 8px;
}

.player-intention-summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 0.15rem 0;
}

.player-intention-summary::-webkit-details-marker {
  display: none;
}

.player-intention-summary::before {
  content: '▸';
  display: inline-block;
  font-size: 0.75rem;
  color: var(--purple-muted);
  transition: transform 0.15s ease;
}

.player-intention-details[open] .player-intention-summary::before {
  transform: rotate(90deg);
}

.player-intention-details .player-intention-summary + textarea {
  margin-top: 0.4rem;
}

.player-intention-block textarea {
  width: 100%;
  min-height: 72px;
  padding: 0.65rem 0.75rem;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  color: var(--purple-deep);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  line-height: 1.45;
}

.player-intention-block textarea:focus {
  outline: none;
  box-shadow: none;
}

.player-intention-block textarea:focus-visible {
  outline: 2px solid rgba(var(--orange-rgb), 0.55);
  outline-offset: 2px;
}

.game-setup h3, .game-controls h3:not(.player-name-heading) {
  font-family: 'Inter', sans-serif;
  color: var(--purple-deep);
  margin-bottom: 1rem;
}

.game-setup-controls {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.players-setup {
  margin-bottom: 1rem;
}

.game-setup .game-panel-description {
  margin-bottom: 1rem;
}

.game-setup .game-panel-buttons {
  margin-top: 1rem;
  margin-bottom: 0;
}

.players-setup,
.game-panel-buttons {
  width: 100%;
}

.players-setup label, .question-block label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

#gameMode {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(45,27,78,0.25);
  border-radius: 8px;
  color: var(--purple-deep);
}

#playerQuestion {
  width: 100%;
  min-height: 80px;
  padding: 0.75rem;
  background: var(--purple-mid);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 4px;
  color: var(--text-primary);
  resize: vertical;
  margin-bottom: 1rem;
}

#addPlayer,
#startGame {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.game-panel-buttons #addPlayer,
.game-panel-buttons #startGame {
  width: auto;
  margin-top: 0;
}

.btn-primary-panel {
  background: var(--orange-cta) !important;
  border: none !important;
  color: #fff !important;
}

.btn-primary-panel:hover {
  background: var(--orange-cta-hover) !important;
  color: #fff !important;
}

.btn-secondary-panel {
  background: var(--lilac-light-btn) !important;
  border: none !important;
  color: #fff !important;
}

.btn-secondary-panel:hover {
  background: var(--lilac-light-btn-hover) !important;
  color: #fff !important;
}

.btn-add-player {
  background: var(--lilac-light-btn) !important;
  border: none !important;
  color: #fff !important;
}

.btn-add-player:hover {
  background: var(--lilac-light-btn-hover) !important;
  color: #fff !important;
}

.player-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.player-name-input {
  flex: 1;
  padding: 0.5rem;
  background: var(--lilac-light-btn);
  border: 1px solid var(--purple-muted);
  border-radius: 8px;
  color: var(--purple-deep);
}

.btn-remove {
  background: var(--lilac-light-btn);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s;
}

.btn-remove:hover {
  background: var(--lilac-light-btn-hover);
  color: #fff;
}

.game-controls .btn {
  width: 100%;
  margin-top: 1rem;
  border-radius: 2rem !important;
}

.player-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.player-view-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple-deep);
  background: rgba(var(--orange-rgb), 0.12);
  border: 1px solid rgba(var(--orange-rgb), 0.45);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.player-view-tab:hover {
  background: rgba(var(--orange-rgb), 0.22);
  border-color: var(--orange-cta);
}

.player-view-tab.is-active {
  background: var(--orange-cta);
  color: #fff;
  border-color: var(--orange-cta-hover);
  box-shadow: 0 2px 8px rgba(var(--orange-rgb), 0.4);
}

.game-turn-line {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.dice-container {
  margin: 1rem 0 1rem;
  perspective: 400px;
}

.dice {
  width: 140px;
  height: 140px;
  background: transparent;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
  margin: 0 auto 1.25rem;
  box-shadow: 0 2px 10px rgba(45, 27, 78, 0.12);
  position: relative;
  overflow: hidden;
}

.dice:hover:not(.dice-disabled) {
  transform: scale(1.05);
}

.dice.dice-disabled {
  cursor: wait;
  pointer-events: none;
}

.dice.rolling {
  animation: diceRoll 0.5s ease-out;
}

@keyframes diceRoll {
  0% { transform: rotateX(0) rotateY(0) rotateZ(0); }
  33% { transform: rotateX(180deg) rotateY(120deg) rotateZ(90deg); }
  66% { transform: rotateX(360deg) rotateY(240deg) rotateZ(180deg); }
  100% { transform: rotateX(540deg) rotateY(360deg) rotateZ(270deg); }
}

.dice-question {
  position: absolute;
  font-size: 3.5rem;
  font-weight: 700;
  color: #666666;
  opacity: 0.8;
  pointer-events: none;
}

.dice[data-value] {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(45, 27, 78, 0.12);
}

/* Грани кубика — PNG с белым полем */
.dice-face-sprite {
  display: none;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-radius: inherit;
}

.dice[data-value="1"] .dice-face-sprite { background-image: url('assets/dice-1.png'); }
.dice[data-value="2"] .dice-face-sprite { background-image: url('assets/dice-2.png'); }
.dice[data-value="3"] .dice-face-sprite { background-image: url('assets/dice-3.png'); }
.dice[data-value="4"] .dice-face-sprite { background-image: url('assets/dice-4.png'); }
/* грани 2 и 4: растянуть PNG на всю грань кубика */
.dice[data-value="2"] .dice-face-sprite,
.dice[data-value="4"] .dice-face-sprite {
  background-size: 100% 100%;
  background-position: center center;
}
.dice[data-value="5"] .dice-face-sprite { background-image: url('assets/dice-5.png'); }
.dice[data-value="6"] .dice-face-sprite { background-image: url('assets/dice-6.png'); }

.dice[data-value] .dice-question { display: none; }
.dice[data-value] .dice-face-sprite { display: block; }
.dice:not([data-value]) .dice-face-sprite { display: none; }

.game-status {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cell-interpretation {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(45,27,78,0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  min-height: 80px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.game-history {
  margin-top: 1rem;
  max-height: min(50vh, 420px);
  overflow-y: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  -webkit-overflow-scrolling: touch;
}

.game-history-row {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(45, 27, 78, 0.08);
}

.game-history-row:last-child {
  border-bottom: none;
}

.game-history-line {
  line-height: 1.45;
}

.game-history-details {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.game-history-summary {
  cursor: pointer;
  color: var(--purple-muted);
  font-weight: 500;
  list-style: none;
}

.game-history-summary::-webkit-details-marker {
  display: none;
}

.game-history-summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s ease;
}

.game-history-details[open] .game-history-summary::before {
  transform: rotate(90deg);
}

.cell-interpretation-head {
  margin-bottom: 0.5rem;
}

.cell-interpretation-head strong {
  font-size: 1.05rem;
  color: var(--purple-deep);
}

.cell-interpretation-body .cell-desc-short {
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.cell-desc-details {
  margin: 0.25rem 0 0 0;
  border-radius: 6px;
  background: rgba(45, 27, 78, 0.04);
}

.cell-desc-summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--purple-muted);
  padding: 0.35rem 0.5rem;
  list-style: none;
}

.cell-desc-summary::-webkit-details-marker {
  display: none;
}

.cell-desc-summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s ease;
}

.cell-desc-details[open] .cell-desc-summary::before {
  transform: rotate(90deg);
}

.cell-desc-long {
  padding: 0 0.5rem 0.65rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
  border-top: 1px solid rgba(45, 27, 78, 0.08);
}

.cell-move-note {
  margin: 0.65rem 0 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.cell-intention-context {
  margin: 0.65rem 0 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Game Board */
.game-board {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: clamp(1px, 0.4vw, 3px);
  background-image: url('assets/cosmic-bg.png');
  background-size: cover;
  background-position: center;
  padding: clamp(4px, 2vw, 12px);
  border-radius: 16px;
  border: 2px solid rgba(139,105,20,0.5);
  box-shadow: 0 4px 30px rgba(45,27,78,0.4);
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

.game-board-area .game-pieces {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.game-board-area .game-pieces .piece {
  width: 24px;
  height: 24px;
}


.game-board .cell {
  aspect-ratio: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  padding: clamp(2px, 1.2vw, 6px) clamp(3px, 1.5vw, 8px);
  position: relative;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  transition: box-shadow 0.3s, background 0.3s;
  overflow: hidden;
  box-sizing: border-box;
}

.game-board .cell:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(124,77,255,0.5);
}

.game-board .cell.arrow-cell,
.game-board .cell.snake-cell {
  background: transparent;
}

.cell.current {
  box-shadow: 0 0 15px var(--gold);
  border-color: var(--gold);
}

.cell-num {
  font-weight: 600;
  color: #fff;
  font-size: clamp(0.42rem, 2.5vw, 0.9rem);
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-pieces {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.piece {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  transition: all 0.5s ease;
  z-index: 10;
}

.piece-0 { background: var(--gold); }
.piece-1 { background: var(--accent-cyan); }
.piece-2 { background: var(--accent-violet); }
.piece-3 { background: #e91e63; }

.piece.piece--viewing {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 12px rgba(var(--orange-rgb), 0.55);
  z-index: 12;
}

/* Contact */
/* FAQ Section */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold-warm);
  margin-bottom: 0.5rem;
}

.faq-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.faq-cta {
  background: rgba(45, 27, 78, 0.6);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

.faq-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: rgba(20, 12, 35, 0.8);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gold-warm);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid rgba(201,162,39,0.2);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.contact {
  text-align: center;
}

.contact-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-placeholder a {
  color: var(--gold);
  text-decoration: none;
}

.contact-placeholder a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(45,27,78,0.2);
}

/* Rodorad page */
.rodorad-page {
  --rodorad-header-offset: calc(4.85rem + env(safe-area-inset-top, 0px));
  background: #f5f5f5;
  overflow-x: hidden;
  scroll-padding-top: var(--rodorad-header-offset);
}

.rodorad-page > main:not(.rodorad-videos-layout):not(.rodorad-cabinet-main):not(.rodorad-auth-main) {
  padding-top: 0;
}

.rodorad-main {
  padding: 0 2rem 0;
  max-width: none;
  margin: 0;
}

.rodorad-banner {
  padding: calc(3.75rem + env(safe-area-inset-top, 0px) + 1.85rem) 2rem 0.5rem;
}

.rodorad-banner-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(82vh, 920px);
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.rodorad-banner-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 28px;
  min-height: min(82vh, 920px);
  padding: clamp(3.25rem, 9vh, 5.5rem) clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
}

.rodorad-banner-media {
  position: relative;
  min-height: min(82vh, 920px);
  border-radius: 28px;
  overflow: hidden;
  background: #e8e0f4;
}

.rodorad-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.rodorad-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  height: 100%;
  min-height: 100%;
  padding: 0;
  max-width: none;
}

.rodorad-top-stars {
  color: var(--orange-cta);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.35rem;
}

.rodorad-top-stat-line {
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.rodorad-top-stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--orange-cta);
  line-height: 1;
}

.rodorad-top-stat-label {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.35;
  max-width: 14rem;
}

.rodorad-top-title {
  margin: auto 0 1.35rem;
  font-size: clamp(2.625rem, 6vw, 4.125rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-top-text {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: #111;
}

.rodorad-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin-top: 0;
  padding: 0.83rem 1.53rem;
  background: var(--lilac-light-btn);
  color: #fff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 13px;
  transition: background 0.2s;
}

.rodorad-top-btn:hover {
  background: var(--lilac-light-btn-hover);
  color: #fff;
}

.rodorad-intro {
  padding: 7rem 2rem clamp(7.5rem, 12vw, 10.5rem);
}

.rodorad-intro-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: clamp(7.5rem, 12vw, 10.5rem);
  width: 100%;
  align-items: stretch;
}

.rodorad-intro-left {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none;
}

.rodorad-intro-copy,
.rodorad-intro-altar-copy {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.rodorad-intro-altar-copy {
  width: fit-content;
}

.rodorad-intro-left .rodorad-intro-copy {
  gap: clamp(0.65rem, 1.2vw, 0.85rem);
  width: 100%;
  max-width: min(54rem, 100%);
  align-items: center;
  text-align: center;
}

.rodorad-intro-left .rodorad-intro-meta {
  justify-content: center;
  align-items: center;
}

.rodorad-intro-left .rodorad-intro-snowflake {
  margin-top: 0;
}

.rodorad-intro-altar-copy {
  gap: 3rem;
}

.rodorad-intro-altar-left {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 3vw, 3rem);
  align-self: stretch;
}

.rodorad-intro-altar-head {
  max-width: none;
  margin: 0;
}

.rodorad-intro-gallery {
  width: 100%;
}

.rodorad-intro-copy .rodorad-intro-gallery {
  margin-top: 0;
}

.rodorad-intro-grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  align-self: center;
}

.rodorad-intro-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  width: 100%;
}

.rodorad-map-section {
  padding: clamp(3.5rem, 7vw, 6rem) 2rem clamp(3rem, 6vw, 5rem);
}

.rodorad-intro-map-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rodorad-intro-map-left .rodorad-intro-altar-title {
  font-size: clamp(1.97rem, 4.5vw, 3.09rem);
}

.rodorad-intro-map-right {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rodorad-intro-map-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

.rodorad-intro-map-stat h4 {
  margin-bottom: 0.35rem;
  font-size: clamp(3.28rem, 7.5vw, 5.16rem);
}

.rodorad-intro-map-stat p {
  font-size: clamp(0.94rem, 3.94vw, 1.17rem);
  line-height: 1.35;
}

.rodorad-intro-map-stat .rodorad-intro-item-icon {
  width: clamp(3.125rem, 6.875vw, 3.75rem);
  height: clamp(3.125rem, 6.875vw, 3.75rem);
}

.rodorad-intro-altar-footer {
  margin: 0;
  max-width: none;
  color: #111;
}

.rodorad-intro-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
}

.rodorad-intro-snowflake {
  color: var(--orange-cta);
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}

.rodorad-intro-snowflake svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rodorad-intro-tagline,
.rodorad-intro-text,
.rodorad-intro-altar-lead,
.rodorad-intro-altar-footer,
.rodorad-intro-item p,
.rodorad-top-text {
  font-size: 1.035rem;
  line-height: 1.4;
}

.rodorad-intro-tagline {
  margin: 0;
  color: #111;
}

.rodorad-intro-title {
  margin: 0;
  font-size: clamp(2.625rem, 6vw, 4.125rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
  max-width: none;
}

.rodorad-intro-accent {
  color: #9b7fd4;
}

.rodorad-intro-text {
  margin: 0;
  color: #111;
  max-width: none;
  width: 100%;
}

.rodorad-intro-altar-title {
  margin: 0 0 1rem;
  font-size: clamp(2.625rem, 6vw, 4.125rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-intro-altar-lead {
  margin: 0;
  color: #111;
}

.rodorad-intro-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rodorad-intro-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 5.5vw, 3rem);
  height: clamp(2.5rem, 5.5vw, 3rem);
  margin-bottom: 0.85rem;
  color: var(--orange-cta);
  flex-shrink: 0;
}

.rodorad-intro-item-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rodorad-intro-item h4 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.625rem, 6vw, 4.125rem);
  font-weight: 400;
  line-height: 1.15;
  color: #111;
}

.rodorad-intro-item p {
  margin: 0;
  color: #111;
}

.rodorad-rules {
  padding: 0 2rem clamp(4rem, 8vw, 6.5rem);
}

.rodorad-rules-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rodorad-rules-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rodorad-rules-snowflake {
  color: var(--orange-cta);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.rodorad-rules-snowflake svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rodorad-rules-title {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
  max-width: min(54rem, 100%);
}

.rodorad-rules-title-hint {
  margin: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  color: #9b7fd4;
  letter-spacing: 0;
}

.rodorad-rules-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.rodorad-rules-card {
  position: relative;
  min-width: 0;
}

.rodorad-rules-card-face {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: clamp(12rem, 18vw, 15rem);
  padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1rem, 1.8vw, 1.35rem);
  background: #fff;
  border: none;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.rodorad-rules-card-face:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.rodorad-rules-card--prayer .rodorad-rules-card-face {
  background: #8b6fc8;
  box-shadow: 0 4px 24px rgba(107, 82, 168, 0.28);
}

.rodorad-rules-card--prayer .rodorad-rules-card-face:hover {
  background: #7d62bc;
  box-shadow: 0 12px 40px rgba(107, 82, 168, 0.34);
}

.rodorad-rules-card--prayer .rodorad-rules-card-label--main {
  color: var(--orange-cta);
}

.rodorad-rules-card--prayer .rodorad-rules-card-title {
  color: #fff;
}

.rodorad-rules-card--prayer .rodorad-rules-card-teaser {
  color: #fff;
}

.rodorad-rules-card--prayer .rodorad-rules-card-hint {
  color: rgba(255, 255, 255, 0.75);
}

.rodorad-rules-card--prayer .rodorad-rules-card-hint::before {
  color: rgba(255, 255, 255, 0.75);
}

.rodorad-rules-card-label--main {
  color: #7a5fbf;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rodorad-rules-full-badge {
  margin: 0 0 0.5rem;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 500;
  line-height: 1.3;
  color: #9b7fd4;
  letter-spacing: 0.02em;
}

.rodorad-rules-card-label {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #666;
}

.rodorad-rules-card-dot {
  color: var(--orange-cta);
  margin-right: 0.25rem;
}

.rodorad-rules-card-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: #111;
  pointer-events: none;
}

.rodorad-rules-card-teaser {
  margin: 0;
  flex: 1;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  line-height: 1.45;
  color: #444;
}

.rodorad-rules-card-hint {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #9b7fd4;
}

.rodorad-rules-card-hint::before {
  content: 'Нажмите для чтения';
}

.rodorad-rules-card-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    calc(var(--rodorad-header-offset, 4.85rem) + 1rem)
    clamp(1rem, 3vw, 2.5rem)
    clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.rodorad-rules-card-fullscreen-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(6px);
}

.rodorad-rules-card-fullscreen-shell {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  max-height: none;
  margin: 0 auto;
}

.rodorad-rules-card-fullscreen-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  color: #111;
}

.rodorad-rules-card-close {
  position: absolute;
  top: 1.5rem;
  right: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #111;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 3;
}

.rodorad-rules-card-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.rodorad-rules-full-title {
  margin: 0 0 0.5rem;
  padding-right: 2.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-rules-full-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  color: #9b7fd4;
}

.rodorad-rules-full-subtitle {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  color: #111;
}

.rodorad-rules-full-subtitle:first-of-type {
  margin-top: 0;
}

.rodorad-rules-card-fullscreen-inner p {
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.5;
  color: #222;
}

.rodorad-rules-full-list {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.5;
  color: #222;
}

.rodorad-rules-full-list li + li {
  margin-top: 0.55rem;
}

.rodorad-rules-full-note {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #555 !important;
  font-style: italic;
}

.rodorad-rules-prayer-intro {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: #555;
  font-style: italic;
}

.rodorad-rules-prayer p {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.55;
}

.rodorad-rules-prayer p:last-child {
  margin-bottom: 0;
}

.rodorad-rules-card.is-open .rodorad-rules-card-fullscreen,
.rodorad-rules-card-fullscreen.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rodorad-rules-card.is-open .rodorad-rules-card-close,
.rodorad-rules-card-fullscreen.is-open .rodorad-rules-card-close {
  display: flex;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .rodorad-rules-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }

  .rodorad-rules-card {
    flex: 0 0 min(16.5rem, 32vw);
    scroll-snap-align: start;
  }
}

.rodorad-videos-section {
  margin-bottom: 5rem;
  padding: 4rem 0 0;
  max-width: none;
}

.rodorad-videos-section.section {
  padding-left: 0;
  padding-right: 0;
}

.rodorad-videos-section .section-title-wrap {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1.5rem;
}

.rodorad-videos-intro {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
  width: 100%;
}

.rodorad-videos-snowflake {
  color: var(--orange-cta);
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  margin-top: 0.15rem;
}

.rodorad-videos-snowflake svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rodorad-videos-section .section-title {
  text-align: left;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.15;
  width: 100%;
  color: #111;
  margin: 0;
}

.rodorad-videos-subtitle {
  max-width: none;
  text-align: left;
  color: #111;
  font-size: 1.38rem;
  line-height: 1.4;
  margin: 0;
}

.rodorad-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.rodorad-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.rodorad-header-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.rodorad-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(0.75rem, 2vw, 2rem);
  margin: 0;
}

.rodorad-header-link {
  color: #111;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.rodorad-header-link:hover {
  color: var(--orange-cta);
}

.rodorad-header-link--mobile-only {
  display: none;
}

.rodorad-header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  background: var(--orange-cta);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background 0.2s;
}

.rodorad-header-cta:hover {
  background: var(--orange-cta-hover);
  color: #fff;
}

.rodorad-header--videos {
  justify-content: space-between;
  min-height: var(--rodorad-header-offset, 4.85rem);
  padding: max(1rem, env(safe-area-inset-top, 0px)) 2rem 1rem;
}

.rodorad-header-user-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.rodorad-header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: #f5f5f7;
  color: #111;
  transition: background 0.2s ease, color 0.2s ease;
}

.rodorad-header-icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.rodorad-header-icon-btn--user {
  color: var(--purple-muted);
}

.rodorad-header-icon-btn--logout {
  cursor: pointer;
  font: inherit;
}

a.rodorad-header-icon-btn {
  text-decoration: none;
}

.rodorad-header-icon-btn--logout:hover {
  background: #efe8ff;
  color: var(--purple-muted);
}

.rodorad-header-burger {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 2px solid #111;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.rodorad-header-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rodorad-header--nav-open .rodorad-header-burger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.rodorad-header--nav-open .rodorad-header-burger-bar:nth-child(2) {
  opacity: 0;
}

.rodorad-header--nav-open .rodorad-header-burger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.rodorad-part-feature {
  width: 100%;
  margin-bottom: 1.5rem;
}

.rodorad-videos-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
  width: 100%;
}

.rodorad-video-part {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 5.5rem;
}

.rodorad-video-part + .rodorad-video-part {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.rodorad-video-part-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: left;
}

.rodorad-video-part-header .rodorad-part-feature-label {
  margin: 0;
}

.rodorad-video-part-title {
  margin: 0;
}

.rodorad-video-part-media {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #e8e0f4;
  box-shadow: 0 4px 24px rgba(45, 27, 78, 0.08);
}

.rodorad-video-part-media .rodorad-video-wrap {
  aspect-ratio: 16 / 9;
}

.rodorad-video-part-copy {
  width: 100%;
  margin-top: 1.25rem;
  background: #fff;
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-sizing: border-box;
  text-align: left;
}

.rodorad-video-part-copy .rodorad-part-feature-subtitle,
.rodorad-video-part-copy .rodorad-part-feature-list,
.rodorad-video-part-copy .rodorad-part-feature-intro {
  font-size: 1.035rem;
  line-height: 1.4;
}

.rodorad-video-part-head {
  margin-bottom: 1.35rem;
}

.rodorad-video-part-head .rodorad-part-feature-title {
  margin-bottom: 0;
}

.rodorad-video-part-head .rodorad-part-feature-intro {
  margin-top: 1rem;
  margin-bottom: 0;
}

.rodorad-video-part-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.rodorad-video-part-col .rodorad-part-feature-list {
  margin-bottom: 0;
  max-width: none;
}

.rodorad-video-part-col .rodorad-part-feature-list:not(:first-child) {
  margin-top: 2.35rem;
}

.rodorad-video-part-col .rodorad-part-feature-subtitle + .rodorad-part-feature-list {
  margin-top: 0;
}

.rodorad-video-part-columns > .rodorad-video-part-col:last-child > .rodorad-part-feature-list:first-child:last-child {
  margin-top: 2.35rem;
}

.rodorad-part-feature-frame {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  width: 100%;
}

.rodorad-part-feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.rodorad-part-feature-label {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rodorad-part-feature-dot {
  color: var(--orange-cta);
  margin-right: 0.35rem;
}

.rodorad-part-feature-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-part-feature-subtitle {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: #111;
}

.rodorad-part-feature-intro {
  margin: 0 0 1.35rem;
  color: #111;
}

.rodorad-part-feature-list li strong {
  font-weight: 600;
  color: #111;
}

.rodorad-part-feature-list {
  margin: 0 0 1.35rem;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  color: #111;
}

.rodorad-part-feature-list:last-of-type {
  margin-bottom: 0;
}

.rodorad-part-feature-list li + li {
  margin-top: 0.55rem;
}

.rodorad-part-feature-media {
  position: relative;
  width: 100%;
  min-width: 0;
  height: min(58vh, 640px);
  align-self: start;
  border-radius: 28px;
  overflow: hidden;
  background: #e8e0f4;
}

.rodorad-part-feature-media .rodorad-video-wrap {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  background: #1a0a2e;
}

.rodorad-part-feature-media .rodorad-video-wrap video {
  object-fit: cover;
}

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

.rodorad-video-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(45, 27, 78, 0.1);
}

.rodorad-video-wrap {
  position: relative;
  background: #1a0a2e;
  aspect-ratio: 16 / 9;
}

.rodorad-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0612;
}

.rodorad-video-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  padding: 0.85rem 1.1rem 1rem;
  margin: 0;
}

.rodorad-gallery-section {
  padding: clamp(4rem, 8vw, 6rem) 2rem clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.rodorad-gallery-section--inline {
  padding: 0;
}

.rodorad-gallery-section--inline .rodorad-gallery-lead {
  max-width: 760px;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
}

.rodorad-gallery-head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.rodorad-gallery-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: #111;
}

.rodorad-gallery-lead {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.rodorad-circle-gallery {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(2.5rem, 6vw, 4rem);
}

.rodorad-circle-gallery__stage {
  position: relative;
  height: clamp(340px, 44vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rodorad-circle-gallery__item {
  position: absolute;
  width: clamp(170px, 28vw, 250px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  background: #e8e0f4;
}

.rodorad-circle-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rodorad-circle-gallery__item--left {
  transform: translateX(calc(-100% - 1.25rem)) rotate(-14deg) scale(0.94);
  z-index: 1;
  opacity: 0.88;
}

.rodorad-circle-gallery__item--center {
  transform: translateX(0) rotate(0deg) scale(1);
  z-index: 3;
  width: clamp(200px, 34vw, 300px);
}

.rodorad-circle-gallery__item--center:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.rodorad-circle-gallery__item--right {
  transform: translateX(calc(100% + 1.25rem)) rotate(14deg) scale(0.94);
  z-index: 1;
  opacity: 0.88;
}

.rodorad-circle-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.rodorad-circle-gallery__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.rodorad-circle-gallery__nav--prev {
  left: 0;
}

.rodorad-circle-gallery__nav--next {
  right: 0;
}

.rodorad-circle-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.rodorad-circle-gallery__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.rodorad-circle-gallery__dot.is-active {
  background: var(--orange-cta);
  transform: scale(1.15);
}

.rodorad-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(var(--rodorad-header-offset, 4.85rem) + 1rem)
    2rem
    2rem;
  background: rgba(0, 0, 0, 0.88);
  box-sizing: border-box;
}

.rodorad-gallery-lightbox[hidden] {
  display: none;
}

.rodorad-gallery-lightbox__img {
  max-width: min(95vw, 720px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.rodorad-gallery-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.rodorad-benefits {
  padding: clamp(3rem, 6vw, 5rem) 2rem clamp(3.5rem, 7vw, 6rem);
  width: 100%;
  max-width: none;
  text-align: center;
}

.rodorad-benefits-lead {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  max-width: min(54rem, 100%);
  font-size: clamp(2.625rem, 6vw, 4.125rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
}

.rodorad-benefits-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 0 0 clamp(1rem, 2vw, 1.35rem);
  background: #fff;
  border-radius: 28px;
  box-shadow: none;
  overflow: hidden;
}

.rodorad-benefits-media {
  position: relative;
  flex: 0 0 auto;
  width: 82%;
  aspect-ratio: 1 / 1;
  margin: 0 auto clamp(0.75rem, 1.5vw, 1rem);
  overflow: hidden;
  border-radius: 50%;
  background: #f3ebe3;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.rodorad-benefits-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.rodorad-benefits-item:nth-child(1) .rodorad-benefits-media img {
  object-position: center 68%;
}

.rodorad-benefits-item:nth-child(2) .rodorad-benefits-media img {
  object-position: center 58%;
}

.rodorad-benefits-item:nth-child(3) .rodorad-benefits-media img {
  object-position: center 72%;
}

.rodorad-benefits-item:nth-child(4) .rodorad-benefits-media img {
  object-position: center 70%;
}

.rodorad-benefits-title {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(4.75rem, 9vw, 6.25rem);
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.75rem, 1.4vw, 1rem);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
  color: #111;
}

.rodorad-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.83rem 1.53rem;
  background: var(--orange-cta);
  color: #fff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 13px;
  transition: background 0.2s;
  border: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.rodorad-consult-btn:hover {
  background: var(--orange-cta-hover);
  color: #fff;
}

.rodorad-cta-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.rodorad-cta-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.83rem 1.53rem;
  background: var(--lilac-light-btn);
  color: #fff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 13px;
  transition: background 0.2s;
  box-sizing: border-box;
  white-space: nowrap;
}

.rodorad-cta-btn--secondary:hover {
  background: var(--lilac-light-btn-hover);
  color: #fff;
}

.rodorad-access {
  padding: clamp(2rem, 4vw, 3rem) 2rem clamp(2.5rem, 5vw, 4rem);
}

.rodorad-access-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  min-height: min(82vh, 920px);
}

.rodorad-access-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 28px;
  min-height: min(82vh, 920px);
  padding: clamp(3.25rem, 9vh, 5.5rem) clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  box-sizing: border-box;
}

.rodorad-access-panel .rodorad-top-stat-line {
  margin-bottom: 0;
}

.rodorad-access-content {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.rodorad-access-media {
  position: relative;
  min-height: min(82vh, 920px);
  border-radius: 28px;
  overflow: hidden;
  background: #f3ebe3;
}

.rodorad-access-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.rodorad-access-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.rodorad-access-text {
  margin: 0 0 1.75rem;
  color: #111;
  line-height: 1.5;
  max-width: 34rem;
  font-size: 1.035rem;
}

.rodorad-access-panel .rodorad-videos-subtitle {
  margin: 0 0 1.25rem;
}

.rodorad-access-panel .rodorad-cta-group {
  margin-top: 0;
}

.rodorad-videos-page .rodorad-videos-main .rodorad-rules {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.rodorad-videos-page .rodorad-rules-grid {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rodorad-videos-page {
  background: #f5f5f7;
}

.rodorad-videos-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
  padding: var(--rodorad-header-offset) 1.5rem 3rem;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

.rodorad-videos-sidebar {
  position: sticky;
  top: calc(var(--rodorad-header-offset) + 0.75rem);
}

.rodorad-videos-sidebar-inner {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.rodorad-videos-sidebar-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-cta);
}

.rodorad-videos-search-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

.rodorad-videos-search {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font: inherit;
  margin-bottom: 1rem;
}

.rodorad-videos-search:focus {
  outline: 2px solid rgba(139, 111, 200, 0.35);
  border-color: var(--purple-muted);
}

.rodorad-videos-search-empty {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.85rem;
  color: #888;
}

.rodorad-videos-toc {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: calc(100vh - 16rem);
  overflow: auto;
}

.rodorad-videos-toc-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
  transition: background 0.15s;
}

.rodorad-videos-toc-link:hover,
.rodorad-videos-toc-link.is-active {
  background: #f3effb;
}

.rodorad-videos-toc-link.is-search-hidden,
.rodorad-video-part.is-search-hidden {
  display: none;
}

.rodorad-videos-toc-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-cta);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rodorad-videos-toc-title {
  font-size: 0.9rem;
  line-height: 1.35;
}

.rodorad-videos-toc-toggle {
  display: none;
}

.rodorad-videos-toc-toggle-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  flex-shrink: 0;
}

.rodorad-videos-layout--toc-open .rodorad-videos-toc-toggle-burger .rodorad-header-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rodorad-videos-layout--toc-open .rodorad-videos-toc-toggle-burger .rodorad-header-burger-bar:nth-child(2) {
  opacity: 0;
}

.rodorad-videos-layout--toc-open .rodorad-videos-toc-toggle-burger .rodorad-header-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rodorad-videos-toc-toggle .rodorad-header-burger-bar {
  width: 22px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rodorad-videos-toc-toggle-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodorad-videos-main {
  min-width: 0;
}

.rodorad-videos-main-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rodorad-videos-page-title {
  margin: 0;
}

.rodorad-videos-page .rodorad-videos-stack {
  gap: clamp(2rem, 4vw, 3rem);
}

.rodorad-auth-page .rodorad-header-nav--static {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.rodorad-header-link--button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.rodorad-header-auth-user {
  color: var(--purple-muted);
  font-size: 0.85rem;
}

.rodorad-page main.rodorad-auth-main {
  min-height: calc(100vh - var(--rodorad-header-offset));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    var(--rodorad-header-offset)
    2rem
    3rem;
  box-sizing: border-box;
}

.rodorad-auth-card {
  width: min(100%, 560px);
  background: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.rodorad-auth-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange-cta);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodorad-auth-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: #111;
}

.rodorad-auth-lead {
  margin: 0 0 1.75rem;
  color: #444;
  line-height: 1.55;
}

.rodorad-auth-hint {
  margin: -1rem 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #fff8e8;
  color: #6a4b00;
  font-size: 0.88rem;
  line-height: 1.45;
}

.rodorad-auth-hint--error {
  background: #fff0f0;
  color: #8a1f1f;
}

.rodorad-auth-form {
  display: grid;
  gap: 0.85rem;
}

.rodorad-auth-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
}

.rodorad-auth-required {
  color: var(--orange-cta);
}

.rodorad-auth-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.rodorad-auth-input:focus {
  outline: 2px solid rgba(139, 111, 200, 0.35);
  border-color: var(--purple-muted);
}

.rodorad-auth-submit {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
}

.rodorad-auth-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  line-height: 1.45;
}

.rodorad-auth-message--success {
  background: #edf8ef;
  color: #1f5f2d;
}

.rodorad-auth-message--error {
  background: #fdeeee;
  color: #8a1f1f;
}

.rodorad-auth-message--info {
  background: #f3effb;
  color: #4a3d66;
}

.rodorad-auth-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rodorad-auth-panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.rodorad-auth-panel-text {
  margin: 0 0 1rem;
  white-space: pre-wrap;
  line-height: 1.55;
}

.rodorad-auth-note,
.rodorad-auth-foot {
  margin: 1rem 0 0;
  color: #666;
  line-height: 1.5;
}

.rodorad-auth-link {
  color: var(--purple-muted);
  text-decoration: none;
  font-weight: 500;
}

.rodorad-auth-link:hover {
  text-decoration: underline;
}

.rodorad-videos-section {
  position: relative;
}

.rodorad-videos-section--locked .rodorad-videos-stack,
.rodorad-videos-section--locked .rodorad-videos-head {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.rodorad-videos-gate {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.rodorad-videos-gate[hidden] {
  display: none;
}

.rodorad-videos-gate-card {
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.rodorad-videos-gate-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.rodorad-videos-gate-text {
  margin: 0 0 1.5rem;
  color: #444;
  line-height: 1.55;
}

.rodorad-videos-gate-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.rodorad-videos-gate-link {
  color: var(--purple-muted);
  text-decoration: none;
  font-weight: 500;
}

.rodorad-admin-main {
  align-items: flex-start;
}

.rodorad-admin-card {
  width: min(100%, 420px);
}

.rodorad-admin-dashboard {
  width: min(100%, 1200px);
}

.rodorad-header--admin {
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--rodorad-admin-header-offset, 4.85rem);
  padding: max(1rem, env(safe-area-inset-top, 0px)) 2rem 1rem;
}

.rodorad-header--admin .rodorad-header-user-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.rodorad-header-nav--admin {
  display: none !important;
}

.rodorad-header-icon-btn--admin {
  color: #111;
}

.rodorad-header-icon-btn--admin:hover {
  background: #efe8ff;
  color: var(--purple-muted);
}

.rodorad-header-icon-btn--admin.rodorad-header-icon-btn--active {
  background: rgba(231, 113, 61, 0.12);
  color: var(--orange-cta);
}

.rodorad-page.rodorad-admin-page {
  --rodorad-admin-header-offset: calc(4.85rem + env(safe-area-inset-top, 0px));
}

.rodorad-admin-page main.rodorad-auth-main {
  align-items: flex-start;
  padding:
    calc(var(--rodorad-admin-header-offset, 4.85rem) + 1.75rem)
    2rem
    3rem;
  box-sizing: border-box;
}

.rodorad-admin-nav {
  display: none;
}

.rodorad-admin-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: background 0.2s, color 0.2s;
}

.rodorad-admin-nav-link:hover {
  color: var(--orange-cta);
}

.rodorad-admin-nav-link.is-active {
  background: var(--orange-cta);
  color: #fff;
}

.rodorad-admin-password-form {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 0.75rem;
}

.rodorad-admin-form-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.rodorad-admin-dialog {
  border: none;
  padding: 0;
  background: transparent;
  position: fixed;
  inset: 0;
  width: min(92vw, 480px);
  max-width: min(92vw, 480px);
  height: fit-content;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  overflow: visible;
}

.rodorad-admin-dialog--record {
  width: min(94vw, 560px);
  max-width: min(94vw, 560px);
}

.rodorad-admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.rodorad-admin-dialog-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: none;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 0.75rem;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}

.rodorad-admin-dialog-subtitle {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.rodorad-admin-dialog-views {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rodorad-admin-views-log {
  display: grid;
  gap: 0.55rem;
  max-height: min(40vh, 320px);
  overflow-y: auto;
}

.rodorad-admin-views-log-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #f8f8fa;
}

.rodorad-admin-views-log-date {
  font-size: 0.78rem;
  color: #666;
}

.rodorad-admin-views-log-video {
  font-size: 0.82rem;
  word-break: break-word;
}

.rodorad-admin-views-log-empty {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  background: #f8f8fa;
  border-radius: 12px;
}

.rodorad-admin-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

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

.rodorad-admin-section {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

.rodorad-admin-section-title {
  margin: 0;
  font-size: 1.2rem;
}

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

.rodorad-admin-table-wrap--pinned {
  max-height: min(52vh, 520px);
  overflow: auto;
}

.rodorad-admin-table-wrap--scroll {
  max-height: min(42vh, 420px);
  overflow: auto;
}

.rodorad-admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rodorad-admin-pagination-info {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.rodorad-admin-pagination .rodorad-admin-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .rodorad-admin-page main.rodorad-auth-main {
    padding:
      calc(var(--rodorad-admin-header-offset, 4.85rem) + 1.25rem)
      1.25rem
      2.5rem;
  }

  .rodorad-admin-head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.5rem;
  }

  .rodorad-admin-head .rodorad-admin-btn {
    width: 100%;
  }

  .rodorad-auth-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .rodorad-admin-section {
    padding: 1rem;
    border-radius: 18px;
  }

  .rodorad-admin-table-wrap--pinned,
  .rodorad-admin-table-wrap--scroll {
    max-height: none;
    overflow: visible;
  }

  .rodorad-admin-table thead {
    display: none;
  }

  .rodorad-admin-table,
  .rodorad-admin-table tbody,
  .rodorad-admin-table tr,
  .rodorad-admin-table td {
    display: block;
    width: 100%;
  }

  #ordersTable .rodorad-admin-table-row--admin,
  #ordersTable .rodorad-admin-data-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "email status"
      "open open";
    gap: 0.35rem 0.75rem;
    align-items: start;
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  #ordersTable .rodorad-admin-table-row--admin {
    position: static;
    background: #f7f3ff;
    box-shadow: inset 0 3px 0 var(--purple-muted), inset 0 0 0 1px rgba(111, 68, 189, 0.22);
  }

  #ordersTable .rodorad-admin-table-row--admin td,
  #ordersTable .rodorad-admin-data-row td {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
  }

  #ordersTable .rodorad-admin-cell--detail {
    display: none !important;
  }

  #ordersTable .rodorad-admin-cell--main-email {
    grid-area: email;
    min-width: 0;
    word-break: break-word;
  }

  #ordersTable .rodorad-admin-cell--main-status {
    grid-area: status;
    justify-self: end;
  }

  #ordersTable .rodorad-admin-cell--mobile-open {
    display: block !important;
    grid-area: open;
    border: none;
    padding: 0.65rem 0 0;
  }

  #ordersTable .rodorad-admin-cell--main,
  #ordersTable .rodorad-admin-cell--mobile-open {
    border-bottom: none;
    text-align: left;
  }

  #ordersTable .rodorad-admin-cell--main::before,
  #ordersTable .rodorad-admin-cell--mobile-open::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #777;
    text-align: left;
  }

  #ordersTable .rodorad-admin-cell--mobile-open::before {
    display: none;
  }

  #ordersTable .rodorad-admin-cell--main-status::before {
    text-align: right;
  }

  #ordersTable .rodorad-admin-cell--mobile-open .rodorad-admin-btn {
    width: 100%;
  }

  #summaryTable tr,
  #viewsTable tr {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  #summaryTable td,
  #viewsTable td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: right;
  }

  #summaryTable td::before,
  #viewsTable td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    text-align: left;
    flex: 0 0 42%;
  }

  #summaryTable td:last-child,
  #viewsTable td:last-child {
    border-bottom: none;
  }

  .rodorad-admin-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .rodorad-admin-pagination .rodorad-admin-btn {
    width: 100%;
  }

  .rodorad-admin-dialog-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rodorad-admin-dialog-actions .rodorad-admin-btn {
    width: 100%;
  }

  .rodorad-admin-dialog,
  .rodorad-admin-dialog--record {
    width: calc(100vw - 1.25rem);
    max-width: calc(100vw - 1.25rem);
  }

  .rodorad-admin-dialog-card {
    border-radius: 20px;
    padding: 1.25rem 1rem 1rem;
  }

  .rodorad-admin-views-log {
    max-height: min(36vh, 280px);
  }

  #recordDetailViewsPagination .rodorad-admin-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  #recordDetailViewsPagination .rodorad-admin-btn {
    width: 100%;
  }

  #ordersTable td[colspan] {
    display: block;
    text-align: center;
  }

  #ordersTable td[colspan]::before {
    display: none;
  }
}

@media (min-width: 769px) {
  .rodorad-admin-th--mobile-only,
  .rodorad-admin-cell--mobile-open {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .rodorad-admin-page main.rodorad-auth-main {
    padding:
      calc(var(--rodorad-admin-header-offset, 4.85rem) + 1rem)
      0.85rem
      2rem;
  }

  .rodorad-admin-btn--small {
    width: 100%;
  }

  .rodorad-admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.rodorad-admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #fff;
}

.rodorad-admin-table-row--admin {
  position: sticky;
  top: 2.35rem;
  z-index: 3;
  background: #f7f3ff;
}

.rodorad-admin-table-row--admin td {
  border-top: 3px solid var(--purple-muted);
  border-bottom: 1px solid rgba(111, 68, 189, 0.22);
  box-shadow: 0 6px 16px rgba(111, 68, 189, 0.08);
}

.rodorad-admin-status--admin {
  background: #efe8ff;
  color: var(--purple-muted);
}

.rodorad-admin-btn--purple {
  background: var(--purple-muted);
}

.rodorad-admin-btn--purple:hover {
  background: #5c36a3;
}

.rodorad-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rodorad-admin-table th,
.rodorad-admin-table td {
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  vertical-align: top;
}

.rodorad-admin-table th {
  font-weight: 600;
  color: #333;
}

.rodorad-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rodorad-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: var(--orange-cta);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.rodorad-admin-btn:hover {
  background: var(--orange-cta-hover);
}

.rodorad-admin-btn--ghost {
  background: #eee;
  color: #222;
}

.rodorad-admin-btn--ghost:hover {
  background: #e0e0e0;
}

.rodorad-admin-btn--small {
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
}

.rodorad-admin-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.rodorad-admin-status--pending {
  background: #fff4e8;
  color: #9a4b00;
}

.rodorad-admin-status--paid {
  background: #edf8ef;
  color: #1f5f2d;
}

.rodorad-admin-status--cancelled {
  background: #f2f2f2;
  color: #666;
}

.rodorad-page main.rodorad-cabinet-main {
  min-height: calc(100vh - var(--rodorad-header-offset));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding:
    var(--rodorad-header-offset)
    2rem
    3rem;
  box-sizing: border-box;
}

.rodorad-cabinet-card {
  width: min(100%, 560px);
  background: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.rodorad-cabinet-fields {
  margin: 0 0 2rem;
  display: grid;
  gap: 1.15rem;
}

.rodorad-cabinet-field {
  display: grid;
  gap: 0.35rem;
}

.rodorad-cabinet-field dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.rodorad-cabinet-field dd {
  margin: 0;
  font-size: 1.05rem;
  color: #111;
}

.rodorad-cabinet-field dd code,
.rodorad-cabinet-password {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
  background: #f5f5f7;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  color: #111;
  letter-spacing: 0.02em;
}

.rodorad-cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rodorad-cabinet-role-badge {
  display: inline-flex;
  margin: 0.75rem 0 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #efe8ff;
  color: var(--purple-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer a {
  color: var(--purple-muted);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .rodorad-header {
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
  }

  .rodorad-header--admin {
    flex-wrap: nowrap;
  }

  .rodorad-header-burger {
    display: flex;
  }

  .rodorad-header-cta {
    display: none;
  }

  .rodorad-header-nav:not(.rodorad-header-nav--admin) {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.25rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .rodorad-header--nav-open .rodorad-header-nav {
    display: flex;
  }

  .rodorad-header-link {
    text-align: center;
    padding: 0.5rem 0;
    white-space: normal;
  }

  .rodorad-header-link--mobile-only {
    display: block;
  }

  .rodorad-main {
    padding: 0 1rem;
  }

  .rodorad-banner {
    padding: 4.5rem 1rem 0.35rem;
  }

  .rodorad-banner-frame {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    min-height: auto;
  }

  .rodorad-banner-panel {
    min-height: auto;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 22px;
  }

  .rodorad-banner-media {
    min-height: min(50vh, 420px);
    border-radius: 22px;
  }

  .rodorad-banner-content {
    min-height: auto;
  }

  .rodorad-top-title {
    margin: 0 0 1.15rem;
    font-size: clamp(1.875rem, 8.25vw, 3rem);
  }

  .rodorad-top-text {
    max-width: none;
  }

  .rodorad-cta-group {
    width: 100%;
    gap: 0.65rem;
  }

  .rodorad-cta-group .rodorad-consult-btn,
  .rodorad-cta-group .rodorad-cta-btn--secondary {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .rodorad-intro {
    padding: 3.5rem 1rem 4.5rem;
  }

  .rodorad-intro-frame {
    grid-template-columns: 1fr;
    row-gap: 8rem;
  }

  .rodorad-intro-left {
    justify-content: center;
  }

  .rodorad-intro-left .rodorad-intro-copy {
    gap: 0.75rem;
    max-width: 100%;
  }

  .rodorad-intro-title,
  .rodorad-intro-altar-title,
  .rodorad-benefits-lead {
    font-size: clamp(1.6875rem, 6.75vw, 2.8125rem);
  }

  .rodorad-videos-section .section-title {
    font-size: clamp(2.25rem, 9vw, 3.75rem);
  }

  .rodorad-intro-tagline,
  .rodorad-intro-text,
  .rodorad-intro-altar-lead,
  .rodorad-intro-altar-footer,
  .rodorad-intro-item p,
  .rodorad-top-text {
    font-size: clamp(0.75rem, 3.15vw, 0.9375rem);
  }

  .rodorad-videos-subtitle {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
  }

  .rodorad-video-part-copy .rodorad-part-feature-subtitle,
  .rodorad-video-part-copy .rodorad-part-feature-list,
  .rodorad-video-part-copy .rodorad-part-feature-intro {
    font-size: clamp(0.75rem, 3.15vw, 0.9375rem);
  }

  .rodorad-intro-altar-copy {
    width: 100%;
    max-width: 100%;
    gap: 2rem;
  }

  .rodorad-intro-altar-left,
  .rodorad-intro-grid {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    align-self: auto;
  }

  .rodorad-intro-map {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rodorad-map-section {
    padding: clamp(3rem, 6vw, 5rem) 1rem 3rem;
  }

  .rodorad-intro-map-left .rodorad-intro-altar-title {
    font-size: clamp(1.27rem, 5.06vw, 2.11rem);
  }

  .rodorad-intro-map-stat h4 {
    font-size: clamp(3.28rem, 8.44vw, 5.03rem);
  }

  .rodorad-intro-map-stat p {
    font-size: clamp(0.94rem, 3.94vw, 1.17rem);
  }

  .rodorad-intro-map-stats {
    gap: 1.5rem 1.25rem;
  }

  .rodorad-intro-altar-left {
    gap: 3.5rem;
  }

  .rodorad-intro-grid {
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }

  .rodorad-rules {
    padding: 0 1rem 3.5rem;
  }

  .rodorad-rules-title {
    font-size: clamp(1.6875rem, 6.75vw, 2.5rem);
  }

  .rodorad-rules-title-hint {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .rodorad-rules-grid {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }

  .rodorad-rules-card {
    flex: 0 0 min(78vw, 17rem);
    scroll-snap-align: start;
  }

  .rodorad-rules-card-face {
    min-height: 11.5rem;
    cursor: pointer;
  }

  .rodorad-rules-card-hint::before {
    content: 'Нажмите для чтения';
  }

  .rodorad-rules-card-close {
    display: flex;
  }

  .rodorad-intro-item h4 {
    font-size: clamp(1.2375rem, 5.25vw, 1.875rem);
    margin-bottom: 0.45rem;
  }

  .rodorad-videos-section {
    margin-bottom: 3.5rem;
    padding: 2.5rem 0 0;
  }

  .rodorad-videos-intro {
    gap: 0.65rem;
    margin-bottom: 0.65rem;
  }

  .rodorad-videos-snowflake {
    width: 2.25rem;
    height: 2.25rem;
  }

  .rodorad-videos-stack {
    gap: 2.25rem;
  }

  .rodorad-video-part-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rodorad-video-part-col .rodorad-part-feature-list:not(:first-child),
  .rodorad-video-part-columns > .rodorad-video-part-col:last-child > .rodorad-part-feature-list:first-child:last-child {
    margin-top: 0;
  }

  .rodorad-video-part-media,
  .rodorad-video-part-copy {
    border-radius: 22px;
  }

  .rodorad-video-part-copy {
    padding: 1.75rem 1.25rem 2rem;
  }

  .rodorad-part-feature {
    margin-bottom: 1.25rem;
  }

  .rodorad-part-feature-frame {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .rodorad-part-feature-panel {
    border-radius: 22px;
    padding: 1.75rem 1.25rem 2rem;
  }

  .rodorad-part-feature-title {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .rodorad-part-feature-media {
    height: min(50vh, 420px);
    border-radius: 22px;
  }

  .rodorad-video-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rodorad-access {
    padding: 2.5rem 1rem 2rem;
  }

  .rodorad-access-frame {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    min-height: auto;
  }

  .rodorad-access-panel {
    min-height: auto;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 22px;
  }

  .rodorad-access-media {
    min-height: min(50vh, 420px);
    border-radius: 22px;
  }

  .rodorad-access-title {
    font-size: clamp(1.6875rem, 6.75vw, 2.8125rem);
  }

  .rodorad-gallery-section {
    padding: 3rem 1rem 2.5rem;
  }

  .rodorad-circle-gallery {
    padding: 0 2rem;
  }

  .rodorad-circle-gallery__item--left {
    transform: translateX(calc(-88% - 0.5rem)) rotate(-12deg) scale(0.9);
  }

  .rodorad-circle-gallery__item--right {
    transform: translateX(calc(88% + 0.5rem)) rotate(12deg) scale(0.9);
  }

  .rodorad-benefits {
    padding: 3rem 1rem 3.5rem;
  }

  .rodorad-benefits-grid {
    gap: 0.75rem;
  }

  .rodorad-benefits-item {
    border-radius: 22px;
  }

  .rodorad-benefits-title {
    min-height: clamp(3.75rem, 11vw, 5rem);
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    padding: 0.85rem 0.45rem;
  }

  .rodorad-videos-layout {
    grid-template-columns: 1fr;
    padding: 5rem 1rem 2rem;
  }

  .rodorad-videos-toc-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0 0 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    color: #111;
    font: inherit;
    text-align: left;
  }

  .rodorad-videos-sidebar {
    position: static;
    display: none;
  }

  .rodorad-videos-layout--toc-open .rodorad-videos-sidebar {
    display: block;
    margin-bottom: 0.75rem;
  }

  .rodorad-videos-toc {
    max-height: min(60vh, 420px);
  }

  .rodorad-admin-page .rodorad-videos-layout {
    padding-top: calc(var(--rodorad-admin-header-offset, 4.85rem) + 0.75rem);
  }
}

@media (max-width: 600px) {
  .rodorad-header {
    padding: 0.75rem 0.8rem;
    gap: 0.75rem;
  }

  .rodorad-header-logo-img {
    height: 24px;
  }

  .rodorad-main {
    padding: 0 0.8rem;
  }

  .rodorad-banner {
    padding: 4.1rem 0.8rem 0.3rem;
  }

  .rodorad-banner-panel {
    padding: 1.5rem 1rem 1.75rem;
    border-radius: 20px;
  }

  .rodorad-banner-media {
    min-height: min(45vh, 360px);
    border-radius: 20px;
  }

  .rodorad-top-stat-num {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .rodorad-top-title {
    font-size: clamp(1.5rem, 7.875vw, 2.25rem);
  }

  .rodorad-intro {
    padding: 2.75rem 0.8rem 3.5rem;
  }

  .rodorad-intro-frame {
    row-gap: 6rem;
  }

  .rodorad-intro-left .rodorad-intro-copy {
    gap: 0.75rem;
  }

  .rodorad-intro-title,
  .rodorad-intro-altar-title,
  .rodorad-benefits-lead {
    font-size: clamp(1.3875rem, 7.125vw, 2.0625rem);
    line-height: 1.2;
  }

  .rodorad-videos-section .section-title {
    font-size: clamp(1.85rem, 9.5vw, 2.75rem);
    line-height: 1.2;
  }

  .rodorad-intro-tagline,
  .rodorad-intro-text,
  .rodorad-intro-altar-lead,
  .rodorad-intro-altar-footer,
  .rodorad-intro-item p,
  .rodorad-top-text {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem);
  }

  .rodorad-videos-subtitle {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem);
  }

  .rodorad-video-part-copy .rodorad-part-feature-subtitle,
  .rodorad-video-part-copy .rodorad-part-feature-list,
  .rodorad-video-part-copy .rodorad-part-feature-intro {
    font-size: clamp(0.7125rem, 3.375vw, 0.825rem);
  }

  .rodorad-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .rodorad-benefits {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .rodorad-benefits-grid {
    gap: 0.5rem;
  }

  .rodorad-benefits-item {
    border-radius: 20px;
  }

  .rodorad-benefits-title {
    min-height: clamp(3.25rem, 14vw, 4.25rem);
    font-size: clamp(0.82rem, 3.4vw, 1.05rem);
    line-height: 1.2;
    padding: 0.65rem 0.35rem;
  }

  .rodorad-intro-item h4 {
    font-size: clamp(1.125rem, 6vw, 1.6125rem);
  }

  .rodorad-map-section {
    padding-top: clamp(2.5rem, 8vw, 4rem);
  }

  .rodorad-intro-map-left .rodorad-intro-altar-title {
    font-size: clamp(1.04rem, 5.34vw, 1.55rem);
  }

  .rodorad-intro-map-stat h4 {
    font-size: clamp(1.41rem, 7.5vw, 2.02rem);
  }

  .rodorad-intro-map-stat p {
    font-size: clamp(1.19rem, 5.63vw, 1.38rem);
  }

  .rodorad-videos-section {
    padding: 2rem 0 0;
    margin-bottom: 3rem;
  }

  .rodorad-videos-snowflake {
    width: 1.85rem;
    height: 1.85rem;
  }

  .rodorad-videos-stack {
    gap: 2rem;
  }

  .rodorad-video-part-media,
  .rodorad-video-part-copy {
    border-radius: 20px;
  }

  .rodorad-video-part-copy {
    padding: 1.5rem 1rem 1.75rem;
  }

  .rodorad-part-feature-panel {
    border-radius: 20px;
    padding: 1.5rem 1rem 1.75rem;
  }

  .rodorad-part-feature-media {
    height: min(45vh, 360px);
    border-radius: 20px;
  }

  .rodorad-part-feature-title {
    font-size: clamp(1.3rem, 6.5vw, 1.75rem);
  }

  .rodorad-video-title {
    font-size: 0.95rem;
    padding: 0.75rem 1rem 0.9rem;
  }

  .rodorad-access {
    padding: 2rem 0.8rem 1.75rem;
  }

  .rodorad-access-panel {
    padding: 1.5rem 1rem 1.75rem;
    border-radius: 20px;
  }

  .rodorad-access-media {
    min-height: min(45vh, 360px);
    border-radius: 20px;
  }

  .rodorad-access-title {
    font-size: clamp(1.3875rem, 7.125vw, 2.0625rem);
    line-height: 1.2;
  }

  .rodorad-gallery-section {
    padding: 2.5rem 0.8rem 2rem;
  }

  .rodorad-circle-gallery__stage {
    height: clamp(300px, 72vw, 400px);
  }

  .rodorad-circle-gallery__nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .rodorad-cta-group .rodorad-consult-btn,
  .rodorad-cta-group .rodorad-cta-btn--secondary {
    flex: 1 1 calc(50% - 0.35rem);
    max-width: none;
  }

  .rodorad-videos-layout {
    padding: 4.5rem 0.8rem 1.75rem;
  }

  .rodorad-admin-page .rodorad-videos-layout {
    padding-top: calc(var(--rodorad-admin-header-offset, 4.85rem) + 0.5rem);
  }

  .rodorad-videos-toc-toggle {
    padding: 0.75rem 0.85rem;
  }

  .rodorad-videos-sidebar-inner {
    border-radius: 16px;
    padding: 1rem;
  }

  .rodorad-consult-btn {
    width: 100%;
    max-width: 22rem;
    min-height: 44px;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
  }

  .rodorad-page .footer {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .rodorad-banner-frame,
  .rodorad-access-frame,
  .rodorad-part-feature-frame {
    gap: 0.85rem;
  }

  .rodorad-banner-panel,
  .rodorad-access-panel {
    padding: clamp(2.5rem, 6vh, 4rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3vw, 2.5rem);
  }

  .rodorad-intro {
    padding-top: 5.5rem;
  }

  .rodorad-intro-left .rodorad-intro-copy {
    gap: 0.75rem;
    max-width: min(54rem, 100%);
  }

  .rodorad-intro-title,
  .rodorad-intro-altar-title,
  .rodorad-benefits-lead {
    font-size: clamp(2.0625rem, 4.875vw, 3.1875rem);
  }

  .rodorad-videos-section .section-title {
    font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  }

  .rodorad-intro-item h4 {
    font-size: clamp(1.875rem, 4.125vw, 2.8125rem);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .section.about {
    padding-left: 0;
    padding-right: 0;
  }

  .section.about .section-title-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .about-layout {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
  }

  .about-photo {
    flex: none;
    width: 100%;
    max-width: none;
    margin-top: 0;
    min-height: 100vh;
  }

  .about-photo-main {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
  }

  .about-content {
    padding: 0 2rem 2rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .game-preview {
    flex-direction: column;
    text-align: center;
  }

  .game-preview-text {
    order: 1;
  }


  .game-preview-board-wrap {
    order: 2;
    width: 100%;
  }

  .game-screen-layout {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 1.5rem 1rem;
    gap: 0.4rem;
    container-type: normal;
  }

  .header {
    padding: 0.75rem 1rem;
    flex-wrap: nowrap;
  }

  .header-burger {
    display: flex;
    margin-left: auto;
  }

  .header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
    background: rgba(180, 167, 214, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(45, 27, 78, 0.15);
    z-index: 2;
  }

  .header--nav-open .nav {
    display: flex;
  }

  .header .nav .nav-btn-ghost {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .logo-img {
    height: 30px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .game-controls-panel {
    flex: none;
    width: 100%;
    padding-bottom: 0.85rem;
    height: auto;
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
  }

  .game-board-area {
    margin-top: 0;
  }

  .game-board-area .game-board-wrapper {
    max-width: 100%;
  }

  .game-board-area .game-board {
    max-width: 100%;
  }
  
  .game-sidebar {
    flex: 1 1 100%;
  }
  
  .game-board {
    max-width: 100%;
  }

  .game-panel-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .game-panel-buttons .btn {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .game-panel-buttons #addPlayer,
  .game-panel-buttons #startGame {
    width: 100%;
  }
  
  .cell {
    font-size: 0.5rem;
  }
  
  .cell-name,
  .preview-cell-name {
    display: none;
  }
}

@media (max-width: 600px) {
  .game-screen-layout {
    gap: 0.3rem;
    padding: 1.25rem 0.75rem;
  }

  .game-controls-panel {
    padding-bottom: 0.65rem;
  }
  
  .section.about {
    padding-left: 0;
    padding-right: 0;
  }

  .section.about .section-title-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .about-layout {
    flex-direction: column;
    align-items: stretch;
  }
  
  .about-photo {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .about-photo-main {
    height: 100vh;
    min-height: 100vh;
  }
  
  .services-gallery {
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    min-width: min-content;
  }
  .services-gallery .gallery-img {
    min-width: 80px;
  }
  .services-gallery .gallery-img:nth-child(3) {
    min-width: 160px;
  }
  
  .popup {
    max-width: 100%;
    margin: 1rem;
    flex-direction: column;
  }
  .popup-photo {
    flex: none;
    width: 100%;
    max-height: 280px;
  }
  .popup-photo .about-photo-main {
    min-height: 200px;
    border-radius: 16px 16px 0 0;
  }
}

/* Rodorad: узкие смартфоны */
@media (max-width: 480px) {
  .rodorad-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .rodorad-benefits-title {
    min-height: clamp(2.75rem, 12vw, 3.5rem);
    font-size: clamp(0.7rem, 3.1vw, 0.88rem);
    padding: 0.5rem 0.3rem 0.6rem;
    line-height: 1.15;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .rodorad-benefits-media {
    width: 78%;
    margin-bottom: 0.5rem;
  }

  .rodorad-benefits-lead {
    margin-bottom: 1.75rem;
  }

  .rodorad-circle-gallery {
    padding: 0 0.25rem;
  }

  .rodorad-circle-gallery__stage {
    height: clamp(250px, 64vw, 320px);
  }

  .rodorad-circle-gallery__item {
    width: clamp(118px, 38vw, 160px);
    border-radius: 20px;
  }

  .rodorad-circle-gallery__item--center {
    width: clamp(138px, 44vw, 185px);
  }

  .rodorad-circle-gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

  .rodorad-circle-gallery__nav--prev {
    left: 0;
  }

  .rodorad-circle-gallery__nav--next {
    right: 0;
  }

  .rodorad-circle-gallery__item--left {
    transform: translateX(calc(-76% - 0.2rem)) rotate(-10deg) scale(0.86);
  }

  .rodorad-circle-gallery__item--right {
    transform: translateX(calc(76% + 0.2rem)) rotate(10deg) scale(0.86);
  }

  .rodorad-intro-map-stats {
    gap: 1rem 0.75rem;
  }

  .rodorad-videos-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .rodorad-videos-snowflake {
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0;
  }

  .rodorad-cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .rodorad-cta-group .rodorad-consult-btn,
  .rodorad-cta-group .rodorad-cta-btn--secondary {
    width: 100%;
    max-width: none;
    flex: none;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .rodorad-header {
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-left: max(0.65rem, env(safe-area-inset-left));
    padding-right: max(0.65rem, env(safe-area-inset-right));
    padding-bottom: 0.65rem;
    gap: 0.5rem;
  }

  .rodorad-banner {
    padding: max(3.75rem, calc(3.25rem + env(safe-area-inset-top))) 0.65rem 0.3rem;
  }

  .rodorad-intro {
    padding: 2.25rem 0.65rem 3rem;
  }

  .rodorad-intro-frame {
    row-gap: 4.5rem;
  }

  .rodorad-intro-title,
  .rodorad-intro-altar-title,
  .rodorad-benefits-lead {
    font-size: clamp(1.25rem, 6.8vw, 1.75rem);
    line-height: 1.18;
  }

  .rodorad-benefits {
    padding: 2.25rem 0.65rem 2.75rem;
  }

  .rodorad-map-section {
    padding: 2rem 0.65rem 2.5rem;
  }

  .rodorad-access {
    padding: 1.75rem 0.65rem 1.5rem;
  }

  .rodorad-access-panel,
  .rodorad-banner-panel {
    padding: 1.25rem 0.85rem 1.5rem;
  }

  .rodorad-access-media,
  .rodorad-banner-media {
    min-height: min(42vh, 320px);
  }

  .rodorad-access-title {
    font-size: clamp(1.25rem, 6.8vw, 1.75rem);
  }

  .rodorad-top-title {
    font-size: clamp(1.35rem, 7.5vw, 1.85rem);
  }

  .rodorad-intro-map-left .rodorad-intro-altar-title {
    font-size: clamp(0.95rem, 4.8vw, 1.35rem);
  }

  .rodorad-intro-map-stat h4 {
    font-size: clamp(1.25rem, 6.8vw, 1.75rem);
  }

  .rodorad-intro-map-stat p {
    font-size: clamp(0.85rem, 3.8vw, 1rem);
  }

  .rodorad-intro-map-stat .rodorad-intro-item-icon {
    width: clamp(2.35rem, 10vw, 2.75rem);
    height: clamp(2.35rem, 10vw, 2.75rem);
  }

  .rodorad-circle-gallery__stage {
    height: clamp(230px, 60vw, 290px);
  }

  .rodorad-page .footer {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .rodorad-benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rodorad-benefits-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0.65rem 0.75rem;
    gap: 0.65rem;
  }

  .rodorad-benefits-title {
    flex: 1 1 auto;
    min-height: 0;
    font-size: clamp(0.9rem, 4.2vw, 1.05rem);
    padding: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .rodorad-benefits-media {
    flex: 0 0 auto;
    width: clamp(4.5rem, 22vw, 5.5rem);
    margin: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  .rodorad-intro-map-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rodorad-intro-map-stat {
    align-items: flex-start;
  }

  .rodorad-videos-subtitle {
    font-size: clamp(0.85rem, 4vw, 0.98rem);
    line-height: 1.35;
  }

  .rodorad-consult-btn {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    padding: 0.8rem 1rem;
  }
}
