/* ============================================
   NO SCAPEGOATS - Design System
   Version: 1.0
   Theme: Dignified & Modern
   ============================================ */

/* ---------- CSS Variables (Easy Theming) ---------- */
:root {
  /* Primary Colors */
  --color-primary: #1a2332;
  --color-primary-light: #2d3a4f;
  --color-primary-dark: #0f1520;
  
  /* Accent Colors */
  --color-accent: #d4a853;
  --color-accent-light: #e8c77b;
  --color-accent-dark: #b8923f;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f6f3;
  --color-light-gray: #e8e6e3;
  --color-mid-gray: #8a8a8a;
  --color-dark-gray: #4a4a4a;
  --color-black: #111111;
  
  /* Status Colors */
  --color-success: #2e7d5a;
  --color-error: #c44536;
  --color-warning: #d4a853;
  --color-info: #3d6b99;
  
  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-hero: 5rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 30px rgba(212, 168, 83, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
}

.text-gold { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--light {
  background-color: var(--color-white);
}

.section--accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-primary);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header--scrolled {
  background: rgba(26, 35, 50, 0.98);
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-white);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo span {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--admin {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
}

/* ---------- Login Dropdown - Modern Sleek Design ---------- */
.login-dropdown {
  position: relative;
}

.login-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-trigger:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.login-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.login-dropdown.active .login-trigger svg {
  transform: rotate(180deg);
}

/* User button when logged in */
.user-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px 6px 6px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-trigger:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.user-trigger__avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #e8c87a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

.user-trigger__chevron {
  transition: transform 0.3s ease;
}

.login-dropdown.active .user-trigger__chevron {
  transform: rotate(180deg);
}

/* Dropdown Panel */
.login-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
              0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.login-dropdown.active .login-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Panel Header */
.login-panel__header {
  padding: 24px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-light-gray);
}

.login-panel__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.login-panel__subtitle {
  font-size: 13px;
  color: var(--color-mid-gray);
}

/* Login Form */
.login-panel__form {
  padding: 24px;
}

/* Floating Label Input */
.floating-field {
  position: relative;
  margin-bottom: 20px;
}

.floating-field__input {
  width: 100%;
  padding: 20px 16px 8px;
  border: 1.5px solid var(--color-light-gray);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--color-off-white);
  transition: all 0.2s ease;
  outline: none;
}

.floating-field__input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(26, 35, 50, 0.08);
}

.floating-field__input:focus + .floating-field__label,
.floating-field__input:not(:placeholder-shown) + .floating-field__label {
  top: 8px;
  font-size: 11px;
  color: var(--color-primary);
  font-weight: 600;
}

.floating-field__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--color-mid-gray);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
}

.floating-field__input::placeholder {
  color: transparent;
}

/* Error state */
.floating-field--error .floating-field__input {
  border-color: var(--color-error);
  background: rgba(196, 69, 54, 0.03);
}

.floating-field--error .floating-field__label {
  color: var(--color-error);
}

/* Login Button */
.login-panel__btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a3a52 100%);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-panel__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 35, 50, 0.3);
}

.login-panel__btn:active {
  transform: translateY(0);
}

.login-panel__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-panel__btn--loading {
  color: transparent;
}

.login-panel__btn--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error Message */
.login-panel__error {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(196, 69, 54, 0.08);
  border: 1px solid rgba(196, 69, 54, 0.2);
  border-radius: 8px;
  color: var(--color-error);
  font-size: 13px;
  margin-bottom: 16px;
}

.login-panel__error.show {
  display: flex;
}

.login-panel__error svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Panel Footer */
.login-panel__footer {
  padding: 16px 24px 20px;
  background: var(--color-off-white);
  text-align: center;
  font-size: 13px;
  color: var(--color-mid-gray);
}

.login-panel__footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-panel__footer a:hover {
  color: var(--color-accent);
}

/* User Menu Panel */
.user-panel {
  padding: 0;
}

.user-panel__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--color-light-gray);
}

