:root {
  --israel-blue: #0038b8;
  --israel-blue-light: #1e56d0;
  --israel-blue-dark: #002275;
  --israel-blue-glow: rgba(0, 56, 184, 0.45);
  --israel-white: #ffffff;
  --gold-accent: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.5);
  
  /* YouTube CMS & Google colors */
  --yt-cms-green: #0E9151;
  --yt-red: #FF0000;
  --g-blue: #4285F4;
  --g-red: #EA4335;
  --g-yellow: #FBBC05;
  --g-green: #34A853;

  --bg-dark: #040c1e;
  --bg-card: rgba(8, 26, 68, 0.75);
  --border-card: rgba(66, 133, 244, 0.35);
  --text-main: #f0f4ff;
  --text-muted: #9bb2e5;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 56, 184, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 145, 81, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(4, 12, 30, 0.95) 0%, #020712 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Google Color Utilities */
.g-blue { color: var(--g-blue); }
.g-red { color: var(--g-red); }
.g-yellow { color: var(--g-yellow); }
.g-green { color: var(--g-green); }

.g-blue-bg { background: linear-gradient(135deg, #4285F4, #1a73e8); }
.g-red-bg { background: linear-gradient(135deg, #FF0000, #cc0000); }
.g-yellow-bg { background: linear-gradient(135deg, #FBBC05, #f29900); }
.g-green-bg { background: linear-gradient(135deg, #0E9151, #0a6d3c); }
.gold-bg { background: linear-gradient(135deg, #ffd700, #ffaa00); }

/* Content Owner Specific Wax Colors */
.wax-thumb { background: linear-gradient(135deg, #0E9151, #096839); border-color: #15b868; }
.wax-mickey { background: linear-gradient(135deg, #0E9151, #096839); border-color: #15b868; }
.wax-lightsout { background: linear-gradient(135deg, #0E9151, #096839); border-color: #ffd700; box-shadow: 0 0 10px rgba(14, 145, 81, 0.6); }
.wax-eastlink-pub { background: linear-gradient(135deg, #443393, #2d206b); border-color: #6852d4; }
.wax-eastlink-mast { background: linear-gradient(135deg, #E57A27, #b25812); border-color: #ff9e54; }
.wax-bigband { background: linear-gradient(135deg, #287EC2, #185c92); border-color: #4da5ea; }
.wax-wmg { background: linear-gradient(135deg, #B21F70, #7d124c); border-color: #e6399a; }
.wax-landvogel { background: linear-gradient(135deg, #287EC2, #185c92); border-color: #4da5ea; }

/* Top Israeli Flag Ribbon */
.israel-ribbon {
  background: #ffffff;
  color: var(--israel-blue);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0, 56, 184, 0.3);
}

.ribbon-stripe {
  height: 4px;
  background-color: var(--israel-blue);
  width: 100%;
}

.ribbon-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 20px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #041235;
  font-size: 0.78rem;
  font-weight: 800;
}

.owner-name {
  color: #00257a;
}

.crossed-out-text {
  text-decoration: line-through;
  text-decoration-color: #d93025;
  text-decoration-thickness: 2px;
  opacity: 0.75;
}

.badge-term {
  background: #d93025;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #ffffff;
  letter-spacing: 0.5px;
}

.badge-restr {
  background: #f29900;
  color: #1a0f00;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.badge-upcom {
  background: #188038;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.divider {
  color: var(--israel-blue);
  font-size: 0.85rem;
  opacity: 0.5;
}

.hebrew-badge {
  font-family: 'Heebo', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  background: var(--israel-blue);
  color: #fff;
  padding: 1px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ribbon-tag {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
}

/* YOUTUBE CMS HEADER BAR with #0E9151 Background */
.yt-cms-header-bar {
  background-color: var(--yt-cms-green);
  color: #ffffff;
  padding: 10px 24px;
  box-shadow: 0 4px 15px rgba(14, 145, 81, 0.4);
  position: relative;
  z-index: 1000;
  border-bottom: 2px solid #ffffff;
}

.yt-cms-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cms-badge-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cms-icon-box {
  background-color: var(--yt-cms-green);
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cms-icon-box.secondary-cms {
  background-color: var(--yt-cms-green);
}

.cms-icon-img {
  height: 32px;
  width: auto;
  display: block;
}

.cms-details {
  display: flex;
  flex-direction: column;
}

.cms-label {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: #c4f7dc;
  text-transform: uppercase;
}

.cms-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cms-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cms-status-pill {
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #79ffa8;
}

/* Background floating stars */
.bg-stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-star {
  position: absolute;
  opacity: 0.12;
  color: #4285f4;
  font-size: 2.5rem;
  animation: floatUp 16s linear infinite;
  user-select: none;
}

@keyframes floatUp {
  0% { transform: translateY(105vh) rotate(0deg); opacity: 0.05; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Nav Header */
.top-nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1300px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(66, 133, 244, 0.2);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.magen-david-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px var(--israel-blue-light));
}

.star-poly {
  fill: none;
  stroke: #ffffff;
  stroke-width: 8;
  stroke-linejoin: round;
}

.poly1 { stroke: var(--g-blue); }
.poly2 { stroke: var(--gold-accent); }

.logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-knapptube {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 900;
}

.knapp-part {
  color: #ffffff;
  font-family: 'Cinzel', serif;
  background: linear-gradient(90deg, #ffffff, #c2d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 4px;
}

.tube-part {
  background: #FF0000;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sound-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.sound-btn:hover {
  background: var(--israel-blue);
  border-color: #fff;
  box-shadow: 0 0 14px var(--israel-blue-glow);
  transform: translateY(-2px);
}

.active-audio-btn {
  background: linear-gradient(135deg, rgba(0, 56, 184, 0.8), rgba(14, 145, 81, 0.8));
  border-color: #ffd700;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  animation: audioPulse 2.5s infinite alternate ease-in-out;
}

@keyframes audioPulse {
  0% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
  100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(14, 145, 81, 0.6); }
}

.shabbat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 56, 184, 0.35);
  border: 1px solid rgba(66, 133, 244, 0.5);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-green);
  box-shadow: 0 0 8px var(--g-green);
  animation: pulse 1.8s infinite;
}

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

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 30px 20px 45px;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

/* Eric's Face - Key Brand Asset */
.eric-portrait-wrap {
  position: relative;
  display: inline-block;
  margin: 16px auto 20px;
  width: 120px;
  height: 120px;
}

.eric-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 5px solid #ffd700;
  box-shadow: 0 0 0 6px rgba(0,56,184,0.5), 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(0,56,184,0.4);
  display: block;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eric-portrait:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 0 0 8px rgba(255,215,0,0.6), 0 0 60px rgba(255,215,0,0.8), 0 0 100px rgba(0,56,184,0.5);
}

.eric-portrait-ring {
  position: absolute;
  top: -12px; left: -12px; right: -12px; bottom: -12px;
  border-radius: 50%;
  border: 3px dashed #ffd700;
  animation: portraitSpin 8s linear infinite;
  z-index: 1;
}

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

.eric-portrait-label {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255,215,0,0.8);
}

/* Shamash face */
.shamash-face {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #ffd700;
  box-shadow: 0 0 8px rgba(255,215,0,0.7);
  display: block;
  margin: 3px auto;
  position: relative;
  z-index: 3;
}

.gold-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700);
  background-size: 200% auto;
  animation: shine 3s linear infinite;
  color: #040c1e;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 8px 24px;
  border-radius: 30px;
  box-shadow: 0 0 25px var(--gold-glow);
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0, 56, 184, 0.4);
}

.hero-title .space {
  display: inline-block;
  width: 20px;
}

.hebrew-subtitle {
  font-family: 'Heebo', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(66, 133, 244, 0.8);
}

.hero-tagline {
  font-size: 1.25rem;
  max-width: 860px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-tagline strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 32px;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.cta-btn:active {
  transform: translateY(1px) scale(0.98);
}

.primary-mazel {
  background: linear-gradient(135deg, #0038b8, #4285F4);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 0 25px rgba(0, 56, 184, 0.6);
}

.primary-mazel:hover {
  box-shadow: 0 0 35px rgba(66, 133, 244, 0.9);
}

.gold-btn {
  background: linear-gradient(135deg, #ffd700, #ff9900);
  color: #1a0f00;
}

.blue-btn {
  background: linear-gradient(135deg, #0E9151, #086637);
  color: #fff;
  border: 2px solid #ffffff;
  box-shadow: 0 0 20px rgba(14, 145, 81, 0.5);
}

.blue-btn:hover {
  background: linear-gradient(135deg, #13b868, #0E9151);
  box-shadow: 0 0 30px rgba(14, 145, 81, 0.8);
}

/* YouTube Search Section */
.search-section {
  margin: 20px auto 60px;
  max-width: 820px;
}

.search-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(66, 133, 244, 0.1);
}

.search-header {
  text-align: center;
  margin-bottom: 20px;
}

.yt-search-brand {
  font-size: 2.1rem;
  font-weight: 800;
}

.yt-inline {
  color: #ffffff;
  background: var(--yt-cms-green);
  padding: 3px 12px;
  border-radius: 8px;
  font-size: 1.4rem;
}

.search-tag-jewish {
  font-size: 0.8rem;
  background: var(--israel-blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.search-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 36px;
  padding: 8px 18px;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.search-bar-wrapper:focus-within {
  border-color: var(--g-blue);
  box-shadow: 0 0 20px rgba(66, 133, 244, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.search-icon {
  font-size: 1.2rem;
  margin-right: 12px;
  opacity: 0.7;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
}

.mic-icon {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.mic-icon:hover {
  transform: scale(1.2);
}

.search-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.search-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e8ff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lucky-btn {
  background: linear-gradient(90deg, rgba(66, 133, 244, 0.25), rgba(14, 145, 81, 0.4));
  border-color: rgba(66, 133, 244, 0.5);
}

.search-result-box {
  background: rgba(3, 15, 43, 0.85);
  border: 1px solid rgba(66, 133, 244, 0.3);
  border-radius: 16px;
  padding: 20px;
}

.result-header {
  margin-bottom: 10px;
}

.ai-overview-badge {
  background: linear-gradient(90deg, var(--yt-cms-green), #4285F4);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

.result-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #d8e4ff;
  margin-bottom: 16px;
}

.result-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  background: var(--yt-cms-green);
  border-color: #fff;
  color: #fff;
}

/* Metrics Section */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 30px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--israel-blue-glow);
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 0 15px rgba(66, 133, 244, 0.6);
}

.gold-metric .metric-value {
  color: var(--gold-accent);
  text-shadow: 0 0 15px var(--gold-glow);
}

.blue-metric .metric-value {
  color: #79a8ff;
}

.metric-label {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive Games Two Column Section */
.interactive-games-section {
  margin-bottom: 60px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.card-badge {
  background: var(--yt-cms-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.game-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 3D Dreidel Stage */
.dreidel-stage {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  margin-bottom: 20px;
}

.dreidel-3d {
  width: 90px;
  height: 110px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(25deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dreidel-3d.spinning {
  animation: dreidelSpin 0.7s linear infinite;
}

@keyframes dreidelSpin {
  0% { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

.dreidel-face {
  position: absolute;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #0038b8, #1e56d0);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Heebo', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  text-shadow: 0 0 10px #ffffff;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.dreidel-face span {
  font-size: 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.9;
}

.face-nun   { transform: rotateY(0deg) translateZ(45px); }
.face-gimel { transform: rotateY(90deg) translateZ(45px); background: linear-gradient(135deg, #ffd700, #e69500); color: #000; border-color: #ffd700; text-shadow: none; }
.face-hey   { transform: rotateY(180deg) translateZ(45px); }
.face-shin  { transform: rotateY(270deg) translateZ(45px); background: linear-gradient(135deg, #ea4335, #b31412); }

.dreidel-handle {
  position: absolute;
  top: -24px;
  left: 37px;
  width: 16px;
  height: 24px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 8px #fff;
}

.dreidel-tip {
  position: absolute;
  bottom: -20px;
  left: 35px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid #ffffff;
}

.dreidel-controls {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gelt-display {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 8px;
  border-radius: 12px;
}

.gelt-display strong {
  color: var(--gold-accent);
  font-size: 1.3rem;
}

.spin-btn {
  background: linear-gradient(135deg, var(--yt-cms-green), #0038b8);
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 56, 184, 0.4);
}

.spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 145, 81, 0.7);
}

.dreidel-result-text {
  text-align: center;
  font-size: 0.95rem;
  min-height: 24px;
  font-weight: 700;
  color: #d1e0ff;
}

/* Menorah Card */
.menorah-frame {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4px;
  min-height: 230px;
  padding-bottom: 55px;
  margin-bottom: 24px;
  border-bottom: 4px solid #ffffff;
  position: relative;
}

.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
  flex: 1;
}

.candle-status-top {
  position: absolute;
  top: -26px;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 4px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
}

.status-terminated {
  background: rgba(234, 67, 53, 0.85);
  color: #ffffff;
  border: 1px solid #ff4444;
  box-shadow: 0 0 6px rgba(234, 67, 53, 0.6);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #ffffff;
}

.status-restricted {
  background: rgba(251, 188, 5, 0.9);
  color: #1a0f00;
  border: 1px solid #ffd700;
  box-shadow: 0 0 8px rgba(251, 188, 5, 0.7);
}

.status-upcoming {
  background: rgba(52, 168, 83, 0.85);
  color: #ffffff;
  border: 1px solid #57e389;
  box-shadow: 0 0 8px rgba(52, 168, 83, 0.7);
}

.status-shamash {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #1a0f00;
  border: 1px solid #ffffff;
  box-shadow: 0 0 8px #ffd700;
}

.candle-name-tag {
  position: absolute;
  bottom: -50px;
  font-size: 0.58rem;
  font-weight: 800;
  color: #c4d7ff;
  text-align: center;
  line-height: 1.15;
  width: 100%;
  max-width: 48px;
  word-break: break-word;
  pointer-events: none;
}

.candle-name-tag.crossed-out {
  text-decoration: line-through;
  text-decoration-color: #ff3b30;
  text-decoration-thickness: 1.5px;
  opacity: 0.8;
}

.highlight-tag {
  color: var(--gold-accent);
  text-shadow: 0 0 8px var(--gold-glow);
}

.candle:hover {
  transform: scale(1.08);
}

.candle.shamash {
  margin: 0 4px;
  transform: translateY(-20px);
}

.candle.shamash:hover {
  transform: translateY(-20px) scale(1.08);
}

.shamash-label {
  position: absolute;
  top: -24px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--gold-accent);
  white-space: nowrap;
}

.wax {
  width: 18px;
  height: 85px;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.shamash .wax {
  height: 105px;
  width: 22px;
}

.flame {
  width: 14px;
  height: 22px;
  background: radial-gradient(circle at bottom, #fff 0%, #ffe600 40%, #ff5e00 80%, transparent 100%);
  border-radius: 50% 50% 35% 35%;
  margin-bottom: 4px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.candle.lit .flame {
  opacity: 1;
  transform: scale(1);
  animation: flicker 0.9s infinite alternate ease-in-out;
  box-shadow: 0 0 18px #ffaa00, 0 0 35px #ff5e00;
}

@keyframes flicker {
  0% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.1, 0.95) rotate(2deg); }
  100% { transform: scale(0.95, 1.05) rotate(-1deg); }
}

.menorah-controls {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.menorah-action-btn {
  flex: 1;
  background: linear-gradient(135deg, #ffd700, #ff8800);
  color: #1a0f00;
  border: none;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.menorah-action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menorah-action-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Iconic Quotes Grid Section */
.quotes-grid-section {
  margin-bottom: 60px;
}

.iconic-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.iconic-quote-card {
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.iconic-quote-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.hot-red {
  border-color: rgba(255, 0, 0, 0.6);
  background: linear-gradient(180deg, rgba(255, 0, 0, 0.12), rgba(8, 26, 68, 0.85));
}
.hot-red:hover { box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4); }

.bright-blue {
  border-color: rgba(66, 133, 244, 0.6);
  background: linear-gradient(180deg, rgba(0, 56, 184, 0.18), rgba(8, 26, 68, 0.85));
}
.bright-blue:hover { box-shadow: 0 15px 40px rgba(0, 56, 184, 0.6); }

.warning-yellow {
  border-color: rgba(251, 188, 5, 0.6);
  background: linear-gradient(180deg, rgba(251, 188, 5, 0.15), rgba(8, 26, 68, 0.85));
}
.warning-yellow:hover { box-shadow: 0 15px 40px rgba(251, 188, 5, 0.4); }

.pure-kosher {
  border-color: var(--yt-cms-green);
  background: linear-gradient(180deg, rgba(14, 145, 81, 0.25), rgba(8, 26, 68, 0.85));
}
.pure-kosher:hover { box-shadow: 0 15px 40px rgba(14, 145, 81, 0.6); }

.quote-tag {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quote-main {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.iconic-quote-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.quote-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

.source-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #e3edff;
}

/* Testimonials */
.testimonials-section {
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-text {
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  color: #e6efff;
  margin-bottom: 20px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.quote-author strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.quote-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Bagel Toast Notification */
.bagel-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #0038b8, #051a44);
  border: 2px solid var(--gold-accent);
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bagel-toast.hidden {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.toast-icon {
  font-size: 2.5rem;
}

.toast-content strong {
  color: var(--gold-accent);
  font-size: 1rem;
}

.toast-content p {
  font-size: 0.85rem;
  color: #d1e0ff;
  margin-top: 4px;
}

/* Footer */
.footer {
  background: #020712;
  border-top: 1px solid rgba(66, 133, 244, 0.2);
  padding: 0 0 50px;
  position: relative;
  text-align: center;
}

.footer-israel-stripes {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--israel-blue),
    var(--israel-blue) 40px,
    #ffffff 40px,
    #ffffff 80px
  );
  margin-bottom: 30px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-star {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-shalom-btn {
  background: var(--yt-cms-green);
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-shalom-btn:hover {
  background: #ffffff;
  color: var(--yt-cms-green);
  box-shadow: 0 0 20px #ffffff;
}

/* Confetti Canvas */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .top-nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .yt-cms-inner {
    flex-direction: column;
    text-align: center;
  }
  .cms-badge-group {
    flex-direction: column;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}
