/* ── Tilda overrides (nuclear) ───────────────────────────────────────── */
.t-header, #t-header,
.t-footer, #t-footer,
.t-rec_pt_header,
.t-cover__carrier,
.t-btn, .t-btn_sm, .t-btn_md, .t-btn_lg, .t-btn_xl,
.t-btn-fixed, .t-btnwrapper,
.tn-atom__btn-wrapper,
.t-submit,
[class*="__btn-fixed"],
[class*="t890"],
[class*="t228"],
[class*="t446"],
[data-record-type="215"],
[data-record-type="216"],
[data-record-type="700"],
[data-record-type="890"] { display: none !important; visibility: hidden !important; height: 0 !important; width: 0 !important; overflow: hidden !important; }

body, .t-body, html { padding-top: 0 !important; margin-top: 0 !important; }
.t-records, .t-records__bg { padding-top: 0 !important; background: transparent !important; }

@font-face {
      font-family: 'Druzhok';
      src: url('https://dream-fest-msk.vercel.app/assets/DRUZHOK.otf') format('opentype');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { background: #1a0a2e; font-family: 'Unbounded', sans-serif; overflow-x: hidden; }

    .font-druzhok { font-family: 'Druzhok', serif; }
    .font-display { font-family: 'Playfair Display', serif; }

    
    .star {
      position: absolute;
      border-radius: 50%;
      background: white;
      pointer-events: none;
    }
    @keyframes twinkle {
      0%,100% { opacity: 0.1; transform: scale(1); }
      50%      { opacity: 0.45; transform: scale(1.25); }
    }
    @keyframes twinkleSlow {
      0%,100% { opacity: 0.07; transform: scale(1); }
      50%      { opacity: 0.28; transform: scale(1.35); }
    }

    
    .mouse-sparkle {
      position: fixed;
      pointer-events: none;
      background: white;
      clip-path: polygon(50% 0%,55% 44%,100% 50%,55% 56%,50% 100%,45% 56%,0% 50%,45% 44%);
      z-index: 9999;
      animation: sparkleLife 1s ease-out forwards;
    }
    @keyframes sparkleLife {
      0%   { transform: scale(0) rotate(0deg);   opacity: 0.9; }
      35%  { transform: scale(1) rotate(45deg);  opacity: 0.75; }
      100% { transform: scale(0.15) rotate(90deg); opacity: 0; }
    }

    
    .section-stars {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }
    .section-star {
      position: absolute;
      border-radius: 50%;
      background: rgba(123,92,200,0.35);
      pointer-events: none;
    }
    @keyframes sparkle {
      0%   { transform: scale(0) rotate(0deg);   opacity: 1; }
      100% { transform: scale(1) rotate(180deg); opacity: 0; }
    }
    @keyframes floatOrb {
      0%,100% { transform: translateY(0) translateX(0); }
      33%     { transform: translateY(-18px) translateX(8px); }
      66%     { transform: translateY(10px) translateX(-12px); }
    }
    @keyframes aurora {
      0%,100% { opacity: 0.12; transform: scaleX(1); }
      50%     { opacity: 0.28; transform: scaleX(1.1); }
    }
    @keyframes heartbeat {
      0%,100% { transform: scale(1); }
      14%     { transform: scale(1.08); }
      28%     { transform: scale(1); }
      42%     { transform: scale(1.05); }
    }
    
    @keyframes fadeUp {
      from { opacity:0; transform: translateY(40px); }
      to   { opacity:1; transform: translateY(0); }
    }
    @keyframes moonGlow {
      0%,100% { transform: scale(1);    opacity: 0.75; }
      50%     { transform: scale(1.08); opacity: 1; }
    }

    
    .glass {
      background: rgba(26,10,46,0.55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(197,176,227,0.18);
    }
    .glass-light {
      background: rgba(255,255,255,0.72);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(123,92,200,0.15);
    }

    
    .nav-wrap {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(13,6,32,0.72);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(197,176,227,0.12);
    }

    
    .artist-card {
      background: rgba(255,255,255,0.75);
      border: 1px solid rgba(123,92,200,0.12);
      border-radius: 16px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .artist-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 40px rgba(123,92,200,0.2);
    }
    .artist-photo {
      width: 100%; aspect-ratio: 1/1;
      object-fit: cover; display: block;
    }

    
    .mit-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(26,10,46,0.88);
      border: 1px solid rgba(197,176,227,0.25);
      border-radius: 100px;
      padding: 8px 18px;
      color: #C5B0E3;
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .mit-tag:hover {
      transform: scale(1.04);
      box-shadow: 0 4px 20px rgba(155,127,204,0.3);
    }

    
    .cta-btn {
      display: inline-block;
      background: linear-gradient(135deg, #7B5CC8 0%, #9B7FCC 50%, #C5B0E3 100%);
      color: white;
      border-radius: 100px;
      padding: 16px 40px;
      font-family: 'Unbounded', sans-serif;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      letter-spacing: 0.04em;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 8px 30px rgba(123,92,200,0.45);
    }
    .cta-btn:hover {
      transform: translateY(-2px) scale(1.03);
      box-shadow: 0 14px 40px rgba(123,92,200,0.65);
    }
    
    .cta-btn-xl {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      background: linear-gradient(135deg, #E8B4C8 0%, #C5B0E3 45%, #9B7FCC 100%);
      color: #1a0a2e;
      border-radius: 100px;
      padding: 22px 56px;
      font-family: 'Unbounded', sans-serif;
      font-size: 18px;
      font-weight: 900;
      text-decoration: none;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
      box-shadow: 0 14px 48px rgba(232,180,200,0.55), 0 0 0 2px rgba(255,255,255,0.2) inset;
      position: relative;
      animation: ctaPulse 2.4s ease-in-out infinite;
    }
    .cta-btn-xl:hover {
      transform: translateY(-3px) scale(1.04);
      box-shadow: 0 22px 60px rgba(232,180,200,0.75), 0 0 0 3px rgba(255,255,255,0.35) inset;
      filter: brightness(1.08);
    }
    .cta-btn-xl .arrow {
      display: inline-block;
      transition: transform 0.25s ease;
    }
    .cta-btn-xl:hover .arrow { transform: translateX(6px); }
    @keyframes ctaPulse {
      0%,100% { transform: scale(1);     opacity: 1; }
      50%     { transform: scale(1.025); opacity: 0.92; }
    }

    
    /* Перебиваем Tilda-стили кнопки через !important и ультра-специфичные селекторы */
    a.cta-btn-nav,
    .nav-wrap a.cta-btn-nav,
    nav.nav-wrap a.cta-btn-nav {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      background: linear-gradient(135deg, #E8B4C8 0%, #C5B0E3 50%, #9B7FCC 100%) !important;
      background-color: transparent !important;
      color: #1a0a2e !important;
      border: none !important;
      border-radius: 100px !important;
      padding: 12px 26px !important;
      font-family: 'Unbounded', sans-serif !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      text-decoration: none !important;
      letter-spacing: 0.04em !important;
      text-transform: uppercase !important;
      transition: transform 0.2s ease, box-shadow 0.2s ease !important;
      box-shadow: 0 6px 24px rgba(232,180,200,0.45) !important;
    }
    a.cta-btn-nav:hover,
    .nav-wrap a.cta-btn-nav:hover {
      transform: translateY(-2px) scale(1.04) !important;
      box-shadow: 0 10px 32px rgba(232,180,200,0.65) !important;
      background: linear-gradient(135deg, #E8B4C8 0%, #C5B0E3 50%, #9B7FCC 100%) !important;
      color: #1a0a2e !important;
    }
    .cta-btn-outline {
      display: inline-block;
      border: 2px solid rgba(197,176,227,0.5);
      color: #C5B0E3;
      border-radius: 100px;
      padding: 14px 36px;
      font-family: 'Unbounded', sans-serif;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      letter-spacing: 0.04em;
      transition: all 0.2s ease;
    }
    .cta-btn-outline:hover {
      background: rgba(197,176,227,0.12);
      border-color: #C5B0E3;
    }

    
    .hero-bg-img {
      position: absolute; inset: 0;
      background-image: url('https://dream-fest-msk.vercel.app/thumbs/hero_bg.jpg');
      background-size: cover;
      background-position: center top;
      opacity: 0.45;
      z-index: 0;
      mix-blend-mode: luminosity;
      filter: saturate(1.1);
    }
    .hero-bg-overlay {
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at center, rgba(26,10,46,0.35) 0%, rgba(13,6,32,0.85) 70%, #0d0620 100%);
      z-index: 1;
    }

    
    .venue-chip {
      display: inline-flex;
      align-items: center;
      gap: 18px;
    }
    .venue-chip img {
      height: 44px;
      width: auto;
      display: block;
      opacity: 0.9;
    }
    .venue-chip .divider {
      width: 1px;
      height: 32px;
      background: rgba(197,176,227,0.3);
      flex-shrink: 0;
    }
    .venue-chip .label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: rgba(197,176,227,0.6);
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    
    .stage-number {
      font-family: 'Playfair Display', serif;
      font-size: 110px;
      line-height: 0.85;
      font-weight: 900;
      font-style: italic;
      background: linear-gradient(180deg, #E8B4C8 0%, #9B7FCC 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      opacity: 0.9;
    }

    
    
    .exp-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    @media (max-width: 900px)  { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px)  { .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

    .exp-tile {
      border-radius: 20px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: rgba(45,27,78,0.08);
      border: 1px solid rgba(123,92,200,0.12);
    }
    .exp-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(123,92,200,0.22); }
    .exp-img-wrap {
      position: relative;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background: linear-gradient(135deg, #2D1B4E, #7B5CC8);
    }
    .exp-img-wrap img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.5s ease;
    }
    .exp-tile:hover .exp-img-wrap img { transform: scale(1.06); }
    .exp-img-fallback {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      background: linear-gradient(135deg, #2D1B4E, #7B5CC8);
    }
    .exp-caption {
      padding: 14px 16px 16px;
      background: rgba(255,255,255,0.85);
    }

    
    .artist-card {
      cursor: pointer;
    }
    .artist-card .bio {
      padding: 0 14px 14px 14px;
      font-family: 'Instrument Serif', serif;
      font-size: 13px;
      line-height: 1.45;
      color: rgba(45,27,78,0.75);
      font-style: italic;
      display: none;
    }
    .artist-card.open .bio { display: block; }
    .artist-card .bio-hint {
      display: block;
      text-align: center;
      padding: 0 0 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      color: rgba(123,92,200,0.55);
      letter-spacing: 0.1em;
    }

    
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(13,6,32,0.85);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 200;
      padding: 20px;
      animation: fadeUp 0.3s ease-out;
    }
    .modal-content {
      background: linear-gradient(180deg, #2D1B4E 0%, #1a0a2e 100%);
      border: 1px solid rgba(197,176,227,0.25);
      border-radius: 24px;
      max-width: 560px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 36px 32px;
      position: relative;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    }
    .modal-close {
      position: absolute;
      top: 16px; right: 16px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(197,176,227,0.25);
      color: #C5B0E3;
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.2s;
    }
    .modal-close:hover { background: rgba(197,176,227,0.15); }

    
    .secret-card {
      position: relative;
      background: linear-gradient(135deg, rgba(123,92,200,0.18) 0%, rgba(232,180,200,0.12) 100%);
      border: 1px dashed rgba(197,176,227,0.35);
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 1/1;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }
    .secret-card:hover { transform: translateY(-6px); }
    .secret-card .mark {
      font-family: 'Playfair Display', serif;
      font-size: 96px;
      font-style: italic;
      color: rgba(197,176,227,0.5);
      line-height: 1;
    }

    
    .star-decor {
      position: absolute;
      pointer-events: none;
      opacity: 0.7;
      animation: floatOrb 10s ease-in-out infinite;
    }

    
    .section-tag {
      display: inline-block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #9B7FCC;
      border: 1px solid rgba(155,127,204,0.35);
      border-radius: 100px;
      padding: 5px 16px;
      margin-bottom: 20px;
    }

    

    
    .scroll-fade { opacity: 0; transform: translateY(40px); }

    
    .artist-slider {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding: 8px 0 20px 0;
    }
    .artist-slider::-webkit-scrollbar { height: 4px; }
    .artist-slider::-webkit-scrollbar-track { background: rgba(123,92,200,0.08); border-radius: 2px; }
    .artist-slider::-webkit-scrollbar-thumb { background: rgba(123,92,200,0.3); border-radius: 2px; }
    .artist-slider > * {
      scroll-snap-align: start;
      flex: 0 0 auto;
      width: 190px;
    }
    @media (max-width: 640px) {
      .artist-slider > * { width: 160px; }
    }
    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255,255,255,0.85);
      border: 1px solid rgba(123,92,200,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      transition: all 0.2s;
      font-size: 18px;
      color: #7B5CC8;
    }
    .slider-arrow:hover {
      background: white;
      box-shadow: 0 6px 24px rgba(123,92,200,0.25);
    }
    .slider-arrow.left { left: -22px; }
    .slider-arrow.right { right: -22px; }
    @media (max-width: 768px) {
      .slider-arrow { display: none; }
    }

    
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #0d0620; }
    ::-webkit-scrollbar-thumb { background: rgba(155,127,204,0.5); border-radius: 3px; }

    
    .features-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .features-right {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    @media (min-width: 768px) {
      .features-grid {
        grid-template-columns: 3fr 2fr;
        align-items: stretch;
      }
    }

    
    @media (max-width: 640px) {
      
      .hero-meta { flex-direction: row; gap: 6px !important; align-items: center; flex-wrap: wrap; justify-content: center; }
      .hero-meta span[style*="rgba(197,176,227,0.3)"] { display: none; }

      
      .nav-cta-responsive { padding: 10px 16px !important; font-size: 11px !important; gap: 5px !important; }
      .nav-wrap .font-druzhok { font-size: 13px !important; }

      
      .mobile-nav-links { display: flex !important; }

      
      .nsc-inner { padding: 32px 20px !important; }
      .nsc-inner h2 { font-size: 1.6rem !important; }

      
      .cta-btn-xl { padding: 14px 28px !important; font-size: 12px !important; letter-spacing: 0.1em !important; }
      .cta-btn-xl-hero { letter-spacing: 0.15em !important; padding: 14px 32px !important; }

      
      .manifesto-text.font-druzhok { font-size: 1.6rem !important; }

      
      .stage-card { padding: 28px 20px !important; }
      .stage-number { font-size: 72px !important; }

      
      .features-grid { gap: 12px !important; }
      .feat-card { padding: 24px 20px !important; }

      
      .exp-tile { padding: 24px 20px !important; }

      
      .modal-content { padding: 24px 16px !important; border-radius: 20px !important; }
      .modal-close { top: 12px !important; right: 12px !important; }

      
      section { padding-left: 16px !important; padding-right: 16px !important;
                padding-top: 56px !important; padding-bottom: 56px !important; }
      
      section#hero-root, section.hero-section { padding-top: 0 !important; padding-bottom: 0 !important; }

      
      .artist-card .bio-hint { font-size: 11px !important; color: rgba(123,92,200,0.75) !important; }

      
      .footer-cta-group { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
      .footer-social { flex-direction: row !important; }
    }

    
    .mobile-nav-links {
      display: none;
      overflow-x: auto;
      gap: 4px;
      padding: 6px 16px 8px;
      border-top: 1px solid rgba(197,176,227,0.08);
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .mobile-nav-links::-webkit-scrollbar { display: none; }
    .mobile-nav-links a {
      flex-shrink: 0;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      color: rgba(197,176,227,0.6);
      text-decoration: none;
      padding: 5px 10px;
      border-radius: 20px;
      border: 1px solid rgba(197,176,227,0.12);
      background: rgba(197,176,227,0.04);
      white-space: nowrap;
      transition: all 0.2s;
    }
    .mobile-nav-links a:active { background: rgba(197,176,227,0.12); color: #fff; }

    
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    
    @media (min-width: 641px) and (max-width: 1024px) {
      .features-grid { grid-template-columns: 1fr 1fr !important; }
    }

    
    .photo-strip-wrap {
      width: 100%;
      overflow: hidden;
      padding: 12px 0 8px;
      mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }
    .photo-strip-track {
      display: flex;
      gap: 14px;
      width: max-content;
      animation: stripScroll 38s linear infinite;
    }
    .photo-strip-track:hover { animation-play-state: paused; }
    .photo-strip-item {
      width: 200px;
      height: 260px;
      border-radius: 12px;
      overflow: hidden;
      flex-shrink: 0;
      border: 1px solid rgba(197,176,227,0.12);
      box-shadow: 0 8px 24px rgba(0,0,0,0.35);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }
    .photo-strip-item:hover {
      transform: scale(1.04) rotate(0deg) !important;
      box-shadow: 0 16px 40px rgba(123,92,200,0.3);
      z-index: 2;
    }
    @keyframes stripScroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(calc(-50%)); }
    }
    @keyframes heroSlide {
      0%   { transform: translateX(0); }
      100% { transform: translateX(calc(-50%)); }
    }
    @media (max-width: 640px) {
      .photo-strip-item { width: 150px; height: 195px; }
    }

    
    .hero-strip-wrap {
      width: 100%;
      overflow: hidden;
      mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }
    .hero-strip-track {
      display: flex;
      gap: 14px;
      width: max-content;
      animation: heroSlide 42s linear infinite;
    }
    .hero-strip-track:hover { animation-play-state: paused; }
    .hero-strip-item {
      position: relative;
      width: 140px;
      height: 180px;
      border-radius: 14px;
      overflow: hidden;
      flex-shrink: 0;
      border: 1px solid rgba(197,176,227,0.18);
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      text-decoration: none;
      display: block;
    }
    .hero-strip-item:hover {
      transform: translateY(-4px) scale(1.03);
      border-color: rgba(232,180,200,0.5);
      box-shadow: 0 18px 36px rgba(123,92,200,0.35);
    }
    .hero-strip-item img {
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    .hero-strip-name {
      position: absolute; left: 0; right: 0; bottom: 0;
      padding: 22px 10px 10px;
      font-family: 'Unbounded', sans-serif;
      font-size: 11px;
      color: #fff;
      text-align: center;
      background: linear-gradient(transparent, rgba(13,6,32,0.85));
      letter-spacing: 0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    @media (max-width: 640px) {
      .hero-strip-item { width: 112px; height: 148px; }
      .hero-strip-name { font-size: 10px; padding: 18px 8px 8px; }
    }

    
    @keyframes cssStarTwinkle {
      0%,100% { opacity: 0.25; transform: scale(0.85); }
      50%     { opacity: 0.9;  transform: scale(1.1); }
    }
    @media (prefers-reduced-motion: reduce) {
      .css-stars span { animation: none !important; }
      .hero-strip-track { animation: none !important; }
    }