/* ===== מגלים את הרכבים — style ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --radius: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --quiz: #10B981;
  --quiz-light: #D1FAE5;
  --quiz-dark: #065F46;
}

html, body {
  width: 100%; height: 100%; overflow: hidden;
  font-family: "Rubik","Assistant","Segoe UI",Arial,sans-serif;
  direction: rtl; background: var(--bg); color: var(--text);
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; overscroll-behavior: none;
}

.screen {
  display: none; position: fixed; inset: 0;
  overflow-y: auto; overflow-x: hidden;
}
.screen.active {
  display: flex; flex-direction: column;
  animation: fadeSlideIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Top Bar ===== */
.top-bar {
  display: flex; align-items: center;
  padding: 12px 16px; gap: 12px; flex-shrink: 0;
  background: var(--surface);
  position: sticky; top: 0; z-index: 10;
}
.btn-back, .btn-home {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.15s, background 0.15s;
  background: var(--surface); color: var(--cat-color, #64748B);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.btn-back:active, .btn-home:active { transform: scale(0.9); background: #f1f5f9; }
.btn-home { background: var(--cat-color-light, #f1f5f9); }
.screen-title {
  flex: 1; text-align: center; font-size: clamp(20px, 5vw, 24px);
  font-weight: 800; color: var(--cat-color, var(--text));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.quiz-score {
  font-size: 20px; font-weight: 800; color: #F59E0B;
  background: #FEF3C7; padding: 6px 14px; border-radius: 30px;
  flex-shrink: 0;
}

/* ===== Home ===== */
#screen-home {
  justify-content: center; align-items: center;
  padding: 16px 20px 20px; gap: 16px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}
.app-title {
  font-size: clamp(30px, 7vw, 40px); font-weight: 900;
  color: var(--text); text-align: center; line-height: 1.2;
}
.app-title span { display: inline-block; }
#home-categories {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; width: 100%; max-width: 440px;
}
.category-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 16px 8px; border: none; border-radius: var(--radius);
  background: var(--cat-bg, var(--surface)); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 130px; box-shadow: var(--shadow); overflow: hidden;
}
.category-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--cat-color) 15%, transparent),
    color-mix(in srgb, var(--cat-color) 5%, transparent));
  opacity: 0; transition: opacity 0.2s;
}
.category-btn:hover::before { opacity: 1; }
.category-btn:active { transform: scale(0.95); }
.category-icon {
  font-size: 44px; line-height: 1; position: relative; z-index: 1;
  width: 72px; height: 56px; display: flex; align-items: center; justify-content: center;
}
.category-icon img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.category-label {
  font-size: 16px; font-weight: 700; color: var(--cat-color);
  position: relative; z-index: 1; text-align: center;
}
.btn-quiz-home {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 32px; border: none; border-radius: 50px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; font-size: 20px; font-weight: 800;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  width: 100%; max-width: 440px; font-family: inherit;
  box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.btn-quiz-home:active { transform: scale(0.95); }
.btn-quiz-home .quiz-icon { font-size: 26px; }
.btn-about {
  background: none; border: none; color: var(--text-muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 6px 14px; font-family: inherit; transition: color 0.15s;
}
.btn-about:hover { color: var(--text); }

/* ===== Category Grid ===== */
#screen-category { padding-bottom: 20px; }
#category-dinos, #category-instruments {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; padding: 16px; width: 100%; max-width: 720px; margin: 0 auto;
}
.dino-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 12px 8px; border: none; border-radius: var(--radius);
  background: var(--surface); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow); font-family: inherit;
}
.dino-card:active { transform: scale(0.95); }
.dino-thumb {
  width: 100%; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: var(--cat-color-light, #f1f5f9);
}
.dino-thumb img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.3s;
}
.dino-card:hover .dino-thumb img { transform: scale(1.06); }
.dino-label {
  font-size: 15px; font-weight: 700; color: var(--cat-color, var(--text));
  text-align: center; line-height: 1.3;
}

