/* SocialBoost - YouTube Authentic Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Roboto:wght@400;500;700;900&family=YouTube+Sans:wght@500;700;800;900&display=swap');

:root {
  --yt-bg-main: #0a0a0a;
  --yt-bg-card: #161616;
  --yt-bg-card-glass: rgba(22, 22, 22, 0.85);
  --yt-bg-hover: #222222;
  --yt-bg-active: #333333;
  --yt-border: rgba(255, 255, 255, 0.14);
  --yt-border-glow: rgba(255, 0, 0, 0.5);

  --yt-red: #ff0000;
  --yt-red-gradient: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  --yt-red-glow: rgba(255, 0, 0, 0.4);

  --yt-green: #00e676;
  --yt-green-gradient: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
  --yt-green-glow: rgba(0, 230, 118, 0.35);

  --yt-text-primary: #ffffff;
  --yt-text-secondary: #b0b0b0;
  --yt-text-disabled: #6c6c6c;

  --yt-blue: #3ea6ff;
  --yt-gold: #ffd700;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 35px rgba(255, 0, 0, 0.3);
  --shadow-glow-green: 0 0 35px rgba(0, 230, 118, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* YouTube Light Theme System */
[data-theme="light"] {
  --yt-bg-main: #f8f9fa;
  --yt-bg-card: #ffffff;
  --yt-bg-card-glass: rgba(255, 255, 255, 0.9);
  --yt-bg-hover: #f1f3f5;
  --yt-bg-active: #e9ecef;
  --yt-border: #cbd5e1;
  --yt-border-glow: rgba(255, 0, 0, 0.3);

  --yt-text-primary: #0f172a;
  --yt-text-secondary: #475569;
  --yt-text-disabled: #94a3b8;

  --yt-blue: #0284c7;
  --yt-green: #10b981;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', 'Roboto', sans-serif;
}

body {
  background-color: var(--yt-bg-main);
  color: var(--yt-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================================= */
/* FORM CONTROLS & YOUTUBE STUDIO INPUT SYSTEM */
/* ========================================================= */
.yt-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 18px;
  text-align: left;
  position: relative;
}

.yt-form-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.yt-form-row .yt-form-group {
  flex: 1;
}

.yt-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yt-text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.yt-form-label i {
  font-size: 14px;
  color: var(--yt-red);
}

.yt-form-control,
.yt-form-select {
  width: 100% !important;
  display: block !important;
  height: 48px;
  padding: 10px 16px;
  background-color: var(--yt-bg-hover);
  color: var(--yt-text-primary);
  border: 1.5px solid var(--yt-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box !important;
  appearance: auto;
}

textarea.yt-form-control {
  height: auto !important;
  min-height: 80px;
}

.yt-form-control:focus,
.yt-form-select:focus {
  border-color: var(--yt-red);
  box-shadow: 0 0 0 3.5px rgba(255, 0, 0, 0.25);
  background-color: var(--yt-bg-card);
}

.yt-form-control::placeholder {
  color: var(--yt-text-disabled);
  font-weight: 400;
}

/* Chrome / Edge Autofill Style Override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--yt-text-primary) !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--yt-bg-hover) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ========================================================= */
/* HEADER NAVIGATION - APP RESPONSIVE */
/* ========================================================= */
.yt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--yt-bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--yt-border);
  transition: var(--transition);
}

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

.yt-menu-toggle {
  background: transparent;
  border: none;
  color: var(--yt-text-primary);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.yt-menu-toggle:hover {
  background: var(--yt-bg-hover);
}

.yt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.yt-logo-icon {
  color: var(--yt-red);
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
}

.yt-logo-title {
  font-family: 'YouTube Sans', 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--yt-text-primary);
  letter-spacing: -0.8px;
}

.yt-logo-badge {
  background: var(--yt-red-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.yt-search-container {
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  margin: 0 20px;
}

.yt-search-box {
  flex: 1;
  background: var(--yt-bg-hover);
  border: 1px solid var(--yt-border);
  border-right: none;
  border-radius: 40px 0 0 40px;
  padding: 0 16px;
  height: 38px;
  display: flex;
  align-items: center;
}

.yt-search-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--yt-text-primary);
  font-size: 14px;
}

