@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #000;
  --bg-card: #0e0e0e;
  --bg-card-hover: #161616;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --primary: #B50534;
  --primary-light: #e0063f;
  --accent: #B50534;
  --text: #f2f2f2;
  --text-muted: #777;
  --text-dim: #3a3a3a;
  --gold: #FFD700;
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

a { text-decoration: none; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loading-inner {
  text-align: center;
  animation: scaleIn 0.5s ease;
}
.loading-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}
.loading-bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.loading-bar-fill {
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: 3px;
  animation: loadingProgress 1.5s ease-out forwards;
}
@keyframes loadingProgress {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes countdownGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(181, 5, 52, 0.3); }
  50% { text-shadow: 0 0 40px rgba(181, 5, 52, 0.6); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

.page-enter {
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== NAVBAR ===== */
header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1100px;
}

nav {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: navAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navAppear {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.97);
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.2s;
}

.logo:hover { transform: scale(1.05); }

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}

.mobile-only { display: none; }

.nav-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
  transition: all 0.25s;
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.nav-right {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-right a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 20px;
  transition: all 0.25s;
}

.nav-right a:hover { color: var(--text); }

.nav-right a.highlight {
  color: var(--text);
  font-weight: 600;
}

.nav-right .nav-watch-btn {
  font-size: 0.78rem;
}
/* Eurovision logo in nav */
.nav-euro-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -2px;
}

.nav-right .nav-euro-btn {
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0,159,212,0.15), rgba(155,79,245,0.15));
  border: 1px solid rgba(0,159,212,0.3);
  border-radius: 999px;
  padding: 5px 12px;
}
.nav-right .nav-euro-btn:hover {
  background: linear-gradient(90deg, rgba(0,159,212,0.28), rgba(155,79,245,0.28));
  border-color: rgba(0,159,212,0.5);
}

/* Eurovision Odds nav button */
.nav-right .nav-euro-odds-btn {
  font-size: 0.78rem;
  color: #9B4FF5;
  font-weight: 600;
}
.nav-right .nav-euro-odds-btn:hover { color: #b87aff; }

.nav-right a.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nav-right a.vote-live,
.nav-links a.vote-live,
.nav-right a.watch-live,
.nav-links a.watch-live {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700;
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: pulse 1.6s ease-in-out infinite;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.burger-line:nth-child(1) { transform: translateY(-6px); }
.burger-line:nth-child(2) { transform: translateY(0); }
.burger-line:nth-child(3) { transform: translateY(6px); }

/* Open state — lines fade, heart appears */
.burger.open .burger-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  opacity: 0;
}
.burger.open .burger-line:nth-child(2) {
  transform: scale(0);
  opacity: 0;
}
.burger.open .burger-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  opacity: 0;
}

.burger-heart {
  width: 20px;
  height: 20px;
  color: var(--primary);
  position: absolute;
  opacity: 0;
  transform: scale(0) rotate(-15deg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.burger.open .burger-heart {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: heartBeat 0.6s ease 0.2s;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: flex-end;
  padding: 56px;
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1.05);
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.2) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-content h2 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -3px;
}

.slide-content h2 .hl { color: var(--accent); }

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots .dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s;
}

.slider-dots .dot.active {
  background: white;
  width: 44px;
}

/* Eurovision slide */
.slide-bg-euro {
  background: radial-gradient(ellipse at 70% 50%, rgba(0,159,212,0.35) 0%, transparent 55%),
              radial-gradient(ellipse at 30% 60%, rgba(155,79,245,0.4) 0%, transparent 50%),
              linear-gradient(135deg, #06060f 0%, #0d0825 50%, #060612 100%);
}
.slide-bg-euro::after {
  background: linear-gradient(to right, rgba(6,6,15,0.92) 0%, rgba(6,6,15,0.55) 55%, rgba(6,6,15,0.15) 100%);
}
.slide-euro-logo {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.75;
}
.slide-euro-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0,159,212,0.5));
}
.slide-euro-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #009FD4;
  margin-bottom: 10px;
}
.slide-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.hl-euro {
  background: linear-gradient(90deg, #009FD4, #9B4FF5, #E8336D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-euro-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #009FD4, #9B4FF5);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,159,212,0.35);
}
.slide-euro-btn:hover { opacity: 0.88; transform: translateY(-2px); }

@media (max-width: 640px) {
  .slide-euro-logo img { width: 110px; height: 110px; }
  .slide-euro-logo { right: 4%; }
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  margin-bottom: 40px;
  position: relative;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  position: relative;
}
.section-header h2::before {
  content: attr(data-num);
  position: absolute;
  left: -8px;
  top: -20px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -6px;
}
.section-header h2 span { position: relative; z-index: 1; }
.section-header h2 .hl { color: var(--accent); }
.section-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 10px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: var(--primary);
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  margin-top: 80px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 120px rgba(181,5,52,0.3);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 120%, rgba(0,0,0,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 10%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-banner-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 8px;
}

.page-banner .countdown-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.countdown-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  animation: countdownGlow 3s ease-in-out infinite;
}

.countdown-unit {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-top: 6px;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.4;
  margin-top: -12px;
}

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 380px;
  gap: 16px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}
.news-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover::after { transform: scaleX(1); }

.news-card .card-image {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #0a0a0a;
}
.news-card .card-image .placeholder-text {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.15);
  text-align: center; padding: 16px; line-height: 1.6;
}
.news-card .card-image-img, .news-card .card-thumb {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.news-card:hover .card-image-img, .news-card:hover .card-thumb { transform: scale(1.05); }
.card-image-loader {
  width: 24px; height: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.news-card .card-body {
  padding: 22px 24px 26px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card .card-date {
  font-size: 0.68rem; font-weight: 700; color: var(--primary);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px;
  flex-shrink: 0;
}
.news-card .card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800; line-height: 1.3;
  margin-bottom: 10px; letter-spacing: -0.3px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  flex-shrink: 0;
}
.news-card .card-body p {
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-link { text-decoration: none; color: inherit; display: block; }

/* News Article Full Page */
.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.news-back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.news-back:hover { color: var(--primary); }

.news-article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.news-article-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.news-article-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.news-article-placeholder .placeholder-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.08);
  text-align: center;
  line-height: 1.3;
}

.news-article-content h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  margin: 12px 0 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.news-article-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-line;
}

.news-article-text a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  word-break: break-all;
}
.news-article-text a:hover {
  color: #ff1a5c;
}

@media (max-width: 768px) {
  .news-article {
    padding-left: 16px;
    padding-right: 16px;
  }
  .news-article-content h1 {
    font-size: 1.4rem;
    margin: 8px 0 16px;
  }
  .news-article-hero {
    margin-bottom: 20px;
  }
  .news-article-img {
    border-radius: 12px;
  }
  .news-article-placeholder {
    height: 180px;
    border-radius: 12px;
  }
  .news-article-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .news-back {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.countdown-inner {
  max-width: 700px;
  margin: 0 auto;
}
.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 40px;
  font-weight: 600;
}
.countdown-timer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  padding: 0 8px;
  position: relative;
}
.cd-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 20px;
  width: 1px;
  background: var(--border);
}
.cd-num {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--text);
  animation: countdownGlow 3s ease-in-out infinite;
}
.cd-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-top: 10px;
}
.cd-sep {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1;
  opacity: 0.4;
  font-family: var(--font-display);
}
.countdown-date {
  margin-top: 40px;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.countdown-live {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cd-num { font-size: 3.5rem; letter-spacing: -2px; }
  .cd-block { min-width: 72px; }
  .cd-sep { font-size: 3rem; margin-bottom: 14px; }
  .countdown-section { padding: 60px 16px; }
}

/* ===== PARTICIPANTS REVEAL ===== */
/* ===== PARTICIPANTS GRID (mini cards) ===== */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  max-width: 1000px;
  margin: 0 auto;
}
.sf-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}
.participant-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: none;
  border-radius: 0;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.participant-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom;
}
.participant-card:hover::before { transform: scaleY(1); }
.participant-card:hover {
  background: var(--bg-card-hover);
  padding-left: 28px;
}
.participant-flag {
  font-size: 2rem;
  flex-shrink: 0;
}
.participant-info {
  flex: 1;
  min-width: 0;
}
.participant-country {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.participant-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.participant-song {
  font-size: 0.75rem;
  color: var(--primary-light);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participant-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.participant-card:hover .participant-arrow { color: var(--primary-light); }
.participant-card:active { transform: scale(0.98); }
.sf-auto-badge {
  font-size: 0.75rem;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(255,210,0,0.6));
}
.participant-pos {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.55;
}

/* ===== PARTICIPANT PROFILE PAGE ===== */
.participant-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a10 50%, #0a0a0a 100%);
}
.participant-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(181,5,52,0.15) 0%, transparent 70%);
}
.participant-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.participant-hero-flag {
  font-size: 4.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.participant-hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -2px;
}
.participant-hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* --- Participant Profile: Main Card --- */
.pp-main-card {
  max-width: 700px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.pp-artist-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border);
}
.pp-flag {
  font-size: 4rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
.pp-artist-name {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.0;
  margin-bottom: 6px;
}
.pp-country {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.pp-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}
.pp-song-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.pp-song-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(181,5,52,0.12);
  border-radius: var(--radius);
}
.pp-song-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-light);
}
.pp-song-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.pp-audio-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0 28px;
}
.pp-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.pp-play-btn:hover { background: var(--primary-light); transform: scale(1.08); }
.pp-play-btn svg { width: 20px; height: 20px; }
.pp-audio-track { flex: 1; min-width: 0; }
.pp-audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.pp-audio-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.pp-audio-time { font-size: 0.72rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.pp-audio-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}
.pp-audio-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  width: 0;
  transition: width 0.15s linear;
}

