:root {
  --bg: #090a0f;
  --bg-elevated: #11141d;
  --surface: #141722;
  --surface-hover: #1b202e;
  --surface-active: #232a3d;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-focus: #38bdf8;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --subtle: #64748b;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.15);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.15);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.15);
  --imdb: #f5c518;
  --lb-orange: #ff8000;
  --lb-green: #00e054;
  --lb-blue: #40bcf4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  --gold-glow: 0 4px 18px rgba(245, 158, 11, 0.35);
  --cyan-glow: 0 4px 18px rgba(56, 189, 248, 0.3);
}

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

html {
  color-scheme: dark;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Brand
   ========================================================================== */
.topbar {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #0c0e15 0%, var(--bg) 100%);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.16s ease;
}

.brand-link:hover .brand-logo {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.05);
}

.brand-link:hover .brand-heading h1 {
  color: #38bdf8;
}

.brand-link:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 4px;
}

.brand-heading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.brand-logo:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.brand-logo-icon {
  display: block;
}

.brand-heading h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
  display: inline;
  vertical-align: baseline;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-btn:hover,
.info-btn[aria-expanded="true"] {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.08);
}

.info-icon {
  display: block;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 32px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.lang-btn.active {
  background: #ffffff;
  color: #0b0d12;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--text);
}

/* Info Panel (collapsible) */
.info-panel {
  margin-top: 16px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.info-lead {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.info-fests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.info-fest-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.76rem;
}

.info-fest-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}

.info-fest-item span {
  color: var(--muted);
}

/* ==========================================================================
   Toolbar (Sticky & Glassmorphism)
   ========================================================================== */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Tabs */
.tabs {
  display: inline-flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3px;
}

.tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tab.active {
  background: #ffffff;
  color: #0b0d12;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tab-n {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.8;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

.tab.active .tab-n {
  background: rgba(0, 0, 0, 0.14);
}

/* Toolbar Controls */
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filters-toggle {
  display: none;
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search Box */
.search-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 11px;
  color: var(--subtle);
  pointer-events: none;
}

.search {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 8px 30px 8px 32px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 220px;
  outline: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.search::placeholder {
  color: var(--subtle);
}

.search:focus {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px var(--accent-glow);
  width: 250px;
}

.search-clear {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.search-clear:hover {
  color: var(--text);
}

.search-kbd {
  position: absolute;
  right: 10px;
  font-size: 0.65rem;
  font-family: inherit;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  pointer-events: none;
  line-height: 1.2;
  transition: opacity 0.15s ease;
}

.search-box:focus-within .search-kbd,
.search-box.has-query .search-kbd {
  opacity: 0;
  pointer-events: none;
}

/* Custom Select Dropdowns */
.select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 8px 30px 8px 12px;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.16s ease;
}

.select:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.06);
}

.select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.select.is-filtered {
  border-color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
}

.select option {
  background: #141722;
  color: var(--text);
}

/* City Group & Location Detector */
.city-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.city-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.city-pin-icon {
  position: absolute;
  left: 10px;
  color: var(--subtle);
  pointer-events: none;
  transition: color 0.16s ease;
}

.city-select {
  padding-left: 28px;
  padding-right: 28px;
  font-size: 0.8rem;
  font-weight: 500;
  height: 32px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.city-select.is-filtered ~ .city-pin-icon {
  color: #38bdf8;
}

.locate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.locate-btn:hover {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.08);
}

.locate-btn:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.locate-btn.is-active {
  color: #38bdf8;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
}

.locate-btn.is-locating {
  color: #38bdf8;
  border-color: #38bdf8;
  animation: pulse-locate 1.2s infinite ease-in-out;
}

@keyframes pulse-locate {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1); opacity: 1; }
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: rgba(20, 24, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  text-align: center;
  max-width: 90vw;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Main Grid & Cards
   ========================================================================== */
.main {
  padding-top: 24px;
  padding-bottom: 60px;
  min-height: 60vh;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
  position: relative;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 158, 11, 0.08);
}

/* Poster Box */
.poster-box {
  position: relative;
  aspect-ratio: 2 / 3;
  background: #0f121a;
  overflow: hidden;
  margin-bottom: -1px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.card:hover .poster-box img {
  transform: scale(1.025);
}

.poster-box::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 35%;
  background: linear-gradient(to top, var(--surface) 0%, transparent 100%);
  pointer-events: none;
}

.poster-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-weight: 600;
  color: var(--muted);
  background: #11141d;
}

/* Status Badge */
.badge-status {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 0.67rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: help;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.badge-status:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.st-now {
  background: rgba(8, 14, 11, 0.82);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.st-now::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.st-opening {
  background: rgba(6, 18, 20, 0.85);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.38);
}

.st-opening::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 6px #2dd4bf;
}

.st-preview {
  background: rgba(18, 14, 7, 0.82);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.st-preview::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24;
}

