/* ==========================================================================
   aniroll - Announcement & Teaser Platform Stylesheet
   Matches exact visual design language, tokens, and dark aesthetic
   ========================================================================== */

:root {
  --bg-canvas: #0a0a0c;
  --bg-card: rgba(20, 20, 26, 0.7);
  --bg-card-hover: rgba(28, 28, 36, 0.85);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-subtle: rgba(255, 255, 255, 0.04);
  --surface-border-hover: rgba(255, 255, 255, 0.22);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0a0c;

  /* Brand Colors */
  --brand-orange: #f97316;
  --brand-orange-hover: #ea580c;
  --brand-orange-glow: rgba(249, 115, 22, 0.35);
  --accent-gold: #fbbf24;
  --accent-cyan: #38bdf8;
  --discord-blurple: #5865f2;

  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-full: 9999px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient backdrop glow */
.ambient-glow {
  position: fixed;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(56, 189, 248, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.45) 75%, transparent 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--surface-border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Brand Logo: white "ani" + vibrant orange "roll" */
.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  user-select: none;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-ani {
  color: #ffffff;
}

.logo-roll {
  color: var(--brand-orange);
  text-shadow: 0 0 16px var(--brand-orange-glow);
}

/* Desktop Navigation Pills */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.nav-pill {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-pill.active {
  background: #ffffff;
  color: var(--text-inverse);
  font-weight: 700;
}

.nav-pill.icon-only {
  padding: 8px 10px;
}

.nav-pill.icon-only svg {
  width: 16px;
  height: 16px;
}

/* Desktop Search Bar */
.desktop-search {
  display: none;
  flex: 1;
  max-width: 440px;
  margin: 0 16px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 44px 9px 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-family: var(--font-family);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-shortcut {
  position: absolute;
  right: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 600;
  pointer-events: none;
}

/* Right Nav Buttons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.btn-signin {
  background: #ffffff;
  color: var(--text-inverse);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-signin:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.btn-signin:active {
  transform: translateY(0);
}

/* ==========================================================================
   Mobile Dropdown Drawer
   ========================================================================== */
.mobile-drawer {
  display: none;
  width: calc(100% - 32px);
  max-width: 400px;
  margin: 0 auto 12px;
  background: rgba(18, 18, 24, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.drawer-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.drawer-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.drawer-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.drawer-item:hover svg {
  color: var(--text-primary);
}

.drawer-item.active {
  background: #ffffff;
  color: var(--text-inverse);
  font-weight: 700;
}

.drawer-item.active svg {
  color: var(--text-inverse);
}

/* ==========================================================================
   Hero Showcase Section
   ========================================================================== */
.page-main {
  position: relative;
  z-index: 10;
}

.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 110px 20px 48px;
}

/* Hero Backdrop with Multi-Stop Cinematic Gradient */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-art-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, 
      rgba(10, 10, 12, 0.4) 0%, 
      rgba(10, 10, 12, 0.7) 40%, 
      rgba(10, 10, 12, 0.95) 80%, 
      #0a0a0c 100%
    ),
    radial-gradient(ellipse at 70% 30%, rgba(249, 115, 22, 0.18), transparent 60%),
    url('https://images.unsplash.com/photo-1578632767115-351597cf2477?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  filter: saturate(1.2) contrast(1.05);
  transition: background-image 0.6s ease;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
}

.hero-info {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Headline: "Full website coming soon." */
.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-wrap: balance;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hero-title:hover {
  text-shadow: 0 0 24px rgba(249, 115, 22, 0.35);
}

/* Metadata Chips Row */
.meta-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.meta-chip.rating {
  color: var(--text-primary);
}

.icon-star {
  width: 13px;
  height: 13px;
  fill: var(--accent-gold);
  color: var(--accent-gold);
}

.meta-chip.status-badge {
  background: rgba(249, 115, 22, 0.14);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.3);
}

.meta-chip.year {
  color: var(--text-muted);
}

.meta-chip.anilist-chip {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
}

.icon-zap {
  width: 12px;
  height: 12px;
  fill: #38bdf8;
  color: #38bdf8;
}

/* Subtitle */
.hero-synopsis {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 620px;
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

/* Primary Button: High-contrast white pill "Join Community" */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-inverse);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button: Translucent dark pill "+ Add to list" */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-icon {
  width: 17px;
  height: 17px;
}

/* Desktop Preview Stack */
.hero-preview-stack {
  display: none;
}

/* ==========================================================================
   Updates Section (Live AniList Carousel)
   ========================================================================== */
.updates-section {
  padding: 24px 20px 80px;
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-orange);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

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

.section-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.browse-link {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.browse-link:hover {
  color: var(--brand-orange);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-color: var(--surface-border);
}

.arrow-btn svg {
  width: 16px;
  height: 16px;
}

/* Carousel Container */
.cards-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.cards-carousel::-webkit-scrollbar {
  height: 6px;
}

.cards-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.cards-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}

/* Skeletons */
.skeleton-card {
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border: 1px solid var(--surface-border-subtle);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Anime Card Component (AniList Data) */
.anime-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  text-decoration: none;
}

.anime-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(249, 115, 22, 0.15);
}

.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.anime-card:hover .card-thumb {
  border-color: rgba(249, 115, 22, 0.35);
}

/* Floating score pill overlay (★ 8.7) */
.card-score-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
}

.card-score-pill svg {
  width: 12px;
  height: 12px;
  fill: var(--accent-gold);
  color: var(--accent-gold);
}

/* Favorite heart button */
.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 2;
}

.card-fav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #f43f5e;
}

.card-fav-btn.active {
  color: #f43f5e;
}

.card-fav-btn.active svg {
  fill: #f43f5e;
}

.card-fav-btn svg {
  width: 15px;
  height: 15px;
}

/* Dark gradient vignette at the bottom of each card */
.card-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 12, 0.75) 40%, rgba(10, 10, 12, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 1;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.card-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Interactive Community & Early Access Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--brand-orange-glow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.02);
}

.modal-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.modal-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.community-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.community-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--discord-blurple);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.signup-form {
  display: flex;
  gap: 8px;
}

.signup-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  color: #ffffff;
  font-size: 0.86rem;
  font-family: var(--font-family);
  outline: none;
  transition: var(--transition-smooth);
}

.signup-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 115, 22, 0.45);
}

.btn-signup-submit {
  background: #ffffff;
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-signup-submit:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.signup-note {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(20, 20, 26, 0.95);
  backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1px solid var(--surface-border-hover);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(14px);
  animation: toast-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             toast-out 0.28s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards;
}

@keyframes toast-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(-8px); }
}

/* ==========================================================================
   Desktop Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .mobile-menu-btn,
  .mobile-search-btn {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-search {
    display: flex;
  }

  .hero-section {
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .hero-container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  /* Preview Thumbnail Stack on Desktop */
  .hero-preview-stack {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .preview-card {
    position: relative;
    width: 72px;
    height: 102px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    cursor: pointer;
  }

  .preview-card:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), 0 0 16px var(--brand-orange-glow);
  }

  /* 6 columns grid on desktop */
  .cards-carousel {
    grid-template-columns: repeat(6, 1fr);
    overflow-x: visible;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
}