/* --- Participant Profile: Info Grid --- */
.pp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  max-width: 700px;
  margin: 32px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pp-info-card {
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 16px;
  text-align: center;
  transition: background 0.2s;
}
.pp-info-card:last-child { border-right: none; }
.pp-info-card:hover { background: var(--bg-card-hover); }
.pp-info-icon { margin-bottom: 8px; }
.pp-info-icon img { border-radius: 6px; }
.pp-info-emoji { font-size: 1.4rem; }
.pp-info-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pp-info-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
}
.pp-info-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.pp-info-rank .pp-info-value {
  color: var(--gold);
}

/* --- Participant Profile: Navigation --- */
.pp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.pp-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
}
.pp-nav-btn:hover { border-color: var(--primary); background: rgba(181,5,52,0.06); transform: translateY(-2px); }
.pp-nav-arrow { font-size: 1rem; color: var(--text-muted); }
.pp-nav-flag { font-size: 1.3rem; }
.pp-nav-name { font-weight: 600; }
.pp-nav-center {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.pp-nav-center:hover { color: var(--text); }

/* Legacy compat (used by participant card grid) */
.participant-profile { max-width: 700px; margin: 0 auto; }
.participant-profile-main { display: flex; align-items: center; gap: 24px; background: transparent; border: none; border-top: 3px solid var(--primary); border-radius: 0; padding: 28px 0; }
.participant-profile-flag { font-size: 3.5rem; flex-shrink: 0; }
.participant-profile-details h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.participant-profile-country { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
  .participants-grid { grid-template-columns: 1fr; gap: 8px; }
  .participant-card { padding: 14px; gap: 12px; }
  .participant-flag { font-size: 1.6rem; }
  .participant-country { font-size: 0.88rem; }
  .participant-hero { height: 240px; margin-top: 56px; }
  .participant-hero-flag { font-size: 3rem; }
  .participant-hero-content h1 { font-size: 2rem; }
  .pp-artist-row { padding: 22px 20px; gap: 16px; }
  .pp-flag { font-size: 2.8rem; }
  .pp-artist-name { font-size: 1.25rem; }
  .pp-divider { margin: 0 20px; }
  .pp-song-row { padding: 18px 20px; }
  .pp-audio-row { padding: 16px 20px 20px; }
  .pp-info-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
  .pp-info-card { padding: 16px 10px; border-radius: 12px; }
  .pp-info-value { font-size: 1.2rem; }
  .pp-info-label { font-size: 0.62rem; }
  .pp-nav { flex-direction: column; gap: 8px; }
  .pp-nav-btn { width: 100%; justify-content: center; }
  .pp-nav-center { width: 100%; text-align: center; }
}

.participants-reveal {
  text-align: center;
  padding: 60px 24px;
  max-width: 500px;
  margin: 0 auto;
}
.reveal-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.participants-reveal h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.reveal-date {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #ff1a5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.participants-reveal p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ===== FLAG MARQUEE ===== */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-reverse .marquee-track {
  animation: marqueeScrollReverse 35s linear infinite;
}

.flag-heart {
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 30% 30%, rgba(181,5,52,0.25), rgba(181,5,52,0.05));
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.flag-heart::before {
  content: '♥';
  position: absolute;
  font-size: 2.4rem;
  color: rgba(181,5,52,0.12);
  z-index: 0;
}

.flag-heart:hover {
  transform: scale(1.3);
}

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

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

@media (max-width: 768px) {
  .flag-heart {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
  }
  .flag-heart::before { font-size: 1.8rem; }
  .marquee-track { gap: 4px; }
}

/* ===== WINNERS ===== */
.winners-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.winners-banner-full {
  width: 100%;
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.winners-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.winners-banner-full:hover .winners-bg {
  transform: scale(1.03);
}

.winners-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.5) 0%,
    rgba(10,10,10,0.15) 40%,
    rgba(10,10,10,0.15) 60%,
    rgba(10,10,10,0.85) 100%
  );
  pointer-events: none;
}

.winners-top-label {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
}

.winners-bottom {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.winners-left .winners-song {
  color: var(--primary-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.winners-left .winners-artist {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
}

.winners-right {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .winners-banner-full { height: 300px; }
  .winners-top-label { padding: 24px; font-size: 0.95rem; }
  .winners-bottom { padding: 24px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .winners-left .winners-artist { font-size: 1.3rem; }
  .winners-right { font-size: 1.1rem; }
}

/* ===== PARTICIPANTS (big grid) ===== */
.participants-grid-big {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.participants-grid-big .participant-card {
  background: var(--bg-card);
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.participants-grid-big .participant-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.participants-grid-big .participant-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.6);
  padding-left: 20px;
}
.participants-grid-big .participant-card:hover::before { transform: scaleX(1); }

.participant-flag { font-size: 2.8rem; margin-bottom: 12px; }
.participant-country { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.participant-artist { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.participant-song { color: var(--text-muted); font-size: 0.85rem; font-style: italic; }
.participant-semifinal { margin-top: 12px; display: inline-block; background: rgba(255,255,255,0.06); color: var(--text-muted); font-size: 0.7rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }

/* ===== SOCHI PAGE ===== */

/* Hero */
.sochi-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}
.sochi-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.sochi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%);
}
.sochi-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.sochi-hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
.sochi-hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -3px;
}
.sochi-hero-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Tabs */
.sochi-tabs {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 12px 24px;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 50;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sochi-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sochi-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.sochi-tab.active {
  color: var(--text);
  background: rgba(181,5,52,0.12);
  font-weight: 600;
}

/* Panels */
.sochi-panel { display: none; }
.sochi-panel.active { display: block; }

/* Show cards */
.sochi-shows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sochi-show-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.sochi-show-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom;
}
.sochi-show-card:hover { background: var(--bg-card-hover); transform: translateX(6px); }
.sochi-show-card:hover::before { transform: scaleY(1); }
.sochi-show-card.grand::before { background: var(--gold); }
.show-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  flex-shrink: 0;
}
.show-icon img { width: 36px; height: 36px; object-fit: contain; }
.show-info { flex: 1; }
.show-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.show-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.show-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: transform 0.2s;
}
.sochi-show-card:hover .show-arrow { transform: translateX(4px); color: var(--primary); }