.user-panel__avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #e8c87a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.user-panel__info {
  flex: 1;
  min-width: 0;
}

.user-panel__name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-panel__email {
  font-size: 12px;
  color: var(--color-mid-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.user-panel__status--approved {
  background: rgba(46, 125, 90, 0.1);
  color: var(--color-success);
}

.user-panel__status--pending {
  background: rgba(212, 168, 83, 0.15);
  color: #b8941f;
}

.user-panel__status--admin {
  background: rgba(26, 35, 50, 0.1);
  color: var(--color-primary);
}

/* User Menu Links */
.user-panel__nav {
  padding: 8px 12px;
}

.user-panel__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--color-dark-gray);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.user-panel__link:hover {
  background: var(--color-off-white);
  color: var(--color-primary);
}

.user-panel__link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.user-panel__link:hover svg {
  opacity: 1;
}

.user-panel__divider {
  height: 1px;
  background: var(--color-light-gray);
  margin: 4px 12px;
}

.user-panel__link--logout {
  color: var(--color-error);
}

.user-panel__link--logout:hover {
  background: rgba(196, 69, 54, 0.08);
  color: var(--color-error);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-primary-light);
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
}

.btn--icon {
  padding: var(--space-sm);
  border-radius: var(--radius-full);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: var(--space-xl);
}

.hero__badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.2);
  color: var(--color-accent);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.hero__title {
  font-size: clamp(3rem, 10vw, var(--text-hero));
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero__title span {
  color: var(--color-accent);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  font-style: italic;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.hero__text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Decorative elements */
.hero__decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__decoration--1 {
  top: -100px;
  right: -100px;
}

.hero__decoration--2 {
  bottom: -150px;
  left: -150px;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--color-primary-dark);
  padding: var(--space-md) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-accent);
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

.ticker__wrapper {
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  padding: 0 var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.ticker__item:last-child {
  border-right: none;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker__count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-accent);
  font-weight: 700;
  margin-left: var(--space-lg);
  flex-shrink: 0;
}

.ticker__count-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}

/* ---------- Pledge Section ---------- */
.pledge-section {
  background: var(--color-white);
  text-align: center;
}

.pledge-section__intro {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.pledge-section__quote {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.8;
  padding: var(--space-xl);
  background: var(--color-off-white);
  border-left: 4px solid var(--color-accent);
  margin: var(--space-2xl) 0;
  text-align: left;
}

.pledge-section__commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
  text-align: left;
}

.pledge-commitment {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
}

.pledge-commitment__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-base);
}

