/* --- Сброс и База --- */
:root {
  /* Локальные переменные для удобства */
  --hero-bg: #fff5ed;
  --text-dark: var(--ink);
  --radius-lg: 32px;
  --radius-md: 20px;
}

.play-page-body {
  background-color: #ffffff;
}

/* Утилиты текста */
.center { text-align: center; }
.text-green { color: var(--accent) !important; }

/* Анимация появления */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- HERO SECTION --- */
.play-hero {
  position: relative;
  background: var(--hero-bg);
  /* Мягкий градиент */
  background: radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 60%, rgba(106, 153, 78, 0.1) 0%, transparent 40%),
              var(--hero-bg);
  padding: 100px 0 120px;
  overflow: hidden;
}

.play-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Типографика Hero */
.badge-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.badge-age, .badge-time {
  background: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.15);
  color: var(--text-dark);
}
.badge-age { color: var(--accent); }

.play-title {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text-dark);
  position: relative;
}

.title-decor {
  color: var(--primary);
  display: inline-block;
  /* Легкий наклон первой части */
  transform: rotate(-2deg);
}

.play-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
}

.play-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image & Blob */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.blob-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-bounce 8s infinite alternate;
  z-index: -1;
}

.play-poster {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .play-poster {
  transform: rotate(0deg) scale(1.02);
}

.floating-sticker {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: rotate(-5deg);
  animation: float-sticker 3s ease-in-out infinite;
}

/* SVG Waves */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

/* --- FEATURES SECTION --- */
.details-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-2);
  box-shadow: 0 15px 40px rgba(255, 140, 66, 0.1);
}

.icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ff7a1a;
  text-shadow: 0 2px 8px rgba(255, 140, 66, 0.35);
}
.icon-orange { background: rgba(255, 140, 66, 0.12); }
.icon-green { background: rgba(106, 153, 78, 0.12); color: #4b8b3b; text-shadow: 0 2px 8px rgba(75, 139, 59, 0.25); }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 800;
}
.feature-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- STORY SECTION --- */
.story-section {
  padding: 60px 0;
  background: #ffffff;
}

.story-card {
  background: #fdf8f2;
  border-radius: 40px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.micro-heading {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  font-size: 13px;
  display: block;
  margin-bottom: 12px;
}

.story-title {
  font-size: 32px;
  margin-bottom: 24px;
}

.story-content p {
  color: #555;
  font-size: 17px;
  margin-bottom: 20px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag {
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.visual-collage {
  position: relative;
  height: 300px;
}

.collage-item {
  position: absolute;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
}

/* Абстрактные блоки для иллюстрации (можно заменить на картинки) */
.item-1 {
  width: 70%;
  height: 90%;
  right: 0;
  top: 0;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.item-2 {
  width: 60%;
  height: 60%;
  left: 0;
  bottom: 10%;
  background: var(--accent);
  opacity: 0.2;
  border-radius: 50%;
}

/* --- GALLERY --- */
.gallery-section { padding: 80px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.item-large {
  grid-row: 1 / 3;
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

/* --- SCHEDULE (TICKETS) --- */
.schedule-section {
  background: #fdf8f2;
  position: relative;
  padding-bottom: 100px;
}
.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.wave-top svg { height: 60px; width: 100%; }

.tickets-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

/* Эффект перфорации по краям (опционально, здесь просто визуальный стиль) */
.ticket-card::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #fdf8f2;
  border-radius: 50%;
}
.ticket-card::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #fdf8f2;
  border-radius: 50%;
}

.ticket-card:hover {
  box-shadow: 0 15px 30px rgba(255, 140, 66, 0.15);
  transform: translateY(-2px);
}

.ticket-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 30px;
  border-right: 2px dashed #eee;
  min-width: 100px;
}

.ticket-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.ticket-date .day { font-size: 32px; font-weight: 900; color: var(--text-dark); }
.ticket-date .month { font-size: 14px; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.ticket-time { margin-top: 10px; font-weight: 700; color: var(--text-dark); background: #f4f4f4; padding: 4px 10px; border-radius: 8px; font-size: 14px; }

.ticket-center {
  padding-left: 30px;
  flex-grow: 1;
}
.location-label { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.seats-label { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.seats-label::before { content: '•'; font-size: 20px; color: #ccc; }
.seats-label.text-green::before { color: var(--accent); }

.btn-ticket {
  padding: 10px 24px;
  border-radius: 14px;
  font-size: 15px;
}

/* --- DECOR & ANIMATIONS --- */
@keyframes blob-bounce {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes float-sticker {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-10px); }
}

/* Падающие перышки */
.feather {
  position: absolute;
  width: 30px;
  height: 60px;
  background: white;
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}
.feather-1 {
  top: 10%;
  left: 10%;
  animation: feather-fall 10s linear infinite;
}
.feather-2 {
  top: 20%;
  right: 15%;
  width: 20px; height: 40px;
  animation: feather-fall 14s linear infinite;
  animation-delay: 2s;
}

@keyframes feather-fall {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
  20% { opacity: 0.8; }
  100% { transform: translateY(600px) rotate(360deg); opacity: 0; }
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .play-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .play-actions { justify-content: center; }
  .hero-image-wrapper { order: -1; margin-bottom: 40px; }
  .badge-wrapper { justify-content: center; }

  .story-card { grid-template-columns: 1fr; gap: 30px; padding: 40px; }
  .visual-collage { display: none; } /* Скрываем абстракцию на планшете для экономии места */
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .item-large { grid-column: 1 / -1; grid-row: auto; height: 250px; }
  .item-small { height: 150px; }

  .ticket-card { flex-direction: column; text-align: center; gap: 20px; }
  .ticket-left { border-right: none; border-bottom: 2px dashed #eee; padding: 0 0 20px 0; width: 100%; }
  .ticket-center { padding: 0; }
  .ticket-right { width: 100%; }
  .btn-ticket { width: 100%; }
}