/* Participants preview */
.sochi-participants-preview {
  text-align: center;
  padding: 60px 24px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
}
.sochi-participants-preview p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.btn-outline-local {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline-local:hover {
  border-color: rgba(181,5,52,0.4);
  background: rgba(181,5,52,0.08);
  color: var(--text);
}

/* Venue */
.sochi-venue {
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 32px 0;
  position: relative;
}
.venue-icon {
  font-size: 2.8rem;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(181,5,52,0.2));
}
.venue-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.venue-info p { color: var(--text-muted); font-size: 0.9rem; }
.venue-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Broadcaster */
.sochi-broadcaster {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 40px 0;
  text-align: center;
}
.sochi-broadcaster::before {
  content: 'ОФИЦИАЛЬНЫЙ ВЕЩАТЕЛЬ';
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.broadcaster-logo {
  max-width: 220px;
  max-height: 90px;
  object-fit: contain;
  filter: brightness(1.2);
}

/* Presented by */
.sochi-presented {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 40px 0;
  text-align: center;
}
.presented-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  padding: 0;
  border: none;
  border-bottom: 3px solid var(--primary);
  border-radius: 0;
  background: transparent;
  margin-bottom: 16px;
  padding-bottom: 8px;
}
.sochi-presented p {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* Credits — connected horizontal panel */
.sochi-credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.credit-item {
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 24px;
  text-align: left;
  transition: background 0.2s;
  position: relative;
}
.credit-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.credit-item:last-child { border-right: none; }
.credit-item:hover { background: var(--bg-card-hover); }
.credit-item:hover::before { transform: scaleX(1); }
.credit-role {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
}
.credit-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Host card on Sochi page */
.host-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}
.host-card::after {
  content: '→';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.4rem;
  transition: transform 0.25s;
}
.host-card:hover::after { transform: translateY(-50%) translateX(6px); }
.host-card-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  filter: grayscale(0.4);
  transition: filter 0.3s;
}
.host-card:hover .host-card-img { filter: grayscale(0); }
.host-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.host-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.host-card-info p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.host-card-link {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== HOST PROFILE PAGE ===== */
.host-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  margin-top: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.host-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: blur(2px);
  transform: scale(1.05);
}
.host-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.85) 100%);
}
.host-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 40px;
}
.host-hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -2px;
}
.host-hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Bio */
.host-bio {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.host-photo {
  width: 220px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.host-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.host-photo:hover img { filter: grayscale(0); }
.host-text p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* Facts */
.host-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.host-fact {
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 32px 16px;
  text-align: center;
  transition: background 0.2s;
}
.host-fact:last-child { border-right: none; }
.host-fact:hover { background: var(--bg-card-hover); }
.host-fact-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  opacity: 0.6;
}
.host-fact-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1;
}
.host-fact-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Timeline */
.host-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.host-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item {
  position: relative;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(181,5,52,0.15);
}
.timeline-item:last-child::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255,215,0,0.15);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Quote */
.host-quote {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 0;
  background: transparent;
  border: none;
  position: relative;
}
.host-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 14rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: -16px;
  line-height: 1;
  pointer-events: none;
  font-weight: 900;
}
.host-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
}
.host-quote cite {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Back link */
.host-back {
  text-align: center;
}

/* Host page mobile */
@media (max-width: 768px) {
  .host-hero { height: 260px; margin-top: 56px; }
  .host-hero-content h1 { font-size: 2rem; }
  .host-hero-subtitle { font-size: 0.75rem; }
  .host-bio { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .host-photo { width: 160px; height: 200px; }
  .host-facts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .host-fact { padding: 18px 12px; }
  .host-fact-value { font-size: 1.2rem; }
  .host-quote { padding: 24px 16px; }
  .host-quote blockquote { font-size: 0.95rem; }
  .host-card { gap: 14px; padding: 20px 0; }
  .host-card-img { width: 56px; height: 56px; }
  .host-card-info h3 { font-size: 1.1rem; }
}

/* Show detail page */
.sochi-show-detail {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.show-detail-icon {
  font-size: 4rem;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 40px rgba(181,5,52,0.3));
}
.show-detail-icon img { width: 72px; height: 72px; object-fit: contain; }
.sochi-show-detail h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 20px;
}
.show-detail-date {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.show-detail-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.sochi-show-detail p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.sochi-show-detail.grand h2 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  /* Hero */
  .sochi-hero { height: 240px; margin-top: 56px; }
  .sochi-hero-content h1 { font-size: 1.8rem; }
  .sochi-hero-content p { font-size: 0.75rem; letter-spacing: 1px; }
  .sochi-hero-logo { width: 48px; height: 48px; margin-bottom: 12px; }

  /* Tabs — horizontal scroll */
  .sochi-tabs {
    gap: 2px;
    padding: 8px 12px;
    top: 56px;
    justify-content: flex-start;
  }
  .sochi-tab {
    font-size: 0.7rem;
    padding: 7px 10px;
    flex-shrink: 0;
  }

  /* Content sections */
  .sochi-content .section { padding: 32px 16px; }

  /* Show cards */
  .sochi-show-card { padding: 14px; gap: 12px; }
  .show-icon { width: 40px; height: 40px; font-size: 1.3rem; border-radius: 10px; }
  .show-icon img { width: 28px; height: 28px; }
  .show-info h3 { font-size: 0.9rem; }
  .show-info p { font-size: 0.75rem; }
  .show-arrow { font-size: 1rem; }

  /* Participants preview */
  .sochi-participants-preview { padding: 28px 16px; }
  .sochi-participants-preview p { font-size: 0.9rem; }

  /* Venue */
  .sochi-venue { flex-direction: column; text-align: center; padding: 24px 0; gap: 16px; }
  .venue-icon { margin: 0 auto; font-size: 2.4rem; }
  .venue-info h3 { font-size: 1.3rem; }
  .venue-info p { font-size: 0.85rem; }

  /* Broadcaster */
  .sochi-broadcaster { padding: 32px 0; }
  .broadcaster-logo { max-width: 160px; }

  /* Presented by */
  .sochi-presented { padding: 32px 0; }
  .presented-badge { font-size: 1.5rem; letter-spacing: -0.5px; }

  /* Credits — stack on mobile */
  .sochi-credits { grid-template-columns: 1fr 1fr; }
  .credit-item { padding: 20px 16px; border-bottom: 1px solid var(--border); }
  .credit-role { font-size: 0.65rem; }
  .credit-name { font-size: 1.1rem; }

  /* Show detail */
  .sochi-show-detail { padding: 60px 16px; }
  .sochi-show-detail h2 { font-size: 2.2rem; letter-spacing: -1px; }
  .show-detail-icon { font-size: 3rem; margin-bottom: 20px; }
  .show-detail-icon img { width: 56px; height: 56px; }
  .show-detail-date { font-size: 0.85rem; }
  .show-detail-venue { font-size: 0.8rem; }
  .sochi-show-detail p { font-size: 0.88rem; }

  /* Section headers spacing */
  .sochi-content .section-header { margin-bottom: 16px; }
  .sochi-content .section-header h2 { font-size: 1.3rem; }
}

/* ===== WATCH / STREAM ===== */
.watch-page {
  padding-top: 70px;
}

.watch-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.watch-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.watch-tab:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.watch-tab.active { color: var(--text); background: rgba(181,5,52,0.12); font-weight: 600; }
.watch-tab.grand.active { background: rgba(255,215,0,0.08); }
.watch-tab-icon { font-size: 1rem; display: inline-flex; align-items: center; }
.watch-tab-icon img { width: 20px; height: 20px; object-fit: contain; }

/* Player */
.watch-player-area {
  background: #000;
  max-width: 960px;
  margin: 0 auto;
}
.watch-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.watch-player > * {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.watch-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Small "Watch on YouTube" fallback badge, not blocking the video */
.watch-player .yt-fallback {
  top: auto; left: auto;
  bottom: 10px; right: 12px;
  width: auto; height: auto;
  z-index: 5;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.watch-player .yt-fallback:hover { color: #fff; background: rgba(0,0,0,0.8); }
.watch-player .loader {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  padding: 0;
}

/* Placeholder with animated orbs */
.watch-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #050505;
}
.watch-placeholder-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
}
.watch-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.7;
  filter: drop-shadow(0 0 20px rgba(181,5,52,0.3));
}
.watch-placeholder-icon img { width: 56px; height: 56px; object-fit: contain; }
.watch-placeholder h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.watch-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.watch-placeholder-date {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 500;
}

/* Fullscreen button */
.player-fs-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, color 0.2s, background 0.2s;
}
.watch-placeholder:hover .player-fs-btn { opacity: 1; }
.player-fs-btn:hover { color: #fff; background: rgba(255,255,255,0.15); }

/* YouTube-style top bar (only visible in fullscreen on mouse move) */
.player-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px 24px;
  background: linear-gradient(rgba(0,0,0,0.75), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.player-topbar.visible { opacity: 1; }
.player-topbar-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Fullscreen styles */
.watch-placeholder:fullscreen {
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-placeholder:fullscreen .orbs-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}
.watch-placeholder:fullscreen .watch-placeholder-content {
  padding: 60px 40px;
}
.watch-placeholder:fullscreen .watch-placeholder-content h2 {
  font-size: 2.5rem;
}
.watch-placeholder:fullscreen .watch-placeholder-content p {
  font-size: 1.15rem;
}
.watch-placeholder:fullscreen .watch-placeholder-date {
  font-size: 1.05rem;
}
.watch-placeholder:fullscreen .watch-placeholder-icon img {
  width: 80px;
  height: 80px;
}
.watch-placeholder:fullscreen .player-fs-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
}
.watch-placeholder:fullscreen:hover .player-fs-btn { opacity: 1; }
.watch-placeholder:fullscreen .player-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
}
.watch-placeholder:fullscreen .player-topbar-title {
  font-size: 1.2rem;
}

/* Animated orbs */
.orbs-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.live-pulse {
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  margin-bottom: 16px;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(255,0,0,0); }
}

/* Info section */
.watch-info {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
}
.watch-show-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.watch-show-icon {
  font-size: 2.2rem;
  display: inline-flex; align-items: center;
}
.watch-show-icon img { width: 40px; height: 40px; object-fit: contain; }
.watch-show-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
}
.watch-show-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
}
.status-badge.upcoming {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
.status-badge.live {
  background: rgba(255,0,0,0.12);
  color: #ff4444;
  animation: liveGlow 2s ease-in-out infinite;
}
@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,0.2); }
  50% { box-shadow: 0 0 12px 2px rgba(255,0,0,0.15); }
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}
.status-badge.ended {
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
}

/* Meta row (status + viewers) */
.watch-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.watch-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 5px 12px;
  border-radius: 20px;
}
.viewers-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.watch-viewers.waiting .viewers-dot,
.viewers-dot.waiting {
  background: #888;
  animation: viewerPulse 2s ease-in-out infinite;
}
.watch-viewers.live .viewers-dot,
.viewers-dot.live {
  background: #ff0000;
  animation: viewerPulse 1.5s ease-in-out infinite;
}
.watch-viewers.live {
  color: #ff4444;
  background: rgba(255,0,0,0.08);
}
@keyframes viewerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.watch-description {
  margin-bottom: 24px;
}
.watch-description p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Links */
.watch-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.watch-link:hover {
  border-color: var(--primary);
  background: rgba(181,5,52,0.08);
}
.watch-link.donate {
  border-color: rgba(255,215,0,0.3);
  color: #FFD700;
}
.watch-link.donate:hover {
  border-color: #FFD700;
  background: rgba(255,215,0,0.08);
}

/* Detail cards — connected horizontal panel */
.watch-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.watch-detail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 20px;
  transition: background 0.2s;
}
.watch-detail-card:last-child { border-right: none; }
.watch-detail-card:hover { background: var(--bg-card-hover); }
.watch-detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  opacity: 0.7;
}
.watch-detail-text {
  display: flex;
  flex-direction: column;
}
.watch-detail-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.watch-detail-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* Other shows */
.watch-other h3 {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.watch-other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.watch-other-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 18px;
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
}
.watch-other-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.watch-other-card:nth-child(2n) { border-right: none; }
.watch-other-card:hover { background: var(--bg-card-hover); }
.watch-other-card:hover::after { transform: scaleX(1); }
.watch-other-card.grand::after { background: var(--gold); }
.watch-other-card.grand:hover::after { transform: scaleX(1); }
.watch-other-icon { font-size: 1.5rem; display: inline-flex; align-items: center; }
.watch-other-icon img { width: 28px; height: 28px; object-fit: contain; }
.watch-other-card strong {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
}
.watch-other-card span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .watch-page { padding-top: 56px; }
  .watch-tabs { gap: 4px; padding: 10px 12px; }
  .watch-tab { font-size: 0.72rem; padding: 8px 10px; }
  .watch-info { padding: 20px 16px; }
  .watch-show-header h1 { font-size: 1.2rem; }
  .watch-show-icon { font-size: 1.6rem; }
  .watch-show-icon img { width: 32px; height: 32px; }
  .watch-details { grid-template-columns: 1fr; }
  .watch-other-grid { grid-template-columns: 1fr; }
  .watch-placeholder h2 { font-size: 1.1rem; }
  .watch-placeholder-icon { font-size: 2.2rem; }
  .watch-placeholder-icon img { width: 44px; height: 44px; }
}