.yt-search-btn {
  background: var(--yt-bg-active);
  border: 1px solid var(--yt-border);
  border-radius: 0 40px 40px 0;
  width: 56px;
  height: 38px;
  color: var(--yt-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.yt-search-btn:hover {
  background: var(--yt-bg-hover);
}

.yt-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  color: var(--yt-text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  transform: rotate(20deg) scale(1.08);
  border-color: var(--yt-red);
}

.yt-btn-red {
  background: var(--yt-red-gradient);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

.yt-btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

.yt-btn-green {
  background: var(--yt-green-gradient);
  color: #000;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

.yt-btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

.yt-btn-outline {
  background: transparent;
  color: var(--yt-text-primary);
  border: 1px solid var(--yt-border);
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.yt-btn-outline:hover {
  background: var(--yt-bg-hover);
  border-color: var(--yt-text-primary);
}

/* ========================================================= */
/* LANDING PAGE HERO */
/* ========================================================= */
.landing-hero {
  padding: 60px 20px 40px 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 0, 0, 0.18) 0%, transparent 60%);
  border-bottom: 1px solid var(--yt-border);
}

.hero-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yt-bg-hover);
  border: 1px solid var(--yt-red);
  color: var(--yt-red);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow-red);
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yt-red);
  box-shadow: 0 0 10px var(--yt-red);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-family: 'YouTube Sans', 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-title .highlight-red {
  color: var(--yt-red);
  background: linear-gradient(to right, #ff0000, #ff5252);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-green {
  color: var(--yt-green);
  background: linear-gradient(to right, #00e676, #00b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--yt-text-secondary);
  max-width: 700px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.role-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.role-choice-card {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-choice-card:hover {
  transform: translateY(-6px);
  border-color: var(--yt-red);
  box-shadow: var(--shadow-glow-red);
}

.role-choice-card.earner:hover {
  border-color: var(--yt-green);
  box-shadow: var(--shadow-glow-green);
}

.role-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.role-choice-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 0, 0, 0.12);
  color: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.role-choice-card.earner .role-choice-icon {
  background: rgba(0, 230, 118, 0.12);
  color: var(--yt-green);
}

.role-choice-title {
  font-family: 'YouTube Sans', 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.role-choice-desc {
  font-size: 13px;
  color: var(--yt-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.role-features-list {
  list-style: none;
  margin-bottom: 24px;
}

.role-features-list li {
  font-size: 13px;
  color: var(--yt-text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-features-list li i {
  color: var(--yt-green);
}

/* Statistics Banner */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: -24px auto 36px auto;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.stat-box {
  background: var(--yt-bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-counter-number {
  font-family: 'YouTube Sans', sans-serif;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}

.stat-counter-label {
  font-size: 11px;
  color: var(--yt-text-secondary);
  font-weight: 600;
}

/* Capabilities 6-Grid Section */
.landing-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-tagline {
  text-align: center;
  margin-bottom: 32px;
}

.section-tagline h2 {
  font-family: 'YouTube Sans', sans-serif;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.section-tagline p {
  color: var(--yt-text-secondary);
  font-size: 14px;
}

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

.benefit-card {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--yt-red);
}

.benefit-card.earner:hover {
  border-color: var(--yt-green);
}

.benefit-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yt-bg-hover);
  color: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.benefit-card.earner .benefit-icon-wrapper {
  color: var(--yt-green);
}

.benefit-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.benefit-desc {
  font-size: 13px;
  color: var(--yt-text-secondary);
  line-height: 1.5;
}

/* Workflow 3-Step Grid */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yt-red);
  color: #fff;
  font-family: 'YouTube Sans', sans-serif;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  box-shadow: var(--shadow-glow-red);
}

/* Dashboard App Layout */
.yt-app-wrapper {
  display: flex;
  min-height: calc(100vh - 60px);
}

.yt-sidebar {
  width: 240px;
  background: var(--yt-bg-card);
  border-right: 1px solid var(--yt-border);
  padding: 16px 12px;
  flex-shrink: 0;
  transition: var(--transition);
}

.yt-sidebar.collapsed {
  width: 72px;
}

.yt-nav-section {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yt-border);
}

.yt-nav-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--yt-text-disabled);
  text-transform: uppercase;
  padding: 0 12px 8px 12px;
  letter-spacing: 0.5px;
}

.yt-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--yt-text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
}

.yt-nav-item i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.yt-nav-item:hover, .yt-nav-item.active {
  background: var(--yt-bg-hover);
  color: var(--yt-red);
}

.yt-sidebar.collapsed .yt-nav-item span,
.yt-sidebar.collapsed .yt-nav-title {
  display: none;
}

.yt-main-content {
  flex: 1;
  padding: 20px;
  background: var(--yt-bg-main);
  max-width: 1600px;
}

.dashboard-view {
  display: none;
}

.dashboard-view.active {
  display: block;
}

/* Stats Cards in Dashboard */
.yt-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.yt-stat-card {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.yt-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.yt-stat-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--yt-text-secondary);
}

.yt-stat-icon {
  font-size: 16px;
  color: var(--yt-red);
}

.yt-stat-val {
  font-family: 'YouTube Sans', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--yt-text-primary);
}

.yt-stat-sub { font-size: 11px; color: var(--yt-text-disabled); margin-top: 4px; }

.yt-panel {
  background: var(--yt-bg-card);
  border: 1px solid var(--yt-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.yt-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yt-border);
}

.yt-panel-title {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yt-text-primary);
}

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