.modal.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__header {
  padding: var(--space-xl);
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal__header h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.modal__header p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

.modal__body {
  padding: var(--space-xl);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  transition: background var(--transition-fast);
}

.modal__close:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.form-group label span {
  color: var(--color-mid-gray);
  font-weight: 400;
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

.form-input::placeholder {
  color: var(--color-mid-gray);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  margin-top: var(--space-xs);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
}

/* ---------- Thank You Message ---------- */
.thank-you {
  text-align: center;
  padding: var(--space-xl);
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-4xl);
  margin: 0 auto var(--space-lg);
}

.thank-you__title {
  margin-bottom: var(--space-md);
}

.thank-you__message {
  color: var(--color-dark-gray);
  margin-bottom: var(--space-lg);
}

.thank-you__signature {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-primary);
  margin-top: var(--space-lg);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__label {
  display: inline-block;
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--color-mid-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section-header__subtitle {
  color: rgba(255,255,255,0.7);
}

/* ---------- Videos Section ---------- */
.videos-section {
  background: var(--color-off-white);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.video-featured {
  grid-column: 1;
}

.video-thumbnails {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Video Card */
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card__thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-primary);
  overflow: hidden;
}

.video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-card__thumbnail img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.video-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: #ff0000;
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Inline Video Player */
.video-card__player-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.video-card__inline-player {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-card__inline-player iframe,
.video-card__inline-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__expand,
.video-card__close {
  position: absolute;
  top: var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.video-card__expand {
  right: calc(var(--space-sm) + 44px);
}

.video-card__close {
  right: var(--space-sm);
}

.video-card__expand:hover,
.video-card__close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-card--playing {
  box-shadow: 0 0 0 3px var(--color-primary), var(--shadow-lg);
}

.video-card__content {
  padding: var(--space-lg);
}

.video-card__title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.video-card__meta {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Featured Video (Large) */
.video-card--featured .video-card__thumbnail {
  aspect-ratio: 16/10;
}

.video-card--featured .video-card__play {
  width: 80px;
  height: 80px;
  font-size: var(--text-2xl);
}

.video-card--featured .video-card__title {
  font-size: var(--text-xl);
}

/* Small Video Cards */
.video-card--small .video-card__content {
  padding: var(--space-md);
}

.video-card--small .video-card__title {
  font-size: var(--text-base);
}

.video-card--small .video-card__play {
  width: 40px;
  height: 40px;
  font-size: var(--text-base);
}

/* ---------- Reactions ---------- */
.reactions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
  transition: all var(--transition-fast);
}

.reaction-btn:hover {
  background: var(--color-light-gray);
  transform: scale(1.05);
}

.reaction-btn.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.reaction-btn__emoji {
  font-size: var(--text-lg);
}

/* ---------- Comments ---------- */
.comments-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-mid-gray);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.comments-toggle:hover {
  color: var(--color-primary);
}

.comments-toggle__icon {
  transition: transform var(--transition-fast);
}

.comments-toggle.active .comments-toggle__icon {
  transform: rotate(180deg);
}

.comments-section {
  display: none;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-light-gray);
  margin-top: var(--space-lg);
}

.comments-section.active {
  display: block;
}

.comment {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.comment:last-child {
  margin-bottom: 0;
}

.comment__avatar {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.comment__content {
  flex: 1;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.comment__author {
  font-weight: 700;
  color: var(--color-primary);
}

.comment__date {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
}

.comment__text {
  color: var(--color-dark-gray);
}

/* ---------- Why Section (Read More) ---------- */
.why-section {
  background: var(--color-white);
}

.why-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-content__text {
  font-size: var(--text-lg);
  line-height: 1.8;
}

.why-content__text p {
  margin-bottom: var(--space-lg);
}

.why-content__more {
  display: none;
}

.why-content__more.active {
  display: block;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-accent);
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.read-more-btn:hover {
  color: var(--color-accent-dark);
}

/* ---------- Link Cards Section ---------- */
.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.link-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.link-card__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  font-size: var(--text-3xl);
  margin: 0 auto var(--space-lg);
}

.link-card__title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.link-card__description {
  color: var(--color-mid-gray);
  margin-bottom: var(--space-lg);
}

/* ---------- Coming Soon Banner ---------- */
.coming-soon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.coming-soon__icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
}

.coming-soon__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.coming-soon__text {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo span {
  color: var(--color-accent);
}

.footer__tagline {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}

.footer__hash {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
}

/* ---------- Video Modal ---------- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
}

.video-modal__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.video-modal.active .video-modal__container {
  transform: translateY(0);
}

.video-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  z-index: 10;
  transition: background var(--transition-fast);
}

.video-modal__close:hover {
  background: rgba(255,255,255,0.2);
}

.video-modal__player {
  aspect-ratio: 16/9;
  background: var(--color-black);
}

.video-modal__player video,
.video-modal__player iframe {
  width: 100%;
  height: 100%;
}

.video-modal__info {
  padding: var(--space-xl);
}

.video-modal__title {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.video-modal__description {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-lg);
}

/* ---------- Utility Classes ---------- */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ---------- Loading States ---------- */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--color-light-gray);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-light-gray) 25%, var(--color-off-white) 50%, var(--color-light-gray) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

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

/* ---------- Alerts & Messages ---------- */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.alert--success {
  background: rgba(46, 125, 90, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.alert--error {
  background: rgba(196, 69, 54, 0.1);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.alert--warning {
  background: rgba(212, 168, 83, 0.1);
  color: var(--color-warning);
  border: 1px solid var(--color-warning);
}

.alert--info {
  background: rgba(61, 107, 153, 0.1);
  color: var(--color-info);
  border: 1px solid var(--color-info);
}

/* ---------- Toast Notifications ---------- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-base);
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  background: var(--color-success);
}

.toast--error {
  background: var(--color-error);
}

.toast--warning {
  background: var(--color-warning);
  color: var(--color-primary);
}

.toast--info {
  background: var(--color-info);
}

.toast__message {
  flex: 1;
}

.toast__close {
  background: rgba(255,255,255,0.2);
  color: inherit;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toast__close:hover {
  background: rgba(255,255,255,0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .video-featured {
    grid-column: 1;
  }
  
  .video-thumbnails {
    grid-column: 1;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .link-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.page-header__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Gallery Actions ---------- */
.gallery-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.gallery-actions__note {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
}

.gallery-actions__note a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
}

.tab {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-dark-gray);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ---------- Video Grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.video-grid__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-mid-gray);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.empty-state__icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.empty-state__title {
  margin-bottom: var(--space-md);
}

.empty-state__text {
  color: var(--color-mid-gray);
  margin-bottom: var(--space-xl);
}

/* ---------- Upload Tabs ---------- */
.upload-tabs {
  display: flex;
  gap: var(--space-sm);
}

.upload-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--color-off-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
  transition: all var(--transition-fast);
}

.upload-tab:hover {
  border-color: var(--color-accent);
}

.upload-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.upload-tab__icon {
  font-size: var(--text-2xl);
}

/* ---------- Upload Panels ---------- */
.upload-panel {
  display: none;
  margin-top: var(--space-lg);
}

.upload-panel.active {
  display: block;
}

/* ---------- File Drop Zone ---------- */
.file-drop {
  border: 2px dashed var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-fast);
  background: var(--color-off-white);
}

.file-drop--active,
.file-drop:hover {
  border-color: var(--color-accent);
  background: rgba(212, 168, 83, 0.05);
}

.file-drop__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.file-drop__text {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.file-drop__or {
  color: var(--color-mid-gray);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.file-drop__hint {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  margin-top: var(--space-md);
}

/* ---------- File Preview ---------- */
.file-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-light-gray);
}

.file-preview__info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.file-preview__icon {
  font-size: var(--text-2xl);
}

.file-preview__name {
  font-weight: 600;
}

.file-preview__size {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
}

.file-preview__remove {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-error);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
}

