/* ============================================================
   LogicLoopPress.com — Design System
   Premium dark theme with glassmorphism + micro-animations
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=UnifrakturCook:wght@700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Palette */
  --bg-primary:    #0b0d14;
  --bg-secondary:  #111420;
  --bg-card:       rgba(20, 24, 40, 0.65);
  --bg-glass:      rgba(255, 255, 255, 0.04);

  --text-primary:  #eceef4;
  --text-secondary:#9ba1b5;
  --text-muted:    #5d6378;

  --accent-red:    #c43a4b;
  --accent-red-light: #e85d6f;
  --accent-gold:   #d4a853;
  --accent-gold-light: #f0c96e;
  --accent-blue:   #4a7cc9;
  --accent-teal:   #38b2ac;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glass:  rgba(255, 255, 255, 0.10);

  --gradient-hero: linear-gradient(160deg, #0b0d14 0%, #151a2e 40%, #1a1228 70%, #0b0d14 100%);
  --gradient-red:  linear-gradient(135deg, #c43a4b, #8b1e2e);
  --gradient-gold: linear-gradient(135deg, #d4a853, #a17d33);
  --gradient-cta:  linear-gradient(135deg, #c43a4b 0%, #d4a853 100%);

  --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow:   0 0 60px rgba(196, 58, 75, 0.12);
  --shadow-book:   0 25px 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(196, 58, 75, 0.08);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --font-display:  'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-serif:    'Newsreader', Georgia, serif;
  --font-fraktur:  'UnifrakturCook', cursive;

  --max-width:     1200px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-red);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(196, 58, 75, 0.12);
  border: 1px solid rgba(196, 58, 75, 0.25);
  color: var(--accent-red-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-red-light);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(196, 58, 75, 0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 58, 75, 0.4);
}
.hero-cta svg {
  width: 18px; height: 18px;
  transition: transform var(--transition);
}
.hero-cta:hover svg { transform: translateX(3px); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-indicator .mouse {
  width: 20px; height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text-muted);
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   BOOK CARDS — Landing Page
   ============================================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .books-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.book-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}
.book-card-image {
  position: relative;
  padding: 2.5rem 2.5rem 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.book-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(196,58,75,0.08) 0%, transparent 60%);
  z-index: 0;
}
.book-card-image img {
  position: relative;
  z-index: 1;
  max-height: 380px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-book);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.book-card:hover .book-card-image img {
  transform: scale(1.03) translateY(-4px);
}

.book-card-body {
  padding: 2rem 2.5rem 2.5rem;
}
.book-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.status-published {
  background: rgba(56, 178, 172, 0.12);
  border: 1px solid rgba(56, 178, 172, 0.3);
  color: var(--accent-teal);
}
.status-coming {
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--accent-gold);
}
.book-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.book-card-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
  font-family: var(--font-serif);
}
.book-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.book-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.feature-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.book-card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 58, 75, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(196, 58, 75, 0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================================
   ABOUT SNIPPET — Landing Page
   ============================================================ */
.about-snippet {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.about-snippet-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.about-snippet-text {
  flex: 1;
}
.about-snippet-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-snippet-visual {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-large {
  width: 160px; height: 160px;
  border-radius: var(--radius-xl);
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 20px 60px rgba(196, 58, 75, 0.2);
}
@media (max-width: 768px) {
  .about-snippet-inner { flex-direction: column-reverse; gap: 2rem; text-align: center; }
  .about-snippet-visual { flex: none; }
}

/* ============================================================
   BOOK DETAIL PAGES
   ============================================================ */
.book-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.book-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(196,58,75,0.06) 0%, transparent 50%);
}
.book-hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
.book-hero-cover {
  flex: 0 0 340px;
}
.book-hero-cover img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-book);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.book-hero-cover:hover img {
  transform: rotate(-1deg) scale(1.02);
}
.book-hero-info { flex: 1; }
.book-hero-info .book-card-status { margin-bottom: 1.5rem; }
.book-hero-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.book-hero-info .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.book-hero-info .author {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.book-hero-info .author strong {
  color: var(--text-secondary);
}
.book-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .book-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .book-hero-cover { flex: none; }
  .book-hero-cover img { max-width: 280px; margin: 0 auto; }
  .book-hero-actions { justify-content: center; }
}

/* Feature list */
.features-section { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(196, 58, 75, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Sample pages gallery */
.gallery-section { }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 0.77;
  object-fit: cover;
}
.gallery-caption {
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Difficulty table */
.difficulty-section { background: var(--bg-secondary); }
.difficulty-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.difficulty-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.difficulty-table th {
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
}
.difficulty-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.difficulty-table tr:last-child td { border-bottom: none; }
.difficulty-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}
.level-easy { background: rgba(56, 178, 172, 0.6); }
.level-medium { background: rgba(212, 168, 83, 0.6); }
.level-hard { background: rgba(196, 58, 75, 0.6); }

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,58,75,0.06) 0%, transparent 60%);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 10rem 0 4rem;
  background: var(--gradient-hero);
  text-align: center;
}
.about-content {
  padding: 4rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.about-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}
.about-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.about-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: var(--bg-secondary);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-left .logo-mark-sm {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   INTERACTIVE PUZZLE PREVIEW (Slitherlink SVG)
   ============================================================ */
.puzzle-preview-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
}
.puzzle-preview-frame {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: inline-block;
}
.puzzle-preview-frame svg {
  width: 240px;
  height: 240px;
}

/* ============================================================
   ZUMBLE-SPECIFIC STYLES
   ============================================================ */
.zumble-title {
  font-family: var(--font-fraktur);
}

/* ============================================================
   SLITHERLINK-SPECIFIC STYLES
   ============================================================ */
.slitherlink-title {
  font-weight: 800;
  letter-spacing: 0.05em;
}
.slitherlink-title .link {
  color: var(--accent-red-light);
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-in-delay { animation-delay: 0.15s; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb .sep { margin: 0 0.5rem; }
