:root {
  --bg-color: #0E0E11;
  --card-bg: #18181C;
  --card-border: #232329;
  --accent-yellow: #FFD400;
  --accent-hover: #E5BE00;
  --text-main: #FFFFFF;
  --text-muted: #8E8E93;
  --text-secondary: #C7C7CC;
  --tag-bg: #2C2C32;
  --green-check: #34C759;
  --font-main: 'Figtree', sans-serif;
  --font-display: 'Anton', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

#app-container {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background-color: var(--bg-color);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* TOP HEADER */
.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(14, 14, 17, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 8px 20px;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--accent-yellow);
}

.brand-logo span {
  color: #fff;
}

.user-badge {
  font-size: 13px;
  background: var(--tag-bg);
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--accent-yellow);
  font-weight: 600;
}

.tabs-nav {
  display: flex;
  padding: 0 20px;
  gap: 24px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.tab-btn.active {
  color: var(--text-main);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 3px 3px 0 0;
}

/* SUB HEADER */
.sub-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.pill-tag {
  background: var(--tag-bg);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-summary {
  font-size: 13px;
  color: var(--text-muted);
}

/* CARDS LIST */
.content-area {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.show-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.show-card:hover {
  border-color: rgba(255, 212, 0, 0.3);
}

.card-poster {
  width: 105px;
  height: 155px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-info {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.show-title-pill {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  background: var(--tag-bg);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.network-label {
  font-size: 12px;
  color: var(--text-muted);
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.season-ep {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-main);
}

.backlog-pill {
  background: rgba(255, 212, 0, 0.15);
  color: var(--accent-yellow);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.episode-title {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.air-info {
  font-size: 12px;
  color: var(--text-muted);
}

.check-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-yellow);
  background: transparent;
  color: var(--accent-yellow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-btn:hover {
  background-color: var(--accent-yellow);
  color: #000;
  transform: scale(1.1);
}

.check-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* PROFILE STATS VIEW */
.stats-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
}

.stat-box .num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-box .lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.reaction-sheet {
  background: #18181C;
  width: 100%;
  max-width: 520px;
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--card-border);
  padding: 24px 20px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.modal-overlay.active .reaction-sheet {
  transform: translateY(0);
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 800;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.rating-stars {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  background: var(--tag-bg);
  padding: 12px 16px;
  border-radius: 12px;
}

.star-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s;
}

.star-item:hover {
  transform: scale(1.15);
}

.star-icon {
  font-size: 24px;
  color: #555;
}

.star-item.selected .star-icon {
  color: var(--accent-yellow);
}

.star-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.emotions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.emotion-tile {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.emotion-tile.selected {
  border-color: var(--accent-yellow);
  background: rgba(255, 212, 0, 0.1);
}

.emotion-tile .emoji {
  font-size: 24px;
}

.emotion-tile .name {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-secondary);
}

.submit-reaction-btn {
  width: 100%;
  background-color: var(--accent-yellow);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  border: none;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* BOTTOM NAV */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  height: 64px;
  background: rgba(14, 14, 17, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 40;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item.active {
  color: var(--accent-yellow);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* COMING SOON GATE */
.coming-soon-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, #1a1a24 0%, #0E0E11 80%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow-y: auto;
  direction: ltr;
}

.cs-content {
  max-width: 540px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-badge {
  display: inline-block;
  background: rgba(255, 212, 0, 0.12);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 212, 0, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.cs-logo {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 1.5px;
  color: var(--accent-yellow);
  margin-bottom: 16px;
}

.cs-logo span {
  color: #fff;
}

.cs-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cs-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

.cs-form {
  display: flex;
  width: 100%;
  max-width: 440px;
  gap: 10px;
  margin-bottom: 12px;
}

.cs-form input {
  flex: 1;
  background: #18181C;
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.cs-form input:focus {
  border-color: var(--accent-yellow);
}

.cs-form button {
  background: var(--accent-yellow);
  color: #000;
  border: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-main);
  transition: background-color 0.2s;
}

.cs-form button:hover {
  background: var(--accent-hover);
}

.cs-msg {
  min-height: 24px;
  font-size: 13px;
  margin-bottom: 24px;
}

.cs-msg.success {
  color: #34C759;
}

.cs-msg.error {
  color: #FF453A;
}

.cs-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 20px 0 36px;
  flex-wrap: wrap;
}

.cs-feature-item {
  background: rgba(24, 24, 28, 0.7);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cs-f-icon {
  font-size: 18px;
}

.cs-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.cs-admin-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-admin-link:hover {
  color: var(--accent-yellow);
}

/* Movie Grid & Detail Sheet Additions */
.movies-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 10px 0;
}

.movie-poster-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.movie-poster-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
}

.movie-card-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: #111;
}

.movie-card-details {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movie-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.movie-card-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.title-detail-sheet {
  max-height: 85vh;
  overflow-y: auto;
}

.detail-backdrop {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.detail-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.detail-poster-mini {
  width: 90px;
  height: 135px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.detail-meta-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.detail-synopsis {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 14px 0;
}

.platform-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.platform-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

.platform-pill-btn:hover {
  background: var(--accent-yellow);
  color: #000;
}

.subtitle-badge-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.sub-download-link {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  text-decoration: none;
  font-weight: 600;
}

.sub-download-link:hover {
  background: #38bdf8;
  color: #000;
}

/* RATING BADGES */
.ratings-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: #18181c;
  border: 1px solid #232329;
}

.rating-badge.imdb {
  background: #f5c51822;
  border-color: #f5c51855;
  color: #f5c518;
}

.rating-badge.tmdb {
  background: #01b4e422;
  border-color: #01b4e455;
  color: #01b4e4;
}

.rating-badge.metascore {
  background: #33cc3322;
  border-color: #33cc3355;
  color: #33cc33;
}

.rating-badge.rt {
  background: #fa320a22;
  border-color: #fa320a55;
  color: #fa320a;
}

.rating-badge.age {
  background: #e2e8f01a;
  border-color: #e2e8f033;
  color: #e2e8f0;
}

/* SEASONS & EPISODES ACCORDION */
.seasons-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.season-block {
  background: #18181c;
  border: 1px solid #232329;
  border-radius: 10px;
  overflow: hidden;
}

.season-header {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #1c1c22;
  font-weight: 700;
  font-size: 13px;
  user-select: none;
}

.season-header:hover {
  background: #23232a;
}

.season-episodes-list {
  display: flex;
  flex-direction: column;
}

.season-episodes-list.collapsed {
  display: none;
}

.ep-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-top: 1px solid #232329;
  font-size: 12px;
}

.ep-item:hover {
  background: #141418;
}

.ep-still-thumb {
  width: 90px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #121215;
}

.ep-content-col {
  flex: 1;
}

.ep-title-num {
  font-weight: 700;
  color: #fff;
  font-size: 13px;
}

.ep-overview-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* CUSTOM TOAST NOTIFICATIONS (TV TIME BRAND IDENTITY) */
.tvi-toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.tvi-toast {
  background: #18181c;
  border: 1px solid var(--accent-yellow);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.tvi-toast .toast-icon {
  color: var(--accent-yellow);
  font-size: 16px;
}

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


.ep-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 212, 0, 0.4);
  color: var(--accent-yellow);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ep-action-btn:hover {
  background: var(--accent-yellow);
  color: #000;
}

.ep-action-btn.watched {
  background: #22c55e;
  border-color: #22c55e;
  color: #000;
}

/* FILTER PILLS (MOVIES & EXPLORE) */
.filter-pills-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}

.filter-pill-btn {
  background: #18181c;
  border: 1px solid #232329;
  color: #8e8e93;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill-btn.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

/* QUICK ADD BADGE ON POSTERS */
.quick-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.75);
  border: 1.5px solid var(--accent-yellow);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
}

.quick-add-btn:hover {
  background: var(--accent-yellow);
  color: #000;
}

.quick-add-btn.added {
  background: #22c55e;
  border-color: #22c55e;
  color: #000;
}

/* EXPLORE CAROUSELS */
.explore-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 20px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.explore-see-all {
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.horizontal-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.horizontal-item-card {
  flex: 0 0 130px;
  position: relative;
  background: #18181c;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.horizontal-item-card:hover {
  transform: translateY(-3px);
}

.horizontal-item-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.horizontal-item-meta {
  padding: 8px;
}

.horizontal-item-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PROFILE BADGES */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.badge-tile {
  background: #18181c;
  border: 1px solid #232329;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}

.badge-tile-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.badge-tile-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.badge-tile-desc {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   AUTH MODAL & TV TIME STYLED FORMS
   ========================================================================== */
.auth-sheet {
  background: #141418;
  width: 100%;
  max-width: 440px;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid #232329;
  padding: 24px 22px 34px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
}

.modal-overlay.active .auth-sheet {
  transform: translateY(0);
}

.sheet-handle-bar {
  width: 38px;
  height: 4px;
  background: #33333d;
  border-radius: 2px;
  margin: 0 auto 18px;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.auth-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.auth-tabs {
  display: flex;
  background: #1a1a20;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 20px;
  border: 1px solid #282830;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #8e8e93;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-tab-btn.active {
  background: var(--accent-yellow);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255, 212, 0, 0.25);
}

.auth-label {
  font-size: 12px;
  font-weight: 600;
  color: #9a9aa2;
  margin-bottom: 8px;
  display: block;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  background: #1a1a22;
  border: 1.5px solid #2a2a35;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.auth-input:focus {
  border-color: var(--accent-yellow);
  background: #20202a;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15);
}

.auth-input::placeholder {
  color: #555562;
}

.auth-btn-primary {
  width: 100%;
  background: var(--accent-yellow);
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn-primary:active {
  transform: scale(0.99);
}

.auth-btn-primary:hover {
  opacity: 0.92;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  color: #555562;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #252530;
}

.google-signin-box {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 48px;
}

.tvi-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  background: #1c1c24;
  border: 1.5px solid #2e2e3c;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tvi-google-btn:hover {
  background: #252532;
  border-color: #3e3e50;
  transform: translateY(-1px);
}

.tvi-google-btn:active {
  transform: scale(0.99);
}

.tvi-google-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* LANGUAGE SELECTOR */
.lang-selector {
  background: #1c1c24;
  color: #c0c0c8;
  border: 1px solid #2e2e3c;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-selector:hover, .lang-selector:focus {
  border-color: var(--accent-yellow);
  color: #ffffff;
}

/* REVIEWS & COMMENTS SECTION */
.reviews-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #232329;
}

.reviews-header {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-form {
  background: #18181e;
  border: 1px solid #282832;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.review-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #121216;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #ffffff;
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
  outline: none;
}

.review-textarea:focus {
  border-color: var(--accent-yellow);
}

.review-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.spoiler-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8e8e93;
  cursor: pointer;
}

.btn-post-review {
  background: var(--accent-yellow);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.comment-card {
  background: #16161c;
  border: 1px solid #23232a;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.comment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.comment-date {
  font-size: 10px;
  color: #71717a;
}

.comment-body {
  font-size: 12px;
  color: #d4d4d8;
  line-height: 1.5;
}

.spoiler-blur {
  filter: blur(5px);
  user-select: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.spoiler-blur.revealed {
  filter: none;
  user-select: auto;
}

.spoiler-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  margin-left: 6px;
}