.yt-video-card {
  background: var(--yt-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--yt-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.yt-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.yt-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.yt-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.yt-card-body { padding: 14px; }

.yt-card-meta { display: flex; gap: 10px; }

.yt-channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.yt-video-info { flex: 1; }

.yt-video-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--yt-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-channel-name { font-size: 12px; color: var(--yt-text-secondary); }

.yt-reward-badge {
  margin-top: 10px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--yt-green);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.yt-card-action {
  padding: 12px 14px;
  border-top: 1px solid var(--yt-border);
  background: var(--yt-bg-hover);
}

/* ========================================================= */
/* MODALS & OVERLAYS - YOUTUBE STUDIO STYLE */
/* ========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-box {
  background-color: var(--yt-bg-card) !important;
  border: 1px solid var(--yt-border);
  border-radius: 20px;
  max-width: 480px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  color: var(--yt-text-primary);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yt-border);
}

.modal-title { font-size: 18px; font-weight: 800; color: var(--yt-text-primary); }

.modal-close {
  background: var(--yt-bg-hover);
  border: 1px solid var(--yt-border);
  color: var(--yt-text-secondary);
  font-size: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--yt-red);
  color: #fff;
  border-color: var(--yt-red);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--yt-bg-card);
  border-left: 4px solid var(--yt-blue);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--yt-text-primary);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast.success { border-left-color: var(--yt-green); }
.toast.error { border-left-color: var(--yt-red); }

/* ========================================================= */
/* YOUTUBE NATIVE APP MOBILE BOTTOM NAV BAR & DRAWER */
/* ========================================================= */
.yt-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 58px;
  background: var(--yt-bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--yt-border);
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.yt-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--yt-text-secondary);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
  flex: 1;
  height: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.yt-bottom-nav-item i {
  font-size: 18px;
}

.yt-bottom-nav-item.active,
.yt-bottom-nav-item:hover {
  color: var(--yt-red);
}

.yt-bottom-nav-create {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yt-red-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
  margin-top: -10px;
  border: 2px solid var(--yt-bg-main);
}

/* Mobile Slide Drawer Menu */
.yt-mobile-drawer {
  position: fixed;
  top: 0;
  left: -290px;
  width: 280px;
  height: 100vh;
  background: var(--yt-bg-card);
  border-right: 1px solid var(--yt-border);
  z-index: 2500;
  transition: var(--transition);
  padding: 20px 16px;
  overflow-y: auto;
  box-shadow: 10px 0 30px rgba(0,0,0,0.8);
}

.yt-mobile-drawer.open {
  left: 0;
}

.yt-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.yt-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================================= */
/* MEDIA QUERIES FOR TABLET & MOBILE RESPONSIVENESS */
/* ========================================================= */
@media (max-width: 992px) {
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 15px; }
  .role-choice-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .hide-tablet { display: none !important; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Room for YouTube Mobile App Bottom Nav Bar */
  }

  .yt-header {
    height: 56px;
    padding: 0 12px;
  }

  .yt-search-container {
    display: none;
  }

  .yt-logo-badge {
    display: none;
  }

  .yt-logo-title {
    font-size: 17px;
  }

  .hide-mobile {
    display: none !important;
  }

  .yt-sidebar {
    position: fixed;
    left: -260px;
    top: 56px;
    bottom: 58px;
    width: 250px;
    z-index: 1200;
    transition: var(--transition);
    box-shadow: 10px 0 30px rgba(0,0,0,0.8);
  }

  .yt-sidebar.open {
    left: 0;
  }

  .yt-main-content {
    padding: 14px 12px 80px 12px;
  }

  .yt-mobile-bottom-nav {
    display: flex;
  }

  /* Creator & Earner Stats Grid Mobile Layout */
  .yt-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .yt-stat-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .yt-stat-title {
    font-size: 11px !important;
  }

  .yt-stat-val {
    font-size: 20px !important;
    margin: 4px 0 !important;
  }

  .yt-stat-sub {
    font-size: 10px !important;
  }

  /* Category Filter Pills Mobile Horizontal Scroll */
  .yt-panel-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .task-filter-container, .role-pill-group {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Creator & Earner Task Card Grid */
  .yt-video-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .yt-video-card {
    border-radius: 16px !important;
  }

  .yt-thumbnail-wrapper {
    height: 180px !important;
  }

  /* Modals Mobile Sizing */
  .modal-box {
    max-width: 95% !important;
    width: 95% !important;
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }

  .landing-hero {
    padding: 40px 16px 30px 16px;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .landing-section {
    padding: 0 14px;
    margin: 36px auto;
  }

  .section-tagline h2 {
    font-size: 24px;
  }

  .toast-container {
    bottom: 70px;
    right: 14px;
    left: 14px;
  }
}

@media (max-width: 480px) {
  .yt-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-title {
    font-size: 26px;
  }
  .yt-header-actions {
    gap: 6px;
  }
  .yt-btn-red, .yt-btn-green, .yt-btn-outline {
    padding: 6px 12px;
    font-size: 12px;
  }
  .stats-banner {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
}