/* ===== EUROVISION WATCH PAGE ===== */
.euro-watch .watch-tab.active { background: rgba(0,159,212,0.15); }
.euro-watch .watch-tab.grand.active { background: rgba(155,79,245,0.15); }

.euro-header-bar {
  background: linear-gradient(135deg, rgba(0,40,80,0.9) 0%, rgba(30,10,60,0.9) 100%);
  border-bottom: 1px solid rgba(0,159,212,0.2);
  padding: 14px 24px;
}
.euro-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.euro-heart {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(155,79,245,0.35));
}
.euro-title-text {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #009FD4, #9B4FF5, #E8336D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.euro-year { font-weight: 900; }
.euro-subtitle-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.euro-show-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.euro-placeholder-icon {
  margin-bottom: 10px;
  filter: drop-shadow(0 0 20px rgba(0,159,212,0.4));
}
.euro-placeholder-icon img { width: 56px; height: 56px; object-fit: contain; }
.euro-countdown {
  justify-content: center;
  flex-wrap: nowrap;
}

@media (max-width: 768px) {
  .euro-watch.watch-page { padding-top: 56px; }
  .euro-header-bar { padding: 10px 14px; }
  .euro-logo-row { gap: 10px; }
  .euro-heart { width: 30px; height: 30px; }
  .euro-title-text { font-size: 0.82rem; }
  .euro-subtitle-text { display: none; }
  .euro-show-icon { font-size: 1.4rem; }

  /* Compact placeholder for small player height */
  .euro-watch .watch-placeholder-content { padding: 12px 16px; gap: 0; }
  .euro-watch .euro-placeholder-icon { margin-bottom: 6px; }
  .euro-watch .euro-placeholder-icon img { width: 36px; height: 36px; }
  .euro-watch .watch-placeholder h2 { font-size: 0.95rem; margin-bottom: 2px; }
  .euro-watch .watch-placeholder-content .countdown-label { font-size: 0.72rem; margin-top: 2px; }
  .euro-watch .euro-countdown { margin-top: 8px; gap: 4px; }
  .euro-watch .euro-countdown .cd-block { min-width: 40px; }
  .euro-watch .euro-countdown .cd-num { font-size: 1.3rem; }
  .euro-watch .euro-countdown .cd-lbl { font-size: 0.5rem; margin-top: 2px; letter-spacing: 1px; }
  .euro-watch .euro-countdown .cd-sep { font-size: 1rem; margin-top: -8px; }
}

/* ===== ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-text p:first-of-type {
  font-size: 1.05rem;
  color: rgba(242,242,242,0.8);
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin-left: -23px;
}

.about-text p strong { color: var(--text); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 32px 24px;
  text-align: left;
  transition: background 0.2s;
  position: relative;
}
.stat-card:nth-child(2n) { border-right: none; }
.stat-card:nth-last-child(-n+2) { border-bottom: none; }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.stat-card:hover { background: var(--bg-card-hover); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-card .number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -3px;
  color: var(--text);
  line-height: 1;
}

.stat-card .label {
  color: var(--text-dim);
  font-size: 0.67rem;
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== CAREER PAGE ===== */
.career-section {
  max-width: 800px;
  margin: 0 auto;
}

.career-landing {
  margin-top: 80px;
}

.career-logo {
  text-align: center;
  margin-bottom: 24px;
}

.career-logo img {
  max-width: 360px;
  height: auto;
}

.career-title {
  font-family: var(--font-display);
  text-align: left;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2.5px;
  margin-bottom: 48px;
  line-height: 0.95;
  color: var(--text);
}

.career-description {
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 32px 0;
  margin-bottom: 40px;
}

.career-description h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text);
}

.career-description > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.career-block {
  background: transparent;
  border: none;
  border-left: 3px solid var(--border);
  border-radius: 0;
  padding: 16px 20px;
  margin: 20px 0;
  transition: border-color 0.2s;
}

.career-block:hover { border-left-color: var(--primary); }

.career-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.career-block p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.career-block ul {
  list-style: none;
  padding: 0;
}

.career-block ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.6;
}

.career-block ul li::before {
  content: '—';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.career-warning {
  border-left-color: var(--primary);
  background: rgba(181, 5, 52, 0.04);
}

.career-warning h3 {
  color: var(--primary-light);
}

.career-blacklist {
  margin-top: 12px;
  color: var(--text-muted) !important;
  font-size: 0.88rem;
}

.career-link {
  color: var(--primary-light) !important;
  text-decoration: underline !important;
  font-weight: 600;
  transition: color 0.2s;
}

.career-link:hover {
  color: #ff1a5e !important;
}

.career-selection {
  text-align: center;
  margin-top: 32px;
}

.career-type-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.career-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 48px;
  background: transparent;
  border: none;
  border-top: 3px solid var(--border);
  border-radius: 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 180px;
  position: relative;
}

.career-type-btn::after {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.career-type-btn:hover {
  color: var(--text);
  border-top-color: transparent;
}
.career-type-btn:hover::after { transform: scaleX(1); }

.career-type-btn.active {
  border-top-color: transparent;
  color: var(--text);
}
.career-type-btn.active::after { transform: scaleX(1); }

.career-type-icon {
  font-size: 2.4rem;
  filter: grayscale(1);
  transition: filter 0.3s;
}
.career-type-btn:hover .career-type-icon,
.career-type-btn.active .career-type-icon { filter: none; }

.career-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.career-checkbox input[type="checkbox"] {
  display: none;
}

.career-checkbox .checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #333;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  margin-top: 1px;
}

.career-checkbox input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.career-checkbox input:checked + .checkmark::after {
  content: '\2713';
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}

.career-submit-btn {
  padding: 18px 60px;
  font-size: 0.88rem;
  border-radius: 0;
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: none;
  border-top: 2px solid rgba(255,255,255,0.06);
  cursor: not-allowed;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.career-submit-btn.active {
  background: var(--primary);
  color: white;
  border-top-color: var(--primary);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(181, 5, 52, 0.4);
}

.career-submit-btn.active:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(181, 5, 52, 0.5);
}

/* ===== APPLICATION FORM ===== */
.application-form {
  margin-top: 80px;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  overflow: visible;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.form-progress {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.form-body {
  padding: 28px 0;
}

.form-section-intro {
  margin-bottom: 24px;
}

.form-section-intro h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-section-intro p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.form-info-block {
  background: transparent;
  border: none;
  border-left: 3px solid var(--border);
  border-radius: 0;
  padding: 12px 20px;
  margin: 16px 0;
  transition: border-color 0.2s;
}
.form-info-block:hover { border-left-color: var(--primary); }

.form-info-block h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-info-block p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.form-info-block ul {
  list-style: none;
  padding: 0;
}

.form-info-block ul li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.5;
}

.form-info-block ul li::before {
  content: '\2022';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 2px;
}

.form-info-block.form-warning {
  border-left-color: var(--primary);
  background: rgba(181, 5, 52, 0.04);
}

.form-info-block.form-warning h4 {
  color: var(--primary-light);
}

.form-blacklist-note {
  margin-top: 8px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-label .required {
  color: var(--primary-light);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: white;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,5,52,0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option {
  background: #1a1a1a;
  color: white;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-radio-group {
  display: flex;
  gap: 20px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-radio input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #333;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--primary);
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.activity-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.activity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-btn:hover {
  border-color: #444;
  color: var(--text);
}

.activity-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.form-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-congrats, .form-congrats-final {
  text-align: center;
  padding: 60px 20px;
}

.congrats-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 40px rgba(181,5,52,0.3));
}

.form-congrats h3, .form-congrats-final h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 0.95;
  margin-bottom: 20px;
}

.form-congrats p, .form-congrats-final p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== HISTORY ===== */
.coming-soon {
  text-align: center;
  padding: 120px 24px;
  position: relative;
}
.coming-soon::before {
  content: 'СКОРО';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 20vw;
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.coming-soon > * { position: relative; z-index: 1; }

.coming-soon h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
  line-height: 0.95;
}

.coming-soon p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== VOTING ===== */
.vote-unavailable {
  text-align: center;
  padding: 120px 24px;
  position: relative;
}

.vote-unavailable h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2.5px;
  margin-bottom: 16px;
  line-height: 0.95;
}

.vote-unavailable p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 360px;
  margin: 0 auto;
}

.vote-unavailable .vote-icon {
  font-size: 4rem;
  margin-bottom: 32px;
  opacity: 0.15;
  filter: drop-shadow(0 0 40px rgba(181,5,52,0.5));
}

/* ===== CENTER MESSAGE ===== */
.center-message {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== PARTNERS ===== */
.partners-section {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.partners-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0.4;
}

.partner-logo {
  width: 64px;
  height: 64px;
  background: #1a1a1a;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #555;
  transition: all 0.3s;
}

.partner-logo:hover { opacity: 0.7; transform: scale(1.05); }

.partner-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s;
}

.partner-logo-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo-fntsy {
  height: 62px;
}

@media (max-width: 768px) {
  .partners-section { padding: 36px 20px; }
  .partners-logos { gap: 16px; }
  .partner-logo-img { height: 64px; }
  .partner-logo-fntsy { height: 42px; }
}