.st-soon {
  background: rgba(10, 12, 18, 0.82);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Award Laurel Badges */
.laurel-branch {
  width: 10px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.laurel-right {
  transform: scaleX(-1);
}

.award-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  font-size: 0.69rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin: 1px 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.award-badge .award-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.award-badge.winner {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.08);
}

.award-badge.competition {
  background: rgba(217, 119, 6, 0.09);
  color: #f59e0b;
  border: 1px solid rgba(217, 119, 6, 0.24);
}

.award-badge.honor {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtitle Badges & Meta Line */
.card-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 3px 0 2px;
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  letter-spacing: 0.02em;
}

.sub-badge.en {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.38);
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15);
}

/* Modal Accolades */
.modal-awards {
  margin: 5px 0 8px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
}

.modal-section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal-section-title .laurel-branch {
  width: 11px;
  height: 20px;
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.award-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  font-size: 0.81rem;
  padding: 3px 0;
}

.award-pill {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
  line-height: 1.35;
}

.award-item.is-winner .award-pill {
  color: #fbbf24;
}

.award-recipient {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  text-align: right;
  justify-self: end;
  line-height: 1.35;
  max-width: 170px;
}

.awards-more {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  margin: 2px 0 6px;
  animation: awardsFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.awards-more.folded,
.awards-more.is-single {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  margin: 0;
}

.awards-more.folded .award-item:not(:first-child) {
  display: none;
}

.awards-more.hidden {
  display: none;
}

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

.btn-awards-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  cursor: pointer;
  transition: all 0.16s ease;
  line-height: 1.4;
}

.btn-awards-toggle:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fef08a;
  transform: translateY(-1px);
}

.btn-awards-toggle:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Director Buttons (Card & Modal) */
.card-dir-btn,
.modal-dir-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  display: inline;
  transition: color 0.14s ease;
}

.card-dir-btn:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-dir-btn {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(99, 102, 241, 0.4);
  text-underline-offset: 3px;
}

.modal-dir-btn:hover {
  color: #a5b4fc;
  text-decoration-color: #a5b4fc;
}

.dir-sep {
  color: var(--muted);
}

/* Card Content */
.card-content {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  position: relative;
  background: var(--surface);
}

