/* ============================= */
/* COMPLETE APP CSS              */
/* Movie Review App              */
/* ============================= */

/* Import focused cinema-style fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ============================= */
/* THEME SYSTEM                  */
/* ============================= */

/* Dark Theme (Default) - Enhanced Cyberpunk */
:root[data-theme="dark"], :root {
  --background-primary: #0a0a0a;
  --background-secondary: #141414;
  --surface-color: #1a1a1a;
  --surface-hover: #242424;
  --accent-primary: #e50914;
  --accent-secondary: #ff4d4d;
  --accent-tertiary: #ff7a7a;
  --accent-purple: #b31217;
  --accent-orange: #ff7a00;
  --text-primary: #FFFFFF;
  --text-secondary: #E0E0E0;
  --text-muted: #666666;
  --border-color: #333333;
  --border-light: #444444;
  --success-color: #00FF88;
  --error-color: #FF0080;
  --warning-color: #FFB800;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 18px rgba(229, 9, 20, 0.35);
  /* Theme fonts */
  --font-family-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-family-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  --gradient-shift: linear-gradient(120deg, #b31217, #e50914, #ff4d4d);
  --gradient-shift-size: 400% 400%;
}

  /* Light Theme - Clean Tech */
  :root[data-theme="light"] {
    --background-primary: #FFFFFF;
    --background-secondary: #F8F9FA;
    --surface-color: #FFFFFF;
    --surface-hover: #F0F2F5;
    --accent-primary: #e50914;
    --accent-secondary: #ff4d4d;
    --accent-tertiary: #ff7a7a;
    --accent-purple: #b31217;
    --accent-orange: #ff7a00;
    --text-primary: #212121;
    --text-secondary: #424242;
    --text-muted: #757575;
    --border-color: #E0E0E0;
    --border-light: #D0D0D0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 14px rgba(229, 9, 20, 0.25);
    /* Theme fonts */
    --font-family-display: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-family-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
    --gradient-shift: linear-gradient(120deg, #b31217, #e50914, #ff4d4d);
    --gradient-shift-size: 400% 400%;
  }

/* Additional theme definitions can be added here */

/* ============================= */
/* GLOBAL RESET & BASE STYLES    */
/* ============================= */

* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================= */
/* PAGE LAYOUT STRUCTURE         */
/* ============================= */

/* Main page container */
.page {
  min-height: 100vh;
  display: flex;
  position: relative;
  flex-direction: row;
}

/* Sidebar layout */
.sidebar {
  width: 260px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--background-secondary);
  border-right: 1px solid var(--border-color);
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for webkit browsers */
.sidebar::-webkit-scrollbar {
  display: none;
}

/* Main content area */
main {
  flex: 1;
  margin-left: 260px;
  padding: 0;
  width: calc(100% - 260px);
  min-height: 100vh;
  background-color: var(--background-primary);
}

/* Content wrapper */
.content {
  padding-top: 0;
}

article {
  padding: 3rem !important;
}

/* ============================= */
/* TYPOGRAPHY                    */
/* ============================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display) !important;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.5;
}

/* ============================= */
/* LINKS & BUTTONS               */
/* ============================= */

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

  a:hover {
    color: var(--accent-secondary);
  }

.btn, .themed-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary, .themed-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--background-primary);
  border: none;
}

  .btn-primary:hover, .themed-btn:hover {
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.28);
  }

  .btn-secondary, .themed-btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
  }

    .btn-secondary:hover, .themed-btn.secondary:hover {
      border-color: var(--accent-primary);
      color: var(--accent-primary);
      box-shadow: inset 0 0 10px rgba(229, 9, 20, 0.18);
    }

/* ============================= */
/* FORMS                         */
/* ============================= */

.form-control, .themed .form-control {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
}

  .form-control:focus, .themed .form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12), inset 0 0 5px rgba(229, 9, 20, 0.18);
  }

label, .form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
}

/* ============================= */
/* NAVIGATION MENU               */
/* ============================= */

/* Top Row */
.top-row {
  height: auto;
  min-height: 6rem;
  background-color: var(--background-secondary) !important;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1001;
}

  .top-row .container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

.movie-club-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.club-icon-wrapper {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.club-icon {
  font-size: 2rem;
  display: inline-block;
}

.club-name {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-family-display) !important;
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.25);
  background: none;
  animation: none;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.club-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* Navigation Items */