@media (max-width: 480px) {
  .partners-section { padding: 28px 16px; }
  .partners-section h3 { font-size: 0.95rem; }
  .partners-logos { gap: 12px; flex-wrap: wrap; }
  .partner-logo-img { height: 48px; }
  .partner-logo-fntsy { height: 32px; }
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 24px 40px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-right {
  text-align: right;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.25s;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.footer-socials a:hover {
  color: var(--text);
  border-color: var(--primary);
  background: rgba(181,5,52,0.08);
}

.footer-hearts {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  opacity: 0.15;
}

.footer-hearts svg { width: 32px; height: 32px; }

.footer-copy {
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-right { text-align: left; }
  .footer-socials { justify-content: flex-start; }
  .footer-hearts { justify-content: flex-start; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-red { background: var(--primary); color: white; }
.btn-red:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(181,5,52,0.45); }
.btn-small { padding: 7px 16px; font-size: 0.78rem; }
.btn-danger { background: #c0392b; color: white; }
.btn-danger:hover { background: #a93226; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.12); }
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--text); background: rgba(255,255,255,0.04); }

/* ===== ADMIN ===== */
.admin-login {
  max-width: 400px;
  margin: 140px auto 80px;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  padding: 48px 0 0;
  text-align: left;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-login h2 {
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: -1.5px;
  line-height: 0.95;
}

.form-group { margin-bottom: 20px; text-align: left; }

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-bottom-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-error { color: var(--primary-light); font-size: 0.78rem; margin-top: 8px; letter-spacing: 0.5px; }

.admin-panel {
  max-width: 850px;
  margin: 100px auto 80px;
  padding: 0 24px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-panel > h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--primary);
  padding-top: 24px;
}

.admin-section {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 0;
  margin-bottom: 8px;
}

.admin-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.admin-item:last-child { border-bottom: none; }
.admin-item .info { flex: 1; }
.admin-item .info strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.admin-item .info small { color: var(--text-muted); font-size: 0.75rem; }
.admin-item .actions { display: flex; gap: 6px; }

.admin-form {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.admin-form.visible { display: block; animation: fadeInUp 0.3s ease; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a1a;
  color: white;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1), slideOut 0.4s ease 2.6s forwards;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid #2a2a2a;
}

.toast.error { background: #e74c3c; border-color: #e74c3c; }
.toast.success { background: #1a8a4a; border-color: #1a8a4a; }

@keyframes slideIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateY(0) scale(1); opacity: 1; }
  to { transform: translateY(40px) scale(0.95); opacity: 0; }
}

/* ===== LOADER ===== */
.loader {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.loader::after {
  content: '';
  width: 28px;
  height: 28px;
  border: 2px solid #1a1a1a;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== DIVIDER ===== */
.section-divider {
  width: 100%;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 0;
  margin: 0 0 48px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  header { top: 8px; width: calc(100% - 24px); }
  nav { padding: 0 16px; height: 48px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: rgba(14,14,14,0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 12px;
    gap: 2px;
    border-radius: 16px;
    border: 1px solid var(--border);
    animation: fadeInUp 0.3s ease;
  }

  .nav-links.open { display: flex; }
  .nav-right { display: none; }
  .burger { display: flex; flex-direction: column; }

  .mobile-only { display: list-item; }

  .nav-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 8px;
    list-style: none;
  }

  .nav-career-link {
    color: var(--primary-light) !important;
    font-weight: 600 !important;
  }

  .nav-watch-link {
    font-weight: 600 !important;
  }

  .nav-euro-link {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
  }

  .nav-euro-odds-link {
    color: #9B4FF5 !important;
    font-weight: 600 !important;
  }

  .hero-slider { height: 360px; }
  .slide { padding: 28px; }
  .slide-content h2 { font-size: 2.2rem; letter-spacing: -1.5px; }
  .section { padding: 52px 16px; }
  .section-header h2 { font-size: 1.8rem; }

  .about-content { grid-template-columns: 1fr; gap: 32px; }

  .page-banner { padding: 48px 24px; margin-top: 72px; }
  .page-banner h1 { font-size: 2rem; letter-spacing: -1px; }
  .countdown-number { font-size: 2rem; }
  .countdown-block { min-width: 56px; }

  .winners-banner { height: 240px; }
  .winners-banner .winner-content { padding: 24px; flex-direction: column; gap: 8px; }

  .sochi-credits { grid-template-columns: 1fr; }

  .career-landing { margin-top: 72px; }
  .career-title { font-size: 2.4rem; letter-spacing: -1.5px; }
  .career-logo { text-align: center; }
  .career-logo img { max-width: 280px; width: 80%; }
  .career-description { padding: 24px 0; }
  .career-type-btn { padding: 24px 32px; min-width: 140px; }
  .career-type-icon { font-size: 2rem; }
  .application-form { margin-top: 72px; }
  .form-header { padding: 20px 0 16px; }
  .form-body { padding: 20px 0; }
  .form-footer { padding: 16px 0; }
}

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; grid-auto-rows: 340px; }
}

@media (max-width: 480px) {
  .participants-grid { grid-template-columns: 1fr; gap: 6px; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .countdown { gap: 10px; }
  .countdown-number { font-size: 1.6rem; }
  .countdown-sep { font-size: 1.4rem; }
  .section { padding: 48px 16px; }
  .section-header h2 { font-size: 1.5rem; letter-spacing: -0.3px; }
  .page-banner { padding: 40px 20px; border-radius: 0; }
  .page-banner h1 { font-size: 2rem; letter-spacing: -1px; }
  .career-type-buttons { flex-direction: column; gap: 0; }
  .career-type-btn { padding: 20px 24px; min-width: unset; width: 100%; flex-direction: row; justify-content: flex-start; border-top: 1px solid var(--border); }
  .career-type-btn::after { top: -1px; bottom: auto; height: 3px; }
  .career-checkbox { font-size: 0.8rem; }
  .form-body { padding: 16px 0; }
  .form-header { padding: 16px 0 12px; }
  .form-footer { padding: 14px 0; flex-direction: column; }
  .form-footer .btn { width: 100%; text-align: center; justify-content: center; }
  .host-facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .host-fact { padding: 14px 10px; }
  .host-fact-icon { font-size: 1.4rem; margin-bottom: 6px; }
  .host-fact-value { font-size: 1rem; }
  .host-fact-label { font-size: 0.68rem; }
  .pp-artist-row { flex-direction: column; text-align: center; gap: 12px; padding: 20px 16px; }
  .pp-flag { font-size: 2.4rem; }
  .pp-artist-name { font-size: 1.1rem; }
  .pp-divider { margin: 0 16px; }
  .pp-song-row { padding: 16px; }
  .pp-audio-row { padding: 14px 16px 18px; flex-wrap: wrap; }
  .pp-audio-track { width: 100%; }
  .pp-info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pp-info-card { padding: 14px 8px; }
  .pp-info-value { font-size: 1.1rem; }
  .watch-details { grid-template-columns: 1fr; gap: 8px; }
  .watch-detail-card { padding: 12px; }
  .watch-other-grid { grid-template-columns: 1fr; gap: 8px; }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; font-size: 0.8rem; }
}

/* ===== ODDS / PREDICTIONS PAGE ===== */

.odds-hero, .vote-hero {
  position: relative; height: 220px; overflow: hidden; margin-top: 64px;
  display: flex; align-items: center; justify-content: center;
}
.odds-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a12 40%, #250a18 60%, #0a0a0a 100%);
}
.odds-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 90%, rgba(181,5,52,0.18) 0%, transparent 60%);
}
.vote-hero .odds-hero-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #0a0f1a 40%, #0a1425 60%, #0a0a0a 100%);
}
.vote-hero .odds-hero-bg::after {
  background: radial-gradient(ellipse at 50% 90%, rgba(52,152,219,0.15) 0%, transparent 60%);
}
.odds-hero-content { position: relative; z-index: 2; text-align: center; }
.odds-hero-icon { font-size: 2rem; margin-bottom: 6px; }
.odds-hero-content h1 {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(135deg, #fff 30%, #aaa 100%); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.odds-hero-sub {
  font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; margin-top: 6px;
}

.odds-wrap, .vote-wrap { max-width: 820px; margin: 0 auto; }
.odds-empty { text-align: center; padding: 60px 20px; }
.odds-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.odds-empty h3 { font-size: 1.3rem; margin-bottom: 8px; }
.odds-empty p { color: var(--text-muted); }

/* --- Podium (desktop: 2nd | 1st tall | 3rd) --- */
.od-podium {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 12px; margin-bottom: 28px; padding: 0 12px;
}
.od-pod { cursor: pointer; text-align: center; flex: 1; max-width: 220px; position: relative; }
.od-pod-badge {
  width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #000; background: #999;
}
.od-pod-badge.gold-badge { background: none; font-size: 1.4rem; }
.od-pod-1 .od-pod-badge { background: none; }
.od-pod-2 .od-pod-badge { background: #c0c0c0; }
.od-pod-3 .od-pod-badge { background: #cd7f32; }

.od-pod-pillar {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 14px 18px; transition: all 0.3s ease;
}
.od-pod:hover .od-pod-pillar {
  transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 56px rgba(0,0,0,0.5);
}
.gold-pillar { border-color: rgba(255,215,0,0.35); background: linear-gradient(180deg, rgba(255,215,0,0.07) 0%, var(--bg-card) 100%); padding: 28px 14px 22px; }
.silver-pillar { border-color: rgba(192,192,192,0.25); background: linear-gradient(180deg, rgba(192,192,192,0.04) 0%, var(--bg-card) 100%); }
.bronze-pillar { border-color: rgba(205,127,50,0.25); background: linear-gradient(180deg, rgba(205,127,50,0.04) 0%, var(--bg-card) 100%); }

.od-pod-flag { font-size: 2.6rem; margin-bottom: 6px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.od-pod-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.od-pod-artist { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-pod-pct { font-size: 1.5rem; font-weight: 900; }
.od-pod-1 .od-pod-pct { color: var(--gold); }
.od-pod-2 .od-pod-pct { color: #c0c0c0; }
.od-pod-3 .od-pod-pct { color: #cd7f32; }

/* Top list fallback (< 3 voted) */
.od-top-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.od-top-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.2s;
}
.od-top-item:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.od-top-medal { font-size: 1.2rem; }
.od-top-flag { font-size: 1.6rem; }
.od-top-name { flex: 1; font-weight: 600; font-size: 0.95rem; }
.od-top-pct { font-weight: 800; font-size: 1rem; color: var(--gold); }

/* --- Info bar --- */
.od-info {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px 22px; margin-bottom: 24px;
}
.od-info-stats { display: flex; align-items: center; gap: 18px; }
.od-info-stat { display: flex; align-items: baseline; gap: 6px; }
.od-info-num { font-size: 1.2rem; font-weight: 800; }
.od-info-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.od-info-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }
.od-vote-btn {
  padding: 9px 20px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.82rem;
  text-decoration: none; transition: all 0.25s; flex-shrink: 0; white-space: nowrap;
}
.od-vote-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(181,5,52,0.3); }

/* --- Standings list --- */
.od-list { display: flex; flex-direction: column; gap: 5px; }
.od-list-head {
  font-size: 0.75rem; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; padding-left: 4px;
}
.od-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px; cursor: pointer; transition: all 0.2s;
  position: relative; overflow: hidden;
}
.od-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.25s ease;
  transform-origin: bottom;
}
.od-row:hover::before { transform: scaleY(1); }
.od-row:hover { background: var(--bg-card-hover); transform: translateX(3px); }
.od-row.lead { border-color: rgba(255,215,0,0.2); }
.od-row.lead::before { background: var(--gold); }
.od-row.lead:hover::before { transform: scaleY(1); }
.od-row.picked { border-color: rgba(46,204,113,0.2); }
.od-row.picked::before { background: #2ecc71; }

.od-row-pos { min-width: 24px; text-align: center; font-weight: 700; font-size: 0.82rem; color: var(--text-dim); flex-shrink: 0; }
.od-row.lead .od-row-pos { color: var(--gold); font-size: 0.95rem; }
.od-row-flag { font-size: 1.6rem; flex-shrink: 0; }
.od-row-main { flex: 1; min-width: 0; }
.od-row-top { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.od-row-country { font-size: 0.9rem; font-weight: 700; }
.od-pick-tag {
  font-size: 0.55rem; font-weight: 700; background: rgba(46,204,113,0.15);
  color: #2ecc71; padding: 2px 6px; border-radius: 3px; letter-spacing: 0.5px;
}
.od-row-artist {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.od-row-bar { height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
.od-row-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.5s ease;
}
.od-row.lead .od-row-fill { background: linear-gradient(90deg, #FFD700, #FFA500); }
.od-row.picked .od-row-fill { background: linear-gradient(90deg, #2ecc71, #27ae60); }

.od-row-end { text-align: right; flex-shrink: 0; min-width: 50px; }
.od-row-pct { font-size: 1rem; font-weight: 800; }
.od-row-pct span { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); }
.od-row.lead .od-row-pct { color: var(--gold); }
.od-row-vc { font-size: 0.62rem; color: var(--text-dim); margin-top: 1px; }

.od-foot {
  text-align: center; margin-top: 24px; padding: 14px; font-size: 0.75rem;
  color: var(--text-dim); background: rgba(255,255,255,0.02); border-radius: 8px;
}
.od-foot a { color: var(--primary-light); text-decoration: none; }
.od-foot a:hover { text-decoration: underline; }

/* ===== VOTE PAGE ===== */
.vc-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 14px 22px; margin-bottom: 20px;
}
.vc-bar-text { font-size: 0.88rem; color: var(--text-muted); }
.vc-bar-text strong { color: var(--text); }
.vc-bar-link {
  color: var(--primary-light); text-decoration: none; font-size: 0.82rem;
  font-weight: 600; white-space: nowrap; transition: color 0.2s;
}
.vc-bar-link:hover { color: var(--text); }

.vc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.vc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px; text-align: center; cursor: pointer; position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.vc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}
.vc-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.vc-card:hover::after { transform: scaleX(1); }
.vc-card.vc-sel { border-color: var(--primary); background: rgba(181,5,52,0.06); }
.vc-card.vc-sel::after { transform: scaleX(1); }
.vc-card.vc-pop { animation: vcPop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes vcPop { 0%{transform:scale(1)} 40%{transform:scale(1.05)} 100%{transform:scale(1)} }

.vc-check {
  position: absolute; top: -7px; right: -7px; width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff;
  box-shadow: 0 2px 8px rgba(181,5,52,0.4);
}
.vc-flag { font-size: 2.4rem; margin-bottom: 8px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3)); }
.vc-country { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.vc-artist { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 2px; }
.vc-song { font-size: 0.66rem; color: var(--text-dim); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vc-foot {
  text-align: center; margin-top: 24px; padding: 14px; font-size: 0.75rem;
  color: var(--text-dim); background: rgba(255,255,255,0.02); border-radius: 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .odds-hero, .vote-hero { height: 180px; margin-top: 56px; }
  .odds-hero-content h1 { font-size: 1.8rem; }
  .odds-hero-icon { font-size: 1.5rem; }
  .odds-hero-sub { font-size: 0.7rem; }

  .odds-wrap, .vote-wrap { padding: 0 12px; }

  .od-podium { gap: 8px; padding: 0; }
  .od-pod-pillar { padding: 16px 10px 14px; }
  .gold-pillar { padding: 22px 10px 16px; }
  .od-pod-flag { font-size: 2rem; }
  .od-pod-name { font-size: 0.8rem; }
  .od-pod-artist { font-size: 0.65rem; }
  .od-pod-pct { font-size: 1.2rem; }
  .od-pod-badge { width: 22px; height: 22px; font-size: 0.65rem; }

  .od-info { flex-direction: column; gap: 12px; padding: 14px; }
  .od-info-stats { flex-wrap: wrap; justify-content: center; }
  .od-vote-btn { width: 100%; text-align: center; }

  .od-row { padding: 10px 12px; gap: 10px; }
  .od-row-flag { font-size: 1.4rem; }
  .od-row-country { font-size: 0.82rem; }
  .od-row-artist { font-size: 0.7rem; }
  .od-row-pct { font-size: 0.9rem; }

  .vc-bar { flex-direction: column; gap: 8px; text-align: center; padding: 12px; }
  .vc-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
  .vc-card { padding: 16px 10px; }
  .vc-flag { font-size: 2rem; margin-bottom: 6px; }
  .vc-country { font-size: 0.82rem; }
  .vc-artist { font-size: 0.68rem; }
  .vc-song { font-size: 0.6rem; }
}

@media (max-width: 420px) {
  .odds-hero, .vote-hero { height: 150px; }
  .odds-hero-content h1 { font-size: 1.5rem; }

  .od-podium { flex-direction: column; align-items: stretch; gap: 6px; }
  .od-pod { max-width: 100%; }
  .od-pod-pillar, .gold-pillar { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px !important; }
  .od-pod-flag { font-size: 1.6rem; margin-bottom: 0; flex-shrink: 0; }
  .od-pod-name { font-size: 0.82rem; margin-bottom: 0; }
  .od-pod-artist { display: none; }
  .od-pod-pct { font-size: 1.1rem; margin-left: auto; flex-shrink: 0; }
  .od-pod-badge { display: none; }

  .od-row-pos { display: none; }
  .od-row-flag { font-size: 1.2rem; }
  .od-row { padding: 10px; gap: 8px; border-radius: 8px; }

  .vc-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .vc-card { padding: 14px 8px; border-radius: 10px; }
  .vc-flag { font-size: 1.6rem; }
  .vc-country { font-size: 0.78rem; }
}

/* ===== EURO ODDS PAGE ===== */
.euro-odds-hero {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 70px;
}
.euro-odds-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,40,100,0.95) 0%, rgba(40,5,80,0.95) 50%, rgba(80,5,40,0.9) 100%);
}
.euro-odds-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,159,212,0.25) 0%, rgba(155,79,245,0.15) 40%, transparent 70%);
}
.euro-odds-hero-content {
  position: relative;
  z-index: 2;
}
.euro-odds-heart {
  width: 64px; height: 64px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(155,79,245,0.5));
}
.euro-odds-hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(90deg, #009FD4, #9B4FF5, #E8336D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.euro-odds-hero-content p { color: var(--text-muted); font-size: 0.85rem; }

.euro-odds-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.euro-odds-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
}
.euro-odds-tab:hover:not(.locked) { color: var(--text); background: rgba(255,255,255,0.05); }
.euro-odds-tab.active { color: var(--text); background: rgba(0,159,212,0.12); font-weight: 600; }
.euro-odds-tab.locked { opacity: 0.45; cursor: default; }
.euro-odds-tab-date { font-size: 0.68rem; color: var(--text-muted); margin-left: 2px; }
.euro-tab-lock { font-size: 0.7rem; }