/* ===== Dino Screen ===== */
#screen-dino { align-items: center; }
.dino-image {
  flex: 1; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 16px; min-height: 0;
}
.img-container {
  width: 100%; max-width: 520px; aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--cat-color-light, #f1f5f9);
}
.img-container img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.dino-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; padding: 16px 16px 28px; flex-shrink: 0;
}
.btn-action {
  width: 72px; height: 72px; border-radius: 50%; border: none;
  font-size: 32px; cursor: pointer;
  background: var(--cat-color, #F59E0B); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--cat-color, #F59E0B) 40%, transparent);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-action:active { transform: scale(0.9); }
.btn-action.playing { animation: pulse 0.8s infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.btn-nav-dino {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  font-size: 28px; cursor: pointer;
  background: var(--cat-color-light, #f1f5f9); color: var(--cat-color, #64748B);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-nav-dino:active { transform: scale(0.9); }
.btn-nav-dino:disabled { cursor: default; }

/* ===== Quiz ===== */
#screen-quiz-menu, #screen-quiz, #screen-odd-quiz {
  align-items: center; padding-top: 0;
}
.quiz-menu-title {
  font-size: clamp(24px, 6vw, 32px); font-weight: 900;
  margin: 80px 0 24px; color: var(--text);
}
.difficulty-buttons {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 380px; padding: 0 20px;
}
.btn-difficulty {
  padding: 18px 24px; border: none; border-radius: 50px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; font-size: 19px; font-weight: 800; cursor: pointer;
  font-family: inherit; transition: transform 0.2s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-difficulty.hard {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-difficulty.odd {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  box-shadow: 0 4px 14px rgba(139,92,246,0.3);
}
.btn-difficulty:active { transform: scale(0.96); }

#screen-quiz, #screen-odd-quiz { padding-bottom: 20px; }
#quiz-options, #odd-quiz-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; padding: 16px; width: 100%; max-width: 480px; margin: 0 auto;
}
.quiz-option {
  aspect-ratio: 1; border: 4px solid transparent; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; padding: 0;
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.2s, opacity 0.2s;
}
.quiz-option img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.quiz-option:active { transform: scale(0.96); }
.quiz-option.correct {
  border-color: #10B981; animation: pop 0.4s;
}
.quiz-option.wrong {
  border-color: #EF4444; opacity: 0.5; animation: shake 0.4s;
  pointer-events: none;
}
.quiz-option.hint {
  border-color: #F59E0B; animation: pulseHint 0.6s 2;
}
@keyframes pop {
  0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); } 75% { transform: translateX(8px); }
}

/* Odd category header */
.odd-category-header {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); margin: 8px 16px 0; padding: 10px 16px;
  border-radius: 50px; box-shadow: var(--shadow);
}
.odd-category-header img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
}
.odd-category-header span { font-size: 18px; font-weight: 800; }

/* ===== Confetti ===== */
.confetti {
  position: fixed; width: 10px; height: 10px;
  border-radius: 2px; z-index: 999; pointer-events: none;
  animation: confetti-fall 0.9s ease-out forwards;
}
@keyframes confetti-fall {
  to { transform: translate(var(--tx), var(--ty)) rotate(360deg); opacity: 0; }
}
.confetti { animation: confetti-fall 0.9s ease-out; }

/* ===== About ===== */
#screen-about { align-items: center; }
.about-content {
  width: 100%; max-width: 440px; padding: 24px 20px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.about-content h2 { font-size: 26px; font-weight: 900; color: var(--text); }
.about-subtitle { color: var(--text-muted); font-weight: 600; }
.about-section {
  background: var(--surface); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  line-height: 1.7; font-size: 15px;
}
.about-credits { font-size: 14px; color: var(--text-muted); }
.about-email { color: #3B82F6; font-weight: 600; direction: ltr; text-align: right; }
.about-year { color: var(--text-muted); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 380px) {
  #home-categories { gap: 10px; }
  .category-icon { width: 60px; height: 48px; }
  .btn-action { width: 64px; height: 64px; font-size: 28px; }
}
@media (min-width: 700px) {
  #quiz-options, #odd-quiz-options { grid-template-columns: repeat(4, 1fr); }
  .quiz-option { aspect-ratio: 1; }
}

/* UX review: readable controls, complete pictures and layouts that can scroll. */
button, a { font-family: inherit; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 4px solid #1D4ED8; outline-offset: 3px; }
.screen { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
.screen > * { flex-shrink: 0; }
.top-bar { width: 100%; min-width: 0; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); }
.screen-title, #quiz-prompt { min-width: 0; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; font-size: clamp(19px, 4vw, 27px); line-height: 1.3; padding: 0; }
.btn-back, .btn-home, .btn-icon { width: 48px; height: 48px; flex-shrink: 0; }
.btn-about, .portal-link, .btn-help, .btn-audio-toggle { min-height: 48px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 15px; color: #334155; }
.home-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.btn-help, .btn-audio-toggle { border: 1px solid #CBD5E1; background: #FFF; cursor: pointer; font-weight: 700; }
.portal-link { text-decoration: none; background: #E0F2FE; color: #075985; font-weight: 700; }
#screen-home { justify-content: safe center; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.app-title, .home-title { font-size: clamp(26px, 5vw, 40px); }
#home-categories, .home-wrapper { width: 100%; max-width: 760px; }
#home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-btn { min-height: 118px; padding: 12px 8px; flex-direction: column; }
.category-icon { width: 88px; height: 64px; }
.category-icon img { object-fit: contain; background: #FFF; }
.category-label, .vehicle-label, .dino-label, .item-label { color: #1E293B; font-size: 17px; }
.btn-quiz-home, .btn-difficulty { background: #047857; color: #FFF; font-size: 21px; }
.btn-difficulty.hard { background: #92400E; color: #FFF; }
.btn-difficulty.odd { background: #6D28D9; color: #FFF; }
#screen-quiz-menu { justify-content: safe center; padding: 80px 16px 24px; gap: 16px; }
.quiz-menu-title { margin: 0 0 8px; text-align: center; font-size: 27px; }
.difficulty-buttons { padding: 0; }
.btn-difficulty { padding: 18px 12px; }
#category-vehicles, #category-dinos, #category-items, #category-instruments, #category-animals { width: 100%; max-width: 1000px; margin: 0 auto; flex: none; align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 12px; }
.vehicle-thumb img, .dino-thumb img, .item-thumb img, .img-container img, .quiz-option img { object-fit: contain; }
.vehicle-thumb, .dino-thumb, .item-thumb, .instrument-thumb { background: #FFF; aspect-ratio: 4/3; }
.vehicle-image, .dino-image, .item-image { flex: 1 0 auto; padding: 12px; }
.img-container { max-width: 760px; background: #FFF; }
.vehicle-actions, .dino-actions, .item-actions, .instrument-actions, .animal-actions { gap: 10px; padding: 12px max(10px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); width: 100%; }
.btn-action { width: 64px; height: 64px; flex-shrink: 0; font-size: 28px; }
.btn-nav-vehicle, .btn-nav-dino, .btn-nav-item, .btn-nav-instrument, .btn-nav { width: 48px; height: 48px; flex-shrink: 0; }
#screen-quiz, #screen-odd-quiz { padding: 0 0 max(12px, env(safe-area-inset-bottom)); gap: 0; }
.quiz-score { color: #92400E; font-size: 18px; padding: 6px 10px; }
.btn-repeat { margin: 4px auto 0; min-height: 48px; border: 2px solid #A7F3D0; background: #FFF; border-radius: 24px; padding: 8px 20px; font-size: 18px; font-weight: 700; color: #065F46; cursor: pointer; }
#quiz-options, #odd-quiz-options { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; flex: none; width: 100%; max-width: min(760px, calc(100dvh - 150px)); padding: 12px; gap: 12px; margin: 0 auto; max-height: none; }
#odd-quiz-options { max-width: min(760px, calc(100dvh - 220px)); }
.quiz-option { position: relative; display: block; aspect-ratio: 1; min-height: 110px; padding: 4px; }
.quiz-option img { width: 100%; height: 100%; max-height: none; padding: 0; }
.quiz-option.correct::after { content: '✓'; position: absolute; bottom: 6px; right: 6px; border-radius: 50%; background: #047857; color: white; font-size: 28px; width: 36px; height: 36px; }
.quiz-option.wrong { opacity: .65; }
.odd-category-header { flex-shrink: 0; }
.feedback { text-align: center; color: #065F46; font-weight: 700; min-height: 28px; }
#audio-status:empty { display: none; }
#audio-status { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 100; background: #FFF; color: #7C2D12; border: 2px solid #FDBA74; border-radius: 12px; padding: 10px; text-align: center; pointer-events: none; }
@media (min-width: 700px) {
  #home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #home-categories:has(.category-btn:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #category-vehicles, #category-dinos, #category-items, #category-instruments, #category-animals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-btn { min-height: 140px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  #screen-home { justify-content: flex-start; }
  #home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #quiz-options, #odd-quiz-options { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; }
  #quiz-options:has(.quiz-option:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 390px; }
  .vehicle-image, .dino-image, .item-image { flex: none; }
  .img-container { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .confetti { display: none; } }

h1[tabindex="-1"], h2[tabindex="-1"] { outline: none; }
.screen-title { color: #1E293B; }

/* Short rounds, quiet assistance and a separate parent area. */
#screen-complete.active { display:flex; align-items:safe center; justify-content:safe center; padding:24px 16px; overflow:auto; }
.round-card { width:100%; max-width:540px; text-align:center; padding:28px 18px; border-radius:28px; background:#fff; box-shadow:0 8px 32px #173f5015; }
.round-card h2 { font-size:clamp(24px,4vw,34px); color:#075e4b; margin:18px 0; }
.round-card p { color:#42556b; font-size:18px; }.round-stars { font-size:clamp(24px,5vw,40px); }
.round-card button { display:block; width:100%; min-height:64px; margin:14px 0 0; border-radius:20px; border:2px solid #047857; font:700 23px inherit; font-family:inherit; font-size:23px; cursor:pointer; }
.round-again { background:#047857; color:#fff; }.round-home { background:#fff; color:#065f46; }
.btn-more-games { min-height:48px; padding:8px 22px; margin-top:8px; border:2px solid #94a3b8; border-radius:20px; background:#fff; color:#334155; font:700 17px inherit; font-family:inherit; cursor:pointer; }
.quiz-option.idle-hint { outline:4px solid #0e7490; outline-offset:3px; }
.sound-note { text-align:center; font-size:15px; color:#475569; margin:5px 12px; }
dialog { margin:auto; max-height:90dvh; overflow:auto; border:2px solid #64748b; border-radius:22px; max-width:min(92vw,440px); padding:24px; color:#1e293b; }
dialog::backdrop { background:#0f172a88; }dialog h2 {margin-top:0;}dialog input { width:100%; min-height:48px; font:inherit; font-size:22px; border:2px solid #64748b; border-radius:10px; }
dialog button { min-height:48px; padding:10px 16px; border:2px solid #64748b; border-radius:12px; margin:6px; background:white; color:#1e293b; font:inherit; cursor:pointer; }
#parents-error { color:#9a3412; } .quiz-score { white-space:nowrap; }

/* Keep the picture and its sound controls together on a short landscape screen. */
@media (orientation:landscape) and (max-height:500px) {
  .vehicle-image, .dino-image, .item-image { padding:4px 12px; }
  .img-container { height:max(100px,calc(100dvh - 196px)); max-width:520px; aspect-ratio:auto; }
  .vehicle-actions, .dino-actions, .item-actions { padding-top:4px; padding-bottom:max(6px,env(safe-area-inset-bottom)); }
  .sound-note { margin:2px 12px; }
}

/* ===== Alef-Bet specifics ===== */
#home-letters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; width: 100%; max-width: 560px;
}
.letter-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 4px; border: none; border-radius: 16px;
  background: var(--surface); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow); font-family: inherit; min-height: 96px;
}
.letter-card:active { transform: scale(0.93); }
.letter-shape {
  font-size: 44px; font-weight: 900; line-height: 1;
  color: var(--cat-color, #EC4899);
}
.letter-card:nth-child(4n+1) .letter-shape { color: #EC4899; }
.letter-card:nth-child(4n+2) .letter-shape { color: #F59E0B; }
.letter-card:nth-child(4n+3) .letter-shape { color: #10B981; }
.letter-card:nth-child(4n+4) .letter-shape { color: #3B82F6; }
.letter-label { font-size: 13px; font-weight: 700; color: #64748B; }

/* Letter screen */
#screen-letter { align-items: center; }
.letter-hero {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 16px 0; text-align: center;
}
.letter-big {
  font-size: clamp(72px, 20vw, 120px); font-weight: 900; line-height: 1;
  color: #EC4899;
}
.letter-word { font-size: clamp(26px, 7vw, 40px); font-weight: 800; color: var(--text); }
.letter-word .word-first { color: #EC4899; }
.letter-image {
  flex: 1; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 8px 16px; min-height: 0;
}
.letter-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 10px 16px max(20px, env(safe-area-inset-bottom)); flex-shrink: 0;
}
.btn-nav-letter {
  width: 48px; height: 48px; border-radius: 50%; border: none;
  font-size: 26px; cursor: pointer;
  background: #FCE7F3; color: #EC4899;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, opacity 0.15s; flex-shrink: 0;
}
.btn-nav-letter:active { transform: scale(0.9); }
.btn-nav-letter:disabled { cursor: default; }

/* Letter-shape quiz options */
.quiz-letter {
  font-size: clamp(56px, 16vw, 96px); font-weight: 900; line-height: 1;
  color: #1E293B; display: flex; align-items: center; justify-content: center;
  flex: 1; width: 100%;
}
.quiz-letter-name {
  font-size: 16px; font-weight: 700; color: #64748B; padding-bottom: 6px;
}
.quiz-option { display: flex; flex-direction: column; align-items: center; justify-content: center; }
#btn-play-word, #btn-play-name { background: #EC4899; }
.btn-action { box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35); }

@media (min-width: 700px) {
  #home-letters { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 860px; }
}
@media (max-width: 380px) {
  #home-letters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .letter-shape { font-size: 38px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .letter-hero { flex-direction: row; gap: 16px; }
  .letter-big { font-size: 56px; }
}