.nav-item {
  font-size: 0.9375rem;
  margin: 0.5rem 0;
}

  .nav-item ::deep .nav-link {
    color: var(--text-secondary);
    background: none;
    border: none;
    border-radius: 0.375rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    margin: 0.25rem 1rem;
    width: calc(100% - 2rem);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-item ::deep a.active {
    background-color: var(--surface-color);
    color: var(--accent-primary);
  }

    .nav-item ::deep a.active::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 3px;
      background-color: var(--accent-primary);
      box-shadow: 0 0 10px var(--accent-primary);
      animation: pulse 2s ease-in-out infinite;
    }

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.nav-item ::deep .nav-link:hover {
  background-color: var(--surface-hover);
  color: var(--text-primary);
  padding-left: 2.25rem;
}

.nav-scrollable {
  padding: 1.5rem 0;
  display: block;
}

/* Navigation Icons */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ============================= */
/* THEME CONTROLS                */
/* ============================= */

.theme-controls {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Theme navigation link container */
.theme-nav-link {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.theme-toggle {
  width: 32px;
  height: 32px;
  padding: 0.25rem;
  border-radius: 50%;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

  .theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
  }

/* ============================= */
/* CARDS & TABLES                */
/* ============================= */

.card, .themed-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  overflow: visible;
}

  .card:hover, .themed-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
  }

.card-header {
  background: var(--background-secondary);
  border-bottom: 2px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  color: var(--text-primary);
}

.card-header h5 {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.card-body {
  padding: 2rem;
}

.table, .themed .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.75rem;
  overflow: hidden;
}

  .table thead {
    background: var(--surface-hover);
    border-bottom: 2px solid var(--accent-primary);
  }

  .table th {
    padding: .5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
  }

  .table tbody tr:hover {
    background-color: var(--surface-hover);
  }

/* ============================= */
/* SETTINGS PAGE                 */
/* ============================= */