/* ---------- Webcam ---------- */
.webcam-container {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.webcam-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webcam-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  color: var(--color-white);
}

.webcam-timer {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: var(--text-lg);
}

.webcam-controls {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.webcam-recorded {
  text-align: center;
  padding: var(--space-md);
  background: rgba(46, 125, 90, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-success);
}

/* ---------- Form Actions ---------- */
.form-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-light-gray);
}

/* ---------- Large Modal ---------- */
.modal__content--large {
  max-width: 600px;
}

/* ---------- Comment Form ---------- */
.comment-form {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-light-gray);
}

.comment-form textarea {
  flex: 1;
}

/* ---------- Error Message ---------- */
.error-message {
  text-align: center;
  color: var(--color-error);
  padding: var(--space-xl);
}

@media (max-width: 768px) {
  :root {
    --text-hero: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }
  
  .header__inner {
    padding: 0 var(--space-md);
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-4xl) 0 var(--space-2xl);
  }
  
  .hero__content {
    padding: var(--space-lg);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__brand {
    max-width: 100%;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .video-thumbnails {
    grid-template-columns: 1fr;
  }
  
  .pledge-section__commitments {
    grid-template-columns: 1fr;
  }
  
  /* Video page responsive */
  .tabs {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }
  
  .upload-tabs {
    flex-direction: column;
  }
  
  .upload-tab {
    flex-direction: row;
    justify-content: center;
  }
  
  .gallery-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .comment-form {
    flex-direction: column;
  }
}
