/* ==========================================================================
   VITA SAVCHENKO — CLEAN NORDIC DESIGN SYSTEM
   Modern, elegant, high-performance creator hub & link-in-bio
   ========================================================================== */

:root {
  /* Clean Nordic Color Palette */
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-primary: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --accent-glow: rgba(2, 132, 199, 0.25);
  
  --tiktok-color: #ff0050;
  --youtube-color: #ff0000;
  --success-color: #10b981;
  
  --border-light: rgba(226, 232, 240, 0.85);
  --border-focus: #38bdf8;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px var(--accent-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(224, 242, 254, 0.6) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(241, 245, 249, 0.9) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-primary), #38bdf8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.logo-mark.small {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-btn {
  padding: 0.5rem 1.15rem;
  background: var(--text-primary);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  background: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Main Layout Wrapper */
.main-wrapper {
  flex: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

/* Section Shared */
.section {
  margin-top: 4rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Hero Profile Card */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-banner {
  height: 160px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #bae6fd 100%);
  position: relative;
}

.hero-content {
  padding: 0 2.5rem 2.5rem;
  margin-top: -65px;
  position: relative;
  text-align: center;
}

.avatar-container {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1.25rem;
}

.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-primary), #38bdf8);
  filter: blur(8px);
  opacity: 0.6;
}

.avatar-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 4px solid #ffffff;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.online-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--success-color);
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.verified-badge {
  background: #e0f2fe;
  color: #0369a1;
}

.category-badge {
  background: #f1f5f9;
  color: #475569;
}

.hero-name {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.hero-handle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-handle a {
  color: var(--accent-primary);
  font-weight: 600;
}

.hero-handle a:hover {
  text-decoration: underline;
}

.hero-bio {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-tiktok {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-tiktok:hover {
  background: #1e1e1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-youtube {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

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

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-2px);
  background: #e2e8f0;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Social Channels Hub */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tiktok-card:hover::before {
  background: #000000;
  opacity: 1;
}

.youtube-card:hover::before {
  background: #ff0000;
  opacity: 1;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.3);
}

.channel-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-tiktok {
  background: #0f172a;
  color: #ffffff;
}

.icon-youtube {
  background: #ff0000;
  color: #ffffff;
}

.channel-details {
  flex: 1;
}

.channel-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.channel-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.channel-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.channel-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.channel-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* Video Showcase Section */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-tab.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.video-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffffff;
  z-index: 2;
}

.platform-youtube {
  background: rgba(255, 0, 0, 0.9);
}

.platform-tiktok {
  background: rgba(0, 0, 0, 0.85);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.video-thumbnail-wrap:hover .play-overlay {
  background: rgba(15, 23, 42, 0.15);
}

.play-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.video-thumbnail-wrap:hover .play-btn {
  transform: scale(1.12);
  color: var(--accent-hover);
}

.tiktok-feature-wrap {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-card-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.video-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.vtag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.video-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex: 1;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.watch-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: var(--accent-light);
  color: var(--accent-primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.watch-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

.watch-btn.tt-btn {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.watch-btn.tt-btn:hover {
  background: #334155;
}

.direct-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.direct-link:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

/* About Section */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.about-title {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.about-p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.highlight-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.highlight-text span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.photo-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.photo-glow {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, var(--accent-primary), #38bdf8);
  border-radius: var(--radius-lg);
  filter: blur(14px);
  opacity: 0.35;
}

.photo-inner {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
}

.photo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.photo-placeholder {
  flex: 1;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.photo-initials {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--text-primary);
  opacity: 0.85;
}

.photo-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Contact & Collaboration Section */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--accent-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px var(--accent-glow);
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.form-status {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.status-success {
  color: var(--success-color);
  padding: 0.75rem;
  background: #d1fae5;
  border-radius: var(--radius-sm);
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-domain {
  font-weight: 600;
  color: var(--accent-primary);
}

/* Video Modal Player */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.video-modal.active .modal-window {
  transform: scale(1);
}

.modal-header {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.1rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 0;
}

.modal-iframe-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.modal-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 868px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo-col {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .main-wrapper {
    padding: 1rem 1rem 3rem;
  }

  .hero-content {
    padding: 0 1.25rem 2rem;
  }

  .hero-name {
    font-size: 1.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