.fest-line {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.card-dir {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* Cities Line */
.card-cities {
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.35em;
  margin-top: 1px;
  cursor: help;
}

.cities-pin-svg {
  flex-shrink: 0;
  color: var(--subtle);
}

.cities-more {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Ratings Row (Clean Inline Typographic Metadata) */
.ratings-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.rating-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.15s ease;
}

.rating-item:hover {
  color: #ffffff;
}

.rating-val {
  font-size: 0.76rem;
  font-weight: 600;
}

.rating-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
}

.lb-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.imdb-tag {
  background: var(--imdb);
  color: #111;
  font-size: 0.60rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.rating-na {
  color: var(--subtle);
  font-weight: 500;
}

/* Tickets Row */
.tickets-row {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ticket-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ticket-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Skeleton Shimmer & Empty States
   ========================================================================== */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.skeleton-card {
  aspect-ratio: 2 / 3.4;
  background: linear-gradient(90deg, #141722 0%, #1e2333 50%, #141722 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

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

.empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--muted);
}

.empty-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.empty h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 6px;
}

.empty p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.empty-actions .btn-primary,
.empty-actions .btn-secondary {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-primary {
  background: #ffffff;
  color: #0b0d12;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.link-btn {
  background: none;
  border: none;
  color: var(--text);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.hidden { display: none !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  font-size: 0.78rem;
  color: var(--subtle);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.14s ease;
}

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

/* ==========================================================================
   Modal (Detail Dialog)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 7, 10, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  height: auto;
  max-height: min(90vh, 760px);
  background: #121520;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.85);
  animation: modalScaleIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
  overscroll-behavior: contain;
}

.modal-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background-size: cover;
  background-position: center 25%;
  opacity: 0.22;
  filter: blur(36px);
  transform: scale(1.04) translateZ(0);
  -webkit-transform: scale(1.04) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  z-index: 0;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.16s ease;
  backdrop-filter: blur(8px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.modal-body {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: calc(min(90vh, 760px) - 2px);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

.modal-poster-col {
  position: sticky;
  top: 0;
  align-self: start;
}

.modal-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}

.modal-info h2 {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 4px;
  color: #ffffff;
}

.modal-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 5px 14px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin: 5px 0 6px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--subtle);
}

.spec-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.spec-val-highlight {
  color: #38bdf8;
}

.spec-val-cinemas {
  color: #f1f5f9;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.modal-synopsis {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  white-space: pre-line;
  margin: 6px 0 10px;
  max-height: none;
  overflow: visible;
}

/* Modal Actions Hierarchy */
.modal-actions-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}

.modal-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-secondary-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-ratings-row,
.modal-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.modal-secondary-actions .btn-secondary {
  padding: 5px 9px;
  font-size: 0.74rem;
}

.btn-ticket-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #0b0d13;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.16s ease;
  letter-spacing: 0.01em;
}

.btn-ticket-primary:hover {
  background: #f1f5f9;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.16s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.16s ease;
}

.btn-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 820px) {
  .search { width: 100%; }
  .search:focus { width: 100%; }
  .search-box { width: 100%; }
  .toolbar-right { width: 100%; }
  .toolbar-right .select { flex: 1 1 calc(33.333% - 6px); }
  .modal-card { height: auto; max-height: 88vh; }
  .modal-body { grid-template-columns: 1fr; height: auto; }
  .modal-info { min-height: 0; }
  .modal-poster-col { position: static; }
  .modal-poster { max-width: 170px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Header & Branding */
  .topbar {
    padding: 16px 0 14px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand-row {
    justify-content: flex-start;
  }

  .brand-heading {
    min-width: 0;
  }

  .brand-heading h1 {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .brand-sub {
    font-size: 0.8rem;
  }

  .topbar-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .city-group {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .city-select-wrap {
    flex: 1;
    min-width: 0;
  }

  .city-select {
    width: 100%;
    font-size: 0.8rem;
  }

  .lang-switch {
    flex-shrink: 0;
  }

  .info-panel {
    margin-top: 12px;
  }

  .info-card {
    padding: 14px;
  }

  .info-fests {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Toolbar & Scrolling Tabs */
  .toolbar {
    padding: 10px 0;
  }

  .toolbar-inner {
    gap: 10px;
  }

  .tabs {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    padding: 3px;
    gap: 4px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .toolbar-right {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .search-box {
    flex: 1;
    min-width: 0;
  }

  .search {
    width: 100%;
    font-size: 0.82rem;
    height: 36px;
    box-sizing: border-box;
  }

  .search:focus {
    width: 100%;
  }

  .filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.80rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.16s ease;
  }

  .filters-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
  }

  .filters-toggle.is-active {
    border-color: #38bdf8;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
  }

  .filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #38bdf8;
    color: #0b0d12;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
  }

  .toolbar-filters {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
    animation: filtersFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .toolbar-filters.is-open {
    display: flex;
  }

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

  .toolbar-filters .select {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    height: 34px;
    font-size: 0.78rem;
    padding: 6px 26px 6px 10px;
  }

  #sortSelect {
    flex: 1 1 100%;
  }

  /* 2-Column Mobile Poster Grid */
  .main {
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card {
    border-radius: var(--radius-md);
  }

  .card-content {
    padding: 10px 10px 12px;
    gap: 4px;
  }

  .fest-line {
    font-size: 0.62rem;
  }

  .card-title-block {
    gap: 2px;
  }

  .card-title {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .card-dir {
    font-size: 0.72rem;
  }

  .card-cities {
    font-size: 0.68rem;
    min-height: 1.2em;
  }

  .ratings-row {
    gap: 6px;
    padding-top: 4px;
    font-size: 0.72rem;
  }

  .rating-val {
    font-size: 0.70rem;
  }

  .tickets-row {
    padding-top: 6px;
    gap: 4px;
  }

  .ticket-link {
    padding: 4px 7px;
    font-size: 0.68rem;
    gap: 3px;
  }

  .award-badge {
    font-size: 0.64rem;
    padding: 2px 6px;
  }

  .badge-status {
    font-size: 0.62rem;
    padding: 3px 6px;
    top: 7px;
    left: 7px;
  }

  /* Bottom-Sheet Detail Modal */
  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    overscroll-behavior: contain;
    animation: modalSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal-card::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    margin: 10px auto 2px;
  }

  @keyframes modalSlideUp {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .modal-body {
    padding: 16px 18px 28px;
    gap: 14px;
  }

  .modal-poster-col {
    position: static;
  }

  .modal-poster {
    max-width: 130px;
    border-radius: var(--radius-md);
  }

  .modal-info h2 {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .modal-synopsis {
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 10px 0 14px;
    max-height: none;
    overflow-y: visible;
  }

  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  .modal-actions .btn-link {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }

  /* Footer */
  .footer {
    padding: 24px 0 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

  .brand-heading h1 {
    font-size: 1.02rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .tab {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .grid {
    gap: 8px;
  }

  .skeleton-grid {
    gap: 8px;
  }

  .card-content {
    padding: 8px 8px 10px;
  }

  .card-title {
    font-size: 0.82rem;
  }

  .ratings-row {
    gap: 4px;
    font-size: 0.68rem;
  }
}

/* Inline Theater Mode Trailer Overlay */
.modal-trailer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 18, 0.96);
  backdrop-filter: blur(16px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  animation: fadeIn 0.2s ease-out;
}

.modal-trailer-container {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-trailer-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-trailer-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-trailer-close {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.modal-trailer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--border-hover);
  color: #fff;
}

/* Calendar & Share Dropdown & Controls */
.cal-dropdown-container {
  position: relative;
  display: inline-block;
}

.cal-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #181c28;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  padding: 6px;
  min-width: 180px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
}

.cal-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 28, 40, 0.95);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.25);
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