.euro-odds-wrap { max-width: 800px; margin: 0 auto; }

/* Podium — Euro colours */
.euro-gold-pillar   { background: linear-gradient(135deg, rgba(0,159,212,0.25), rgba(155,79,245,0.3)) !important; border: 1px solid rgba(0,159,212,0.4) !important; }
.euro-silver-pillar { background: linear-gradient(135deg, rgba(155,79,245,0.15), rgba(232,51,109,0.2)) !important; border: 1px solid rgba(155,79,245,0.3) !important; }
.euro-bronze-pillar { background: linear-gradient(135deg, rgba(232,51,109,0.15), rgba(0,159,212,0.15)) !important; border: 1px solid rgba(232,51,109,0.3) !important; }

/* Bar fill — Euro gradient */
.euro-bar-fill { background: linear-gradient(90deg, #009FD4, #9B4FF5) !important; }

/* Vote button — Euro */
.euro-vote-btn {
  background: linear-gradient(135deg, #009FD4, #9B4FF5) !important;
  border: none !important;
  color: #fff !important;
}
.euro-vote-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Running order tag */
.euro-run-num {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
}

/* Auto-qualifiers section */
.euro-auto-section {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,210,0,0.15);
  border-radius: 12px;
}
.euro-auto-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.euro-auto-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.euro-auto-flag { font-size: 1.4rem; }
.euro-auto-country { font-weight: 700; }
.euro-auto-artist { color: var(--text-muted); font-size: 0.8rem; }
.euro-auto-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  color: #d4a017;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
}
.euro-auto-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.82rem;
}