.settings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.settings-section {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.section-title {
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.section-title i {
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}

/* General Settings Layout */
.general-settings-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.settings-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem;
}

.setting-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.setting-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group .text-muted {
  font-size: 0.85rem;
}

.occurrence-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.occurrence-controls .text-muted {
  font-size: 0.85rem;
  white-space: nowrap;
}

.number-input {
  width: 80px;
}

.settings-save {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding: 1rem;
}

/* People Management Layout */
.people-table {
  padding: 1.5rem;
}

.table-compact {
  font-size: 0.9rem;
}

.table-compact th {
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  padding: 0.75rem 0.5rem;
}

.table-compact td {
  padding: 0.5rem;
  vertical-align: middle;
}

.col-order {
  width: 120px;
  text-align: center;
}

.col-name {
  min-width: 200px;
}

.col-actions {
  width: 150px;
  text-align: center;
}

.order-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-number {
  font-weight: 600;
  min-width: 20px;
}

.order-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.btn-xs {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
  line-height: 1;
}

.person-name {
  font-weight: 500;
}

.add-row {
  background: var(--surface-secondary);
}

.add-row td {
  border-top: 2px solid var(--border-color);
}

/* Discussion Questions Layout */
.questions-table {
  padding: 1.5rem;
}

.col-question {
  min-width: 300px;
}

.col-active {
  width: 100px;
  text-align: center;
}

.question-text {
  font-weight: 500;
  font-size: calc(1rem + 4px);
}

.inactive-question {
  opacity: 0.6;
}

.inactive-question .question-text {
  text-decoration: line-through;
}

/* Advanced Settings Layout */
.advanced-settings {
  padding: 1.5rem;
}

.api-key-section h5 {
  margin-bottom: 0.5rem;
}

.api-key-section p {
  margin-bottom: 1.5rem;
}

.api-key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.api-key-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.api-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.api-key-description {
  margin-bottom: 0.5rem;
}

.api-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.api-input-group .form-control {
  flex: 1;
}

/* Settings Responsive Design */
@media (max-width: 768px) {
  .general-settings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .settings-fields {
    grid-template-columns: 1fr;
  }
  
  .api-key-grid {
    grid-template-columns: 1fr;
  }
  
  .api-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .api-input-group .btn {
    align-self: flex-start;
  }
  
  .col-order {
    width: 100px;
  }
  
  .col-actions {
    width: 120px;
  }
}

/* Settings Animation */
.settings-section {
  transition: all 0.3s ease;
}

.section-title i {
  transition: transform 0.3s ease;
}

/* Settings Spacing */
.settings-section + .settings-section {
  margin-top: 0.75rem;
}

/* Settings Hover Effects */
.settings-section:hover {
}

.btn:hover {
  transition: transform 0.2s ease;
}

/* ============================= */
/* UTILITY CLASSES               */
/* ============================= */

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

/* ============================= */
/* REUSABLE COMPONENT PATTERNS  */
/* ============================= */

/* Pattern 1: Card Hover Effects */
.hover-lift {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-lift:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hover-lift-small {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-lift-small:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hover-lift-large {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-lift-large:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Pattern 2: Container Cards */
.container-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.container-card-light {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.container-card-setup {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pattern 3: Flex Layouts */
.flex-column-gap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flex-column-gap-sm {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flex-column-gap-lg {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flex-row-gap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flex-row-gap-sm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pattern 4: Form Inputs */
.form-input-styled {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.form-input-styled:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}

.form-input-small {
  max-width: 100px;
  padding: 0.5rem;
  text-align: center;
}

/* Pattern 5: Icon + Content Layout */
.icon-content-layout {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-wrapper {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Pattern 6: Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--accent-primary);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

/* ============================= */
/* SCROLLBAR                     */
/* ============================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 5px;
}

  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
  }

/* ============================= */
/* RESPONSIVE LAYOUT             */
/* ============================= */

/* Mobile-only content - hidden on desktop */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile layout */
  .page {
    flex-direction: column;
  }

  /* Show mobile-only content on mobile */
  .mobile-only {
    display: block;
  }

  .sidebar {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    z-index: 1000;
    display: none !important;
  }

  main {
    margin-left: 0;
    width: 100%;
  }

  article {
    padding: 1rem !important;
  }

  .top-row {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 4rem !important;
    min-height: 4rem;
    padding: 1rem 0.5rem;
  }

  .club-icon-wrapper {
    gap: 0.5rem;
    margin-bottom: 0.25rem;
  }

  .club-icon {
    font-size: 1.25rem;
  }

  .club-name {
    font-size: 1.25rem;
  }

  .club-tagline {
    font-size: 0.75rem;
  }

  .nav-scrollable {
    display: none !important;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    width: 100vw;
    background-color: var(--background-secondary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
    z-index: 1001;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    padding: 0.5rem 0;
  }

  .theme-controls {
    top: auto;
    bottom: 1rem;
    right: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 769px) {
  /* Desktop-specific */
  .sidebar {
    display: block !important;
  }

  .nav-scrollable {
    display: block !important;
    height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 1rem 0;
  }
}

/* ============================= */
/* LIGHT THEME OVERRIDES         */
/* ============================= */

:root[data-theme="light"] body::before {
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(123, 31, 162, 0.05) 0%, transparent 50%);
}

:root[data-theme="light"] .sidebar {
  background-color: #F8F9FA !important;
  box-shadow: inset -1px 0 0 rgba(0, 102, 204, 0.1);
}

:root[data-theme="light"] .top-row {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid var(--border-color);
}

:root[data-theme="light"] .sidebar .nav-link {
  color: #424242;
}

  :root[data-theme="light"] .sidebar .nav-link.active {
    background-color: #E9ECEF !important;
    color: var(--accent-primary);
  }

  :root[data-theme="light"] .sidebar .nav-link:hover {
    background-color: #F1F3F4 !important;
    color: var(--text-primary);
  }

/* ============================= */
/* ANIMATIONS                    */
/* ============================= */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--accent-primary);
  }

  50% {
    box-shadow: 0 0 20px var(--accent-primary), 0 0 30px var(--accent-primary);
  }

  100% {
    box-shadow: 0 0 5px var(--accent-primary);
  }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

.glow {
  animation: glow 2s ease-in-out infinite;
}

/* ============================= */
/* HOME PAGE STYLES              */
/* ============================= */

/* Fade-in animation */
.content-wrapper {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.content-wrapper.fade-in {
  opacity: 1;
  pointer-events: auto;
}

/* Loading placeholders */
.loading-container {
  min-height: 400px;
}

.placeholder-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  height: 300px;
}

.placeholder-header {
  height: 50px;
  background: linear-gradient(90deg, 
    var(--background-secondary) 25%, 
    var(--surface-hover) 50%, 
    var(--background-secondary) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.placeholder-body {
  padding: 1.5rem;
}

.placeholder-line {
  height: 20px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, 
    var(--background-secondary) 25%, 
    var(--surface-hover) 50%, 
    var(--background-secondary) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.placeholder-line.short {
  width: 60%;
}

/* Improved loading indicator */
.loading-indicator {
  text-align: center;
  padding: 3rem 0;
}

.spinner-wrapper {
  margin-bottom: 1.5rem;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3rem;
}

.loading-text {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.loading-dots {
  display: inline-flex;
  gap: 0.5rem;
}

.loading-dots .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

/* ============================= */
/* TIMELINE COMPONENT STYLES     */
/* ============================= */

/* Base timeline item - shared styles for all timeline items */
.timeline-item {
  background-color: var(--surface-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Timeline item variations - borders */
.timeline-item-award {
  border: 2px solid var(--accent-primary);
}

.timeline-item-phase {
  border: 1px solid var(--border-color);
}

.timeline-item-future-person {
  border: 1px dashed var(--accent-primary);
  color: var(--text-primary);
}

.timeline-item-future-award {
  border: 1px dashed var(--accent-orange);
  color: var(--text-primary);
}

/* Timeline headings - these are section dividers, keep accent color */
.timeline-heading-primary {
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
  margin-bottom: 1rem;
}

.timeline-heading-orange {
  color: var(--accent-orange) !important;
  -webkit-text-fill-color: var(--accent-orange) !important;
  margin-bottom: 1rem;
}

.timeline-heading-secondary {
  color: var(--accent-secondary) !important;
  -webkit-text-fill-color: var(--accent-secondary) !important;
  margin-bottom: 1rem;
}

/* Timeline content elements */
.timeline-date {
  color: var(--accent-secondary);
  font-weight: 600;
}

.timeline-person {
  color: var(--text-primary);
}

.timeline-content-inner {
  padding: 0.75rem;
  background-color: var(--background-secondary);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Movie badge styles */
.movie-badge {
  background-color: var(--accent-tertiary);
  color: var(--surface-color);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.movie-badge-primary {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 0.25rem;
}

/* ============================= */
/* HISTORY PAGE STYLES           */
/* ============================= */

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-primary);
}

.history-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.view-toggle .btn {
  white-space: nowrap;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Hide view toggle on mobile */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

.loading-state {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-secondary);
}

.loading-state .spinner-border {
  margin-bottom: 1rem;
}

/* Theater Grid Styles */
.theater-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.movie-card {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(20px);
}

.movie-card.fade-in {
  animation: cardFadeIn 0.8s ease-out forwards;
}

.movie-card:hover {
  box-shadow: 0 20px 40px rgba(229, 9, 20, 0.22);
  border-color: var(--accent-primary);
}

.movie-poster-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.no-poster {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-color), var(--surface-hover));
  color: var(--text-secondary);
}

.no-poster i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.movie-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.movie-card:hover .movie-overlay {
  transform: translateY(0);
}

.movie-info h6 {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: initial !important;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 1),
    -1px -1px 2px rgba(0, 0, 0, 1),
    1px -1px 2px rgba(0, 0, 0, 1),
    -1px 1px 2px rgba(0, 0, 0, 1);
}

.movie-date,
.movie-person {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 400;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 1),
    -1px -1px 2px rgba(0, 0, 0, 1),
    1px -1px 2px rgba(0, 0, 0, 1),
    -1px 1px 2px rgba(0, 0, 0, 1);
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.movie-modal {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-hover);
  position: sticky;
  top: 0;
  z-index: 20;
}

.modal-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.btn-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.btn-close:hover {
  color: var(--accent-primary);
  background: var(--surface-color);
}

.modal-body {
  padding: 2rem;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.modal-poster {
  position: relative;
}

.full-poster {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.no-poster-large {
  width: 100%;
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-hover), var(--background-secondary));
  border-radius: 0.5rem;
  color: var(--text-secondary);
}

.no-poster-large i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.modal-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row strong {
  min-width: 140px;
  color: var(--accent-primary);
  font-weight: 600;
}

.detail-section {
  padding: 1rem 0;
}

.detail-section strong {
  display: block;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.reasoning-text,
.synopsis-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* Markdown content styles */
.markdown-content p {
  margin-bottom: 0.5rem;
}

.markdown-content ul, .markdown-content ol {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.markdown-content a {
  color: var(--accent-primary);
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

.markdown-content blockquote {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1rem;
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

.markdown-content code {
  background-color: var(--surface-hover);
  padding: 0.125rem 0.25rem;
  border-radius: 3px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.markdown-content pre {
  background-color: var(--surface-hover);
  padding: 0.75rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 0.5rem 0;
}

.markdown-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Table cell markdown styles */
td .markdown-content {
  display: inline-block;
}

td p {
  margin: 0;
}

.imdb-link {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.imdb-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}

/* Table responsive improvements */
.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Reasoning content styles */
.reasoning-content {
  text-align: justify;
  line-height: 1.6;
}

.reasoning-content p {
  margin-bottom: 0.5rem;
}

/* Table cell reasoning styles */
td .reasoning-content {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* History page responsive */
@media (max-width: 1200px) {
  .theater-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .history-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .history-header h1 {
    margin-right: 40px;
  }

  .view-toggle {
    justify-content: center;
    width: 100%;
  }

  .view-toggle .btn {
    flex: 1;
    min-width: 140px;
    max-width: 160px;
  }

  .theater-grid {
    grid-template-columns: 1fr;
    margin-right: 40px;
  }

  .table-responsive {
    margin-right: 40px;
  }

  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-poster {
    max-width: 250px;
    margin: 0 auto;
  }

  .movie-modal {
    max-height: calc(100vh - 2rem);
  }

  .modal-body {
    padding: 1rem;
  }

  .detail-row {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
  }

  .detail-row strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .view-toggle {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .view-toggle .btn {
    width: 100%;
    max-width: 200px;
    min-width: 160px;
    padding: 0.75rem 1rem;
  }

  .history-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
}

/* ============================= */
/* FIRST RUN SETUP PAGE STYLES  */
/* ============================= */

.setup-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-primary);
  padding: 2rem;
}

.setup-card {
  /* Uses container-card-setup utility class */
  max-width: 600px;
  width: 100%;
}

.setup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.setup-header h1 {
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.setup-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.setup-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.setup-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.setup-section h3 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.section-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.setup-section .form-group {
  margin-bottom: 1.5rem;
}

.setup-section .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.setup-section .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.setup-section .form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}

.setup-section .help-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.setup-section .help-text a {
  color: var(--accent-primary);
  text-decoration: none;
}

.setup-section .help-text a:hover {
  text-decoration: underline;
}

.setup-actions {
  text-align: center;
  margin-top: 2rem;
}

.setup-section .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 200px;
}

.setup-complete {
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.file-path {
  display: block;
  background: var(--background-primary);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  color: var(--accent-primary);
}

.instance-summary {
  background: var(--surface-hover);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

.instance-summary h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.instance-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instance-summary li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.instance-summary li:last-child {
  border-bottom: none;
}

.instance-summary strong {
  color: var(--text-primary);
  min-width: 120px;
  display: inline-block;
}

.setup-section .alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.setup-section .alert-danger {
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid var(--error-color);
  color: var(--error-color);
}

.setup-section .alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  color: #ffc107;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.setup-section .alert-warning code {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.audio-requirements {
  background: var(--surface-hover);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.audio-requirements h4 {
  color: var(--accent-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.audio-requirements h5 {
  color: var(--text-primary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.requirements-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list strong {
  color: var(--text-primary);
}

.ffmpeg-install {
  margin-top: 1rem;
}

.install-commands {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.command-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.command-group strong {
  min-width: 70px;
  color: var(--text-primary);
}

.command-group code {
  background: var(--background-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
}

.deployment-instructions {
  background: var(--surface-hover);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.deployment-instructions h4 {
  color: var(--accent-primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.deployment-instructions h5 {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.deployment-instructions p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.code-example {
  background: var(--background-primary);
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border-color);
  margin: 0.5rem 0 1rem 0;
}

.code-example code {
  display: block;
  color: var(--accent-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
}

.code-example code:last-child {
  margin-bottom: 0;
}

.deployment-steps {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.deployment-steps li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.deployment-steps .code-example {
  margin-top: 0.5rem;
  margin-left: 0;
}

.info-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 9, 20, 0.08);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(229, 9, 20, 0.22);
  margin-top: 1rem;
  color: var(--accent-primary);
  font-size: 0.9rem;
}

.info-note i {
  font-size: 1.1rem;
}

/* Setup page responsive design */
@media (max-width: 768px) {
  .setup-card {
    padding: 2rem;
    margin: 1rem;
  }

  .setup-container {
    padding: 1rem;
  }
}

/* ============================= */
/* LOADING SPINNER COMPONENT    */
/* ============================= */

.loading-spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 4s ease-in-out;
}

.loading-spinner-overlay.visible {
  opacity: 1;
}

.loading-spinner-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================= */
/* IMAGE UPLOAD COMPONENT       */
/* ============================= */

.image-upload-container {
  margin-bottom: 1rem;
}

.image-upload-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-upload-area:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.image-upload-area.drag-over {
  border-color: #007bff;
  background-color: #e3f2fd;
}

.upload-placeholder {
  color: #6c757d;
}

.upload-placeholder svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.upload-text {
  margin: 0.5rem 0;
  font-weight: 500;
}

.upload-subtext {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

.image-preview {
  position: relative;
  max-width: 100%;
}

.preview-img {
  max-width: 200px;
  max-height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background-color: var(--error-color) !important;
  border-color: var(--error-color) !important;
  color: white !important;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.remove-btn:hover {
  opacity: 1;
  background-color: var(--error-color) !important;
  border-color: var(--error-color) !important;
  color: white !important;
}

.upload-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ============================= */
/* TOP FIVE DISPLAY COMPONENT    */
/* ============================= */

.rank-badge {
  min-width: 40px;
}

.rank-badge .badge {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.top-five-section .blockquote {
  font-size: 1rem;
  border-left: 3px solid var(--bs-primary);
  padding-left: 1rem;
  margin-left: 0;
}

.top-five-section .list-group-item:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.top-five-section .btn-outline-primary:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ============================= */
/* PHASE COMPONENT STYLES       */
/* ============================= */

/* Phase card (ticket-card) text improvements */
.ticket-card .card-body {
  padding: 1.5rem 2rem;
}

.ticket-card .card-body p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

.ticket-card .card-body b {
  color: var(--accent-primary);
}

.ticket-card .card-body hr {
  border-color: var(--border-color);
  opacity: 0.5;
  margin: 1rem 0;
}

.ticket-card .card-body img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Review questions card */
.review-questions-card .card-body ol {
  color: var(--text-primary);
  padding-left: 1.5rem;
}

.review-questions-card .card-body ol li {
  padding: 0.35rem 0;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Accent headings - use these sparingly for decorative titles */
.accent-heading {
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
}

.reasoning-content {
  text-align: justify;
}

.reasoning-content p {
  margin-bottom: 0.5rem;
}

.reasoning-content ul, .reasoning-content ol {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.reasoning-content a {
  color: #0066cc;
  text-decoration: none;
}

.reasoning-content a:hover {
  text-decoration: underline;
}

.reasoning-content blockquote {
  border-left: 3px solid #ccc;
  padding-left: 1rem;
  margin: 0.5rem 0;
  color: #666;
}

.reasoning-content code {
  background-color: #f5f5f5;
  padding: 0.125rem 0.25rem;
  border-radius: 3px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.reasoning-content pre {
  background-color: #f5f5f5;
  padding: 0.75rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 0.5rem 0;
}

.reasoning-content pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-preview {
  background-color: initial;
}

.markdown-editor-container .nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.markdown-editor-container .nav-link {
  color: #495057;
  background-color: transparent;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  padding: .5rem 1rem;
  cursor: pointer;
}

.markdown-editor-container .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.markdown-editor-container .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
}

.markdown-preview {
  background-color: #fff;
  overflow-y: auto;
  max-height: 300px;
}

.markdown-preview p:last-child {
  margin-bottom: 0;
}

.spice-up-container {
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  padding: 0.75rem;
  background-color: #f8f9fa;
}

.spice-up-container .form-check-label {
  margin-left: 0.25rem;
  color: #495057;
}

.spice-up-container select {
  margin-top: 0.5rem;
}

/* ============================= */
/* STATS COMPONENT STYLES       */
/* ============================= */

.movie-session-card {
  cursor: pointer;
  /* Uses hover-lift-large utility class */
}

.session-stats {
  font-size: 0.9rem;
}

/* ============================= */
/* AWARD SETTINGS COMPONENT     */
/* ============================= */

.award-settings-content {
  /* Uses flex-column-gap-lg utility class */
  padding: 2rem;
}

.award-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.award-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.option-label {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 150px;
}

.award-option .form-control {
  max-width: 100px;
  margin-bottom: 0;
}

.questions-section {
  padding: 0.5rem;
}

.questions-header {
  /* Uses section-header utility class */
  padding: 0.75rem;
}

.questions-title {
  /* Uses section-title utility class */
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem;
}

.question-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.question-item:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.12);
}

.question-main {
  display: flex;
  align-items: center;
}

.question-input {
  width: 100%;
  margin-bottom: 0;
  background: var(--background-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.question-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.votes-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.votes-control label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.votes-input {
  width: 60px;
  margin-bottom: 0;
  text-align: center;
}

.active-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delete-btn {
  padding: 0.25rem 0.5rem;
}

.settings-save {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

.save-success {
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Award Settings Responsive */
@media (max-width: 768px) {
  .question-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .question-controls {
    flex-wrap: wrap;
  }

  .votes-control {
    width: 100%;
  }

  .option-label {
    min-width: auto;
  }
}

/* Award Settings Form Overrides */
.form-check-input {
  margin-bottom: 0;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.spinner-border-sm {
  width: 0.875rem;
  height: 0.875rem;
}

/* ============================= */
/* SESSION DETAILS VIEW COMPONENT */
/* ============================= */

.category-card {
  /* Uses hover-lift utility class */
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 100%;
}

.winner-quote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c3e50;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #007bff;
  margin: 1rem 0;
}

.card-header.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white;
  border: none;
}

.card-body {
  padding: 1.5rem;
}

.entertainment-score i {
  font-size: 1.1rem;
}

.context-section {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.375rem;
  margin: 0.5rem 0;
}

.session-details h3 {
  color: #2c3e50;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.stat-card {
  /* Uses container-card + icon-content-layout + hover-lift-small utility classes */
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: #dee2e6;
}

.stat-icon {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.5rem;
}

.stat-content {
  flex: 1;
}

.stat-title {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
}

.metric-card {
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.metric-card:hover {
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.875rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.language-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.3s ease;
}

.language-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.language-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
}

.total-count {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.word-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.word-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: white;
  border-radius: 0.375rem;
  border: 1px solid #e9ecef;
}

.word-text {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(0,0,0,0.05);
}

.word-count {
  font-weight: 600;
  color: #6c757d;
  font-size: 0.875rem;
}

.context-example {
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: rgba(0,0,0,0.02);
  border-radius: 0.25rem;
  font-style: italic;
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.3;
}

.alert-sm {
  padding: 0.75rem 1rem;
  margin-bottom: 0;
}

.question-answer-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.question-answer-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.question-header h6 {
  font-size: 0.9rem;
  line-height: 1.3;
}

.answer-content p {
  font-style: italic;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.4;
}

.entertainment-rating i {
  font-size: 0.8rem;
}

/* Session Details Responsive */
@media (max-width: 767.98px) {
  .stat-card {
    padding: 1rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-icon i {
    font-size: 1.25rem;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .language-card {
    padding: 1rem;
  }
}

/* ============================= */
/* THEATER EXPERIENCE            */
/* ============================= */

/* --- Cinema Marquee Header --- */
.cinema-marquee {
  position: relative;
  padding: 1.25rem 1rem;
}

.marquee-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.marquee-border::before,
.marquee-border::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle, var(--accent-primary) 2px, transparent 2px);
  background-size: 18px 6px;
  background-repeat: repeat-x;
  animation: marqueeScroll 1.5s linear infinite;
}

.marquee-border::before { top: 0; }
.marquee-border::after { bottom: 0; animation-direction: reverse; }

@keyframes marqueeScroll {
  0% { background-position: 0 0; }
  100% { background-position: 18px 0; }
}

.now-showing {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.6rem;
  color: var(--accent-primary);
  text-align: center;
  margin-bottom: 0.25rem;
  font-weight: 600;
  animation: marqueeFlicker 3s ease-in-out infinite;
}

@keyframes marqueeFlicker {
  0%, 100% { opacity: 1; }
  40% { opacity: 0.6; }
  50% { opacity: 1; }
  60% { opacity: 0.7; }
}

/* --- Movie Ticket Card --- */
.ticket-card {
  position: relative;
  border: none !important;
  border-radius: 0.75rem;
  overflow: visible;
  box-shadow: var(--shadow-lg);
}

.ticket-card .card-body {
  position: relative;
}

.ticket-perforated-edge {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px dashed var(--border-light);
}

.ticket-stub {
  border-top: 2px dashed var(--border-light);
  padding: 0.6rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--background-secondary);
  border-radius: 0 0 0.75rem 0.75rem;
}

.ticket-admit {
  font-family: var(--font-family-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--accent-primary);
  opacity: 0.35;
  text-transform: uppercase;
}

/* --- Film Strip Timeline --- */
.film-strip {
  position: relative;
  padding: 1.25rem 2.5rem;
  background: var(--surface-color);
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

.film-strip::before,
.film-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  background-color: var(--border-color);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 4px,
    var(--background-primary) 4px,
    var(--background-primary) 14px,
    transparent 14px,
    transparent 18px
  );
  background-size: 20px 18px;
}

.film-strip::before { left: 0; }
.film-strip::after { right: 0; }

.film-strip-header {
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.film-strip-frame {
  padding: 0.6rem 0.75rem;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-primary);
  margin-bottom: 0.5rem;
  position: relative;
  transition: all 0.2s ease;
}

.film-strip-frame:hover {
  background: var(--surface-hover);
  border-left-color: var(--accent-secondary);
}

/* --- Bottom Navigation Bar (Mobile) --- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--background-secondary);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  padding: 0 0.25rem;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.6rem;
  gap: 2px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-width: 52px;
  font-family: var(--font-family-body);
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item .nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--accent-primary);
  background: rgba(229, 9, 20, 0.08);
}

.bottom-nav-item.active .nav-icon {
  text-shadow: 0 0 10px var(--accent-primary);
}

.bottom-nav-item.present-nav-item {
  position: relative;
}

.bottom-nav-item.present-nav-item .nav-icon {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: -12px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }

  main {
    padding-bottom: 68px;
  }

  .mobile-menu-btn {
    display: none !important;
  }
}

/* --- Presentation Mode --- */
.presentation-mode {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0a0a;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.presentation-mode::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.04) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.presentation-spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(229, 9, 20, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.presentation-question-number {
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.presentation-question-text {
  font-family: var(--font-family-body);
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  max-width: 750px;
  animation: questionReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

@keyframes questionReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.presentation-title-card {
  text-align: center;
  animation: questionReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.presentation-title-card h1 {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--accent-primary) !important;
  text-shadow: 0 0 30px rgba(229, 9, 20, 0.4);
  margin-bottom: 0.5rem;
  -webkit-text-fill-color: var(--accent-primary) !important;
  background: none !important;
}

.presentation-title-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.presentation-progress {
  position: fixed;
  bottom: 2.5rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  z-index: 1;
}

.presentation-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.presentation-dot.active {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  transform: scale(1.4);
}

.presentation-dot.completed {
  background: rgba(255, 255, 255, 0.45);
}

.presentation-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 100002;
}

.presentation-close:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.presentation-nav-hint {
  position: fixed;
  bottom: 1rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.presentation-end {
  text-align: center;
  animation: questionReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.presentation-end .end-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.presentation-end h2 {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
  background: none !important;
  margin-bottom: 0.5rem;
}

.presentation-end p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

/* --- Ambient Theater Lighting --- */
.theater-ambient {
  position: relative;
}

.theater-ambient::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* --- Enhanced Mobile Typography --- */
@media (max-width: 768px) {
  html, body {
    font-size: 17px;
  }

  .card-body ol li,
  .card-body ul li {
    padding: 0.4rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .review-questions-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .review-questions-card ol {
    padding-left: 1.25rem;
    margin-bottom: 0;
  }

  .review-questions-card ol li {
    padding: 0.6rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
  }

  .review-questions-card ol li:last-child {
    border-bottom: none;
  }
}

/* --- Present Questions Button --- */
.present-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff !important;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-family: var(--font-family-display);
}

.present-btn:hover {
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
  color: #fff !important;
}

.present-btn .btn-icon {
  font-size: 0.9rem;
}