/* ===== EURO VOTE PAGE ===== */
.euro-vote-wrap { max-width: 800px; margin: 0 auto; }
.euro-vote-header {
  text-align: center;
  margin-bottom: 28px;
}
.euro-vote-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.euro-vote-header p { color: var(--text-muted); font-size: 0.88rem; }

.euro-vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px;
}
.euro-vote-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
}
.euro-vote-card:hover {
  border-color: rgba(0,159,212,0.4);
  background: rgba(0,159,212,0.05);
}
.euro-vote-card.selected {
  border-color: #009FD4;
  background: rgba(0,159,212,0.1);
  box-shadow: 0 0 0 2px rgba(0,159,212,0.25);
}
.euro-vc-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 20px;
  text-align: center;
}
.euro-vc-flag { font-size: 2rem; flex-shrink: 0; }
.euro-vc-info { flex: 1; min-width: 0; }
.euro-vc-country { font-size: 0.95rem; font-weight: 700; }
.euro-vc-artist { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }
.euro-vc-song { font-size: 0.72rem; color: var(--primary-light); font-style: italic; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.euro-vc-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.18s;
}
.euro-vote-card.selected .euro-vc-check {
  background: linear-gradient(135deg, #009FD4, #9B4FF5);
  border-color: transparent;
  color: #fff;
}

.euro-vote-actions {
  justify-content: center;
  padding: 28px 0 12px;
}
.euro-confirm-btn {
  background: linear-gradient(135deg, #009FD4, #9B4FF5);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.euro-confirm-btn:disabled { opacity: 0.4; cursor: default; }
.euro-confirm-btn:not(:disabled):hover { opacity: 0.88; transform: translateY(-2px); }
.euro-confirm-btn.saved { background: linear-gradient(135deg, #22c55e, #16a34a); }

/* Sealed / blurred results — heavy enough that numbers are unreadable */
.sealed-blur {
  filter: blur(14px);
  user-select: none;
  pointer-events: none;
  transition: filter 0.6s ease;
}

/* Results revealed banner */
.euro-reveal-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(0,159,212,0.12), rgba(155,79,245,0.12));
  border: 1px solid rgba(0,159,212,0.25);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
}
.euro-reveal-fireworks { font-size: 1.6rem; flex-shrink: 0; }
.euro-reveal-text { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.euro-reveal-text span { color: var(--text-muted); font-weight: 400; display: block; font-size: 0.8rem; margin-top: 2px; }

/* Qualify / eliminated markers */
.euro-q-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #009FD4, #22c55e);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}
.euro-eliminated {
  opacity: 0.45;
}
.euro-eliminate .od-row-fill {
  background: var(--text-muted) !important;
}
.euro-qualify-divider {
  text-align: center;
  position: relative;
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.euro-qualify-divider::before,
.euro-qualify-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: var(--border);
}
.euro-qualify-divider::before { left: 0; }
.euro-qualify-divider::after  { right: 0; }

/* Voting closed tag in info bar */
.od-vote-btn.euro-vote-closed-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: default;
  pointer-events: none;
}

/* Vote closed page */
.euro-vote-closed {
  text-align: center;
  padding: 70px 20px;
}
.evc-icon { font-size: 3rem; margin-bottom: 16px; }
.evc-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #009FD4, #9B4FF5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.evc-sub { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.evc-mypicks { margin: 0 auto 24px; display: inline-block; }
.evc-mypicks-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 8px; }
.evc-mypicks-flags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; font-size: 2rem; }

/* Multi-pick counter */
.euro-vote-counter {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.euro-vote-counter span {
  color: #009FD4;
  font-size: 1.05rem;
}

/* Maxed-out (10/10 reached) — dim unselected cards */
.euro-vote-card.maxed {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .euro-odds-hero { height: 160px; margin-top: 56px; }
  .euro-odds-hero-content h1 { font-size: 1.4rem; }
  .euro-odds-heart { width: 44px; height: 44px; }
  .euro-odds-tabs { gap: 4px; padding: 10px 12px; }
  .euro-odds-tab { font-size: 0.72rem; padding: 8px 10px; }
  .euro-vote-grid { grid-template-columns: 1fr; }
  .euro-auto-badge { margin-left: 0; }
}

/* ===== Vote Points UI ===== */
.vote-points-btn {
  transition: all .15s;
  user-select: none;
  -webkit-user-select: none;
}
.vote-points-btn:hover:not(:disabled) {
  background: rgba(255,255,255,.1);
  border-color: var(--primary) !important;
}
.vote-points-btn:active:not(:disabled) {
  transform: scale(.9);
}
.vote-points-card {
  transition: all .2s;
}
.vote-points-card:has(.vote-points-value:not([style*="var(--text-dim)"])) {
  border-color: var(--primary) !important;
  background: rgba(181,5,52,.08) !important;
}


/* ===== SHOP (Solutions Media) — modernist design ===== */
body.shop-mode { background: #f3f2f2; }
body.shop-mode > header#header, body.shop-mode > footer { display: none !important; }

.shop3 {
  --s3-bg: #f3f2f2; --s3-surface: #ffffff; --s3-text: #201e1d;
  --s3-accent: #1c86c9; --s3-accent-600: #1670ac; --s3-accent-700: #115a8c;
  --s3-divider: rgba(31,42,51,.2);
  --s3-shadow: 0 1px 2px rgba(45,43,43,.14);
  min-height: 100vh; background: var(--s3-bg); color: var(--s3-text);
  font-family: 'Archivo', system-ui, sans-serif; font-size: 15px; line-height: 1.55;
}
.shop3.dark {
  --s3-bg: #16171b; --s3-surface: #1f2126; --s3-text: #eef0f4;
  --s3-divider: rgba(255,255,255,.16);
  --s3-shadow: 0 1px 2px rgba(0,0,0,.5);
}
body.shop-mode:has(.shop3.dark) { background: #16171b; }
.shop3 h1, .shop3 h2, .shop3 h3 { font-family: 'Archivo', sans-serif; font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
.shop3 a { text-decoration: none; color: inherit; }
.shop3 .s3-wrap { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ds-like buttons/tags scoped to shop3 */
.shop3 .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 14px; line-height: 1.2; color: var(--s3-text);
  background: transparent; border: 1px solid transparent; padding: 8px 15px; border-radius: 12px;
}
.shop3 .btn-primary { background: var(--s3-accent); color: #fff; }
.shop3 .btn-primary:hover { background: var(--s3-accent-600); }
.shop3 .btn-secondary { border-color: var(--s3-divider); }
.shop3 .btn-secondary:hover { background: rgba(32,30,29,.07); }
.shop3.dark .btn-secondary:hover { background: rgba(255,255,255,.09); }
.shop3 .btn-icon { width: 36px; height: 36px; padding: 0; }
.shop3 .s3-btn-paper { background: #fff; color: #201e1d; }
.shop3 .s3-btn-paper:hover { background: #e6e4e4; }
.shop3 .s3-btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.shop3 .s3-btn-outline:hover { background: rgba(255,255,255,.12); }
.shop3 .tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; border-radius: 9px; font-weight: 600; }
.shop3 .tag-neutral { background: rgba(32,30,29,.08); color: inherit; }
.shop3.dark .tag-neutral { background: rgba(255,255,255,.12); }
.shop3 .tag-outline { border: 1px solid var(--s3-accent); color: var(--s3-accent); }

/* header */
.s3-head { position: sticky; top: 0; z-index: 50; background: var(--s3-bg); border-bottom: 1px solid var(--s3-divider); }
.s3-head-in { max-width: 1240px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; gap: 30px; }
.s3-brand { display: flex; align-items: flex-end; gap: 9px; user-select: none; }
.s3-brand-mark { line-height: .82; font-weight: 800; font-size: 22px; text-transform: uppercase; display: block; }
.s3-brand-mark > span { display: block; }
.s3-brand-row { display: flex !important; align-items: center; }
.s3-brand-row i { display: inline-block; width: 36px; height: 15px; background: var(--s3-accent); clip-path: polygon(0 0,100% 0,100% 100%,20% 100%); margin-left: 3px; }
.s3-brand-shop { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 3px; }
.s3-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.s3-nav a { font-weight: 800; font-size: 14px; cursor: pointer; }
.s3-nav a:hover { color: var(--s3-accent); }
.s3-head-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* featured */
.s3-featwrap { padding-top: 40px; }
.s3-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.s3-feat { position: relative; border: 1px solid var(--s3-divider); border-radius: 22px; overflow: hidden; box-shadow: var(--s3-shadow); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; }
.s3-feat-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,17,.86) 0%, rgba(20,18,17,.45) 42%, rgba(20,18,17,0) 72%); pointer-events: none; }
.s3-feat-body { position: relative; padding: 32px; color: #fff; }
.s3-feat-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--s3-accent); padding: 4px 10px; margin-bottom: 16px; border-radius: 999px; }
.s3-feat-body h2 { color: #fff; font-size: 42px; line-height: 1.02; margin-bottom: 12px; }
.s3-feat-body p { color: #fff; opacity: .88; font-size: 16px; line-height: 1.5; max-width: 42ch; margin: 0 0 22px; }

/* quick links */
.s3-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding-top: 20px; }
.s3-qcard { border: 1px solid var(--s3-divider); border-radius: 16px; box-shadow: var(--s3-shadow); background: var(--s3-surface); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.s3-qcard h3 { font-size: 18px; margin-bottom: 6px; }
.s3-qcard p { font-size: 13px; line-height: 1.5; opacity: .8; margin: 0 0 18px; flex: 1; }
.s3-qsoc { display: flex; gap: 8px; }

/* sections */
.s3-products { padding-top: 56px; }
.s3-sechead { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--s3-divider); padding-bottom: 14px; margin-bottom: 28px; }
.s3-sechead h2 { font-size: 34px; }
.s3-sechead-stack { display: block; }
.s3-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--s3-accent); }
.s3-viewall { font-weight: 800; font-size: 14px; color: var(--s3-accent); }
#reviews-sec, .s3-faq { padding-top: 64px; }
.s3-faq { padding-bottom: 72px; }

/* cards */
.s3-grid { display: grid; gap: 20px; }
.s3-grid-4 { grid-template-columns: repeat(4,1fr); }
.s3-grid-3 { grid-template-columns: repeat(3,1fr); }
.s3-card { border: 1px solid var(--s3-divider); border-radius: 16px; overflow: hidden; box-shadow: var(--s3-shadow); background: var(--s3-surface); display: flex; flex-direction: column; }
.s3-card:hover { border-color: var(--s3-accent); }
.s3-slot { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-weight: 800; font-size: 15px; letter-spacing: .06em; filter: grayscale(.25); }
.s3-slot-card { aspect-ratio: 16/10; border-bottom: 1px solid var(--s3-divider); }
.s3-slot-hero { border: 1px solid var(--s3-divider); border-radius: 16px; box-shadow: var(--s3-shadow); aspect-ratio: 16/11; font-size: 22px; }
.s3-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.s3-card-top { display: flex; align-items: center; justify-content: space-between; }
.s3-cat { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--s3-accent); }
.s3-card-body h3 { font-size: 19px; }
.s3-card-body > p { font-size: 13px; line-height: 1.5; opacity: .8; margin: 0; flex: 1; }
.s3-card-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.s3-card .btn { pointer-events: none; }

/* reviews */
.s3-review { border: 1px solid var(--s3-divider); border-radius: 16px; box-shadow: var(--s3-shadow); background: var(--s3-surface); padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.s3-stars { font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--s3-accent); }
.s3-review blockquote { font-weight: 800; font-size: 20px; line-height: 1.28; letter-spacing: -.01em; margin: 0; flex: 1; }
.s3-review figcaption { font-size: 13px; opacity: .65; }
.s3-review strong { opacity: 1; }

/* faq */
.s3-det { border-bottom: 1px solid var(--s3-divider); }
.s3-det summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 800; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Archivo', sans-serif; }
.s3-det summary::-webkit-details-marker { display: none; }
.s3-det summary span { color: var(--s3-accent); font-size: 24px; line-height: 1; }
.s3-det p { font-size: 15px; line-height: 1.6; opacity: .85; margin: 0; padding: 0 0 22px; max-width: 76ch; }

/* donate band */
.s3-donate { background: var(--s3-accent); color: #fff; }
.s3-donate .s3-wrap { padding-top: 64px; padding-bottom: 64px; }
.s3-donate h2 { color: #fff; font-size: 52px; line-height: 1.02; margin-bottom: 16px; max-width: 16ch; }
.s3-donate p { color: #fff; opacity: .9; font-size: 17px; line-height: 1.55; max-width: 52ch; margin: 0 0 28px; }

/* catalog */
.s3-catalog { padding-top: 40px; padding-bottom: 72px; }
.s3-pagehead { border-bottom: 1px solid var(--s3-divider); padding-bottom: 18px; margin-bottom: 24px; }
.s3-pagehead h1 { font-size: 44px; margin-top: 6px; }
.s3-filterrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.s3-seg { display: inline-flex; border: 1px solid var(--s3-divider); border-radius: 16px; overflow: hidden; box-shadow: var(--s3-shadow); }
.s3-seg-btn { cursor: pointer; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 13px; padding: 9px 18px; border: 0; background: transparent; color: var(--s3-text); }
.s3-seg-btn + .s3-seg-btn { border-left: 1px solid var(--s3-divider); }
.s3-seg-btn.active { background: var(--s3-accent); color: #fff; }
.s3-count { font-size: 13px; opacity: .6; }

/* product page */
.s3-product { padding-top: 28px; padding-bottom: 72px; }
.s3-back { font-weight: 800; font-size: 14px; color: var(--s3-accent); display: inline-block; margin-bottom: 24px; }
.s3-prod-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.s3-prod-top h1 { font-size: 44px; line-height: 1.02; margin: 8px 0 14px; }
.s3-prod-tagline { font-size: 17px; line-height: 1.55; opacity: .85; margin: 0 0 22px; }
.s3-prod-price { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.s3-prod-price > span:first-child { font-weight: 800; font-size: 28px; font-family: 'Archivo', sans-serif; }
.s3-spec { border-top: 1px solid var(--s3-divider); margin-top: 24px; }
.s3-spec > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--s3-divider); font-size: 14px; }
.s3-spec span { opacity: .6; }
.s3-spec b { font-weight: 800; font-family: 'Archivo', sans-serif; }
.s3-prod-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; margin-top: 56px; align-items: start; }
.s3-prod-cols h2 { font-size: 26px; margin-bottom: 16px; border-bottom: 1px solid var(--s3-divider); padding-bottom: 12px; }
.s3-overview { font-size: 16px; line-height: 1.65; opacity: .88; margin: 0; }
.s3-feature { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--s3-divider); font-size: 15px; line-height: 1.4; }
.s3-feature i { display: inline-block; width: 9px; height: 9px; background: var(--s3-accent); flex: none; border-radius: 50%; margin-top: 6px; }
.s3-more { margin-top: 64px; }

/* footer */
.s3-foot { border-top: 1px solid var(--s3-divider); background: var(--s3-bg); }
.s3-foot-in { max-width: 1240px; margin: 0 auto; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.s3-foot-brand { font-weight: 800; font-size: 15px; text-transform: uppercase; }
.s3-foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.s3-foot-links a { cursor: pointer; }
.s3-foot-links a:hover { color: var(--s3-accent); }
.s3-foot-note { font-size: 12px; opacity: .55; }

/* keep the Solutions ID page divider working */
.shop2-divider { height: 1px; background: rgba(0,0,0,.12); }

@media (max-width: 900px) {
  .s3-featured, .s3-prod-top, .s3-prod-cols { grid-template-columns: 1fr; }
  .s3-quick, .s3-grid-4 { grid-template-columns: repeat(2,1fr); }
  .s3-grid-3 { grid-template-columns: 1fr; }
  .s3-nav { display: none; }
}
/* ===== SOLUTIONS ID ===== */
.sid { min-height: 100vh; background: #fff; color: #14161f; display: flex; flex-direction: column; align-items: center; padding: 12vh 20px 60px; font-family: 'Outfit', sans-serif; }
.sid-logo { width: min(480px, 80vw); filter: invert(1); margin-bottom: 34px; }
.sid .shop2-divider { width: min(1500px, 94vw); margin: 0 0 8vh; background: rgba(0,0,0,.12); }
.sid-body { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(460px, 92vw); }
.sid-card { background: #d9d9d9; border-radius: 26px; width: 100%; padding: 44px 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.sid-card p { font-size: .95rem; line-height: 1.55; color: #333; }
.sid-card-icon { font-size: 2.2rem; }
.sid-input { width: 100%; border: none; border-radius: 12px; padding: 14px 16px; font-size: 1rem; background: #fff; font-family: inherit; }
.sid-input:focus { outline: 2px solid #0075ff; }
.sid-err { font-size: .82rem; color: #c00; min-height: 1em; }
.sid-enter { width: 100%; background: #0075ff; color: #fff; border: none; border-radius: 999px; padding: 18px; font-size: 1.05rem; font-weight: 800; cursor: pointer; font-family: inherit; }
.sid-enter:hover { filter: brightness(1.08); }
.sid-backlink { color: #888; font-size: .85rem; text-decoration: none; }

/* ===== DEVELOPER PORTAL ===== */
.portal { min-height: 100vh; background: #0c0e15; color: #f2f4fa; padding: 34px clamp(16px, 4vw, 56px) 60px; font-family: 'Outfit', sans-serif; }
.portal-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.portal-logo { width: min(560px, 70vw); height: auto; }
.portal-topbtns { margin-left: auto; display: flex; gap: 10px; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.portal-card { background: #181c2a; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.portal-card h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 4px; }
.portal-in { width: 100%; background: #0e1119; border: 1px solid rgba(255,255,255,.1); color: #f2f4fa; border-radius: 9px; padding: 10px 12px; font-size: .9rem; font-family: inherit; }
.portal-in:focus { outline: none; border-color: #2e6bff; }
.portal-in-s { width: 90px; flex-shrink: 0; }
.portal-row { display: flex; gap: 8px; align-items: center; }
.portal-row .portal-in { flex: 1; width: auto; }
.portal-file { font-size: .8rem; color: #aab1c5; display: flex; flex-direction: column; gap: 6px; }
.portal-out { font-size: .82rem; min-height: 1em; }
.portal-list { font-size: .82rem; color: #aab1c5; line-height: 1.7; max-height: 180px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; }
.portal-links { display: flex; flex-direction: column; gap: 8px; }
.portal-links a { color: #7ea2ff; font-weight: 700; font-size: .9rem; }
.portal-links a:hover { text-decoration: underline; }
.portal-hint { font-size: .78rem; color: #6d7488; }

/* real wordmark logo in the shop header */
.s3-brand img { height: 44px; width: auto; display: block; }
.shop3.dark .s3-brand img { filter: invert(1); }
