/* ==================== ClimbHero — Editorial Minimal Design ==================== */
/* Inspired by n-design.onrender.com:
   white base / generous whitespace / numbered sections / large editorial type /
   single brand accent (climbing rock = warm orange-red) */

:root {
  /* Brand: clean climbing-rock orange + deep ink for text */
  --brand: #d8521f;            /* terracotta — climbing rock / chalk dust */
  --brand-dark: #b03f10;
  --brand-light: #fef3eb;      /* very subtle wash */
  --accent: #1f2937;           /* deep ink for text-pop accents */

  /* Surfaces (light) */
  --background: #fafaf7;       /* warm off-white (paper) */
  --surface: #ffffff;
  --surface-soft: #f5f4ef;     /* very light beige for alternate sections */
  --surface-dark: #1a1715;     /* footer / dark sections only */

  /* Text */
  --text-primary: #1a1715;     /* near-black warm ink */
  --text-secondary: #5b5650;   /* muted warm gray */
  --text-tertiary: #a8a39c;
  --text-on-dark: #fafaf7;

  /* Borders */
  --border: #e8e4dc;           /* hairline */
  --border-strong: #1a1715;    /* bold accent border */

  /* Shadows: subtle, paper-like */
  --shadow-sm: 0 1px 2px rgba(26, 23, 21, 0.04), 0 1px 3px rgba(26, 23, 21, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 23, 21, 0.06), 0 2px 6px rgba(26, 23, 21, 0.04);
  --shadow-lg: 0 16px 48px rgba(26, 23, 21, 0.08), 0 6px 16px rgba(26, 23, 21, 0.05);
  --shadow-glow: 0 8px 32px rgba(216, 82, 31, 0.18);

  /* Radius — editorial = small/none */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Motion */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients (used sparingly) */
  --gradient-brand: linear-gradient(135deg, #d8521f 0%, #b03f10 100%);

  /* Editorial constants */
  --container: 1200px;
  --section-padding: 96px;
  --section-padding-sm: 56px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
}

/* Editorial: a tiny top hairline gradient as the only visual flourish */
body::before { content: none; }

/* ===== Global components — editorial white style ===== */

main { background: var(--background); color: var(--text-primary); }

/* Tailwind utility overrides — keep them subtle on warm paper bg */
.bg-gray-50, .bg-gray-100 { background: var(--surface-soft) !important; }
.bg-white { background: var(--surface) !important; }
.bg-gradient-to-br.from-purple-50, .bg-gradient-to-br.from-pink-50,
.from-purple-50.via-pink-50, .from-purple-50.via-pink-50.to-purple-50,
.from-purple-50.to-pink-50 {
  background: var(--surface-soft) !important;
}

/* Sections — generous editorial spacing */
section.py-4, section.py-5, section.py-6, section.py-8, section.py-10, section.py-12, section.py-16 {
  padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
}
@media (min-width: 1024px) {
  section.py-4, section.py-5, section.py-6, section.py-8, section.py-10, section.py-12, section.py-16 {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  }
}

/* Section headers — editorial: number + label */
.section-header {
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.1;
}
.section-title i { color: var(--brand); font-size: 0.7em; }
@media (max-width: 640px) {
  .section-header { margin-bottom: 24px; }
}

/* Numbered section eyebrow (use when adding "01 Discover" style headers) */
.section-num {
  display: inline-block;
  font-family: "Inter", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Generic text overrides */
.text-gray-900, .text-gray-800, .text-black { color: var(--text-primary) !important; }
.text-gray-700 { color: var(--text-primary) !important; }
.text-gray-600 { color: var(--text-secondary) !important; }
.text-gray-500, .text-gray-400 { color: var(--text-tertiary) !important; }

/* Borders */
.border-gray-200, .border-gray-300, .border-purple-200,
.border-orange-200, .border-yellow-200, .border-blue-200,
.border-red-200, .border-indigo-200, .border-pink-200 {
  border-color: var(--border) !important;
}

/* Header — clean white with hairline */
header,
header.bg-white,
header.shadow,
nav,
.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
}

/* Footer — dark contrast block */
footer, footer.bg-white, footer.bg-gray-800, footer.bg-gray-900 {
  background: var(--surface-dark) !important;
  color: var(--text-on-dark);
  border-top: none;
  padding: 64px 0 40px !important;
}
footer * { color: inherit; }
footer a { color: rgba(250, 250, 247, 0.7); transition: color 0.2s; }
footer a:hover { color: var(--text-on-dark); }
footer h3, footer h4 { color: var(--text-on-dark) !important; }

/* ===== Cards ===== */
.video-card, .news-card, .blog-card, .card {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  transition: var(--transition);
  overflow: hidden;
}
.video-card:hover, .news-card:hover, .blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.video-card h3, .video-card .video-title,
.news-card h3, .news-card .news-title,
.blog-card h3 {
  color: var(--text-primary) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Buttons — editorial: solid ink primary, outlined secondary */
.btn, button.btn {
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: -0.005em;
}
.btn-primary,
.bg-primary, .bg-orange-500, .bg-orange-600,
.bg-blue-500, .bg-blue-600,
.bg-purple-500, .bg-purple-600 {
  background: var(--text-primary) !important;
  color: var(--text-on-dark) !important;
  border: none;
}
.btn-primary:hover { background: var(--brand) !important; box-shadow: var(--shadow-md); }
.btn-secondary,
.bg-gray-200, .bg-slate-200 {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--text-primary) !important;
}
.btn-secondary:hover { background: var(--text-primary) !important; color: var(--text-on-dark) !important; }

/* Inputs */
input, textarea, select {
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--text-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 23, 21, 0.08);
}
input::placeholder, textarea::placeholder { color: var(--text-tertiary); }

/* Modals */
.modal { background: rgba(26, 23, 21, 0.7); }
.modal-content {
  background: var(--surface) !important;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* Carousel buttons */
.carousel-btn {
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--text-primary) !important; color: var(--text-on-dark) !important; }

/* Badges / tags */
.badge, .tag {
  background: var(--surface-soft);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge.badge-primary { background: var(--text-primary); color: var(--text-on-dark); border: none; }

/* Blog article */
article.bg-white, .prose.bg-white, .blog-content.bg-white {
  background: var(--surface) !important;
  color: var(--text-primary);
}
article p, article li { color: var(--text-secondary); }
article h1, article h2, article h3, article h4 { color: var(--text-primary); }

/* Tailwind purple/pink gradient buttons get neutralized */
.bg-gradient-to-r.from-purple-600,
.bg-gradient-to-r.from-purple-500,
.bg-gradient-to-r.from-pink-500,
.bg-gradient-to-r.from-yellow-500,
.from-purple-600.to-pink-600,
.from-purple-500.to-pink-500 {
  background: var(--text-primary) !important;
  color: var(--text-on-dark) !important;
}

#root {
  overflow-x: hidden;
  width: 100%;
}

/* ==================== Typography ==================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

h1 { font-size: 24px; }
h2 { font-size: 18px; margin-bottom: 12px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 13px; }
h6 { font-size: 12px; }

p {
  margin: 0;
  line-height: 1.6;
}

/* ==================== Buttons ==================== */

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #E85D2C 0%, #E08217 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #00D9FF 0%, #0BC5EA 100%);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 217, 255, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0BC5EA 0%, #06B6D4 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 217, 255, 0.4);
}

.btn-sm {
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 4px;
}

@media (min-width: 640px) {
  .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }
}

.btn-lg {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-icon {
  padding: 8px;
  width: 36px;
  height: 36px;
}

/* ==================== Hero Section with Slideshow ==================== */

.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: var(--background);
  padding: 80px 20px 64px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
  padding: 0;
  text-align: left;
  color: var(--text-primary);
}

/* Eyebrow / kicker line — editorial small caps */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@media (max-width: 640px) {
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 6px 12px;
  }
}

/* Editorial title — solid ink, no gradient */
.hero-title-gradient {
  color: var(--text-primary);
  display: inline;
}
/* Subtle accent on the period at the end of "文化を動かす。" */
.hero-title-gradient::after { content: ''; }

/* CTA buttons */
.hero-cta-buttons {
  margin-top: 32px;
  margin-bottom: 56px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Three-step explainer — editorial cards on white */
.hero-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 100%;
  margin: 0 0 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-step {
  display: block;
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  transition: none;
}
.hero-step:hover {
  transform: none;
  border: none;
  background: transparent;
}
.hero-step-num {
  font-family: "Inter", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: var(--brand);
  margin-bottom: 12px;
  display: block;
}
.hero-step-num-accent,
.hero-step-num-accent2 {
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: var(--brand);
}
.hero-step-body { flex: 1; min-width: 0; }
.hero-step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.hero-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.hero-step-arrow { display: none; }
@media (max-width: 900px) {
  .hero-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }
}

/* Compact player frame — light card with hairline */
.hero-player {
  max-width: 100%;
  margin: 0 0 24px;
}
.hero-player-frame {
  background: var(--surface);
  backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
}
.hero-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}
.hero-player-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hero-player-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 12px;
  flex-shrink: 0;
}
.hero-player-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}
.hero-player-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
}
.hero-player-pause {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hero-player-pause:hover {
  background: var(--surface-soft);
}

/* Announcement bar */
.hero-announcements {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}
.hero-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  max-width: 100%;
}
.hero-announcement-item:hover {
  background: var(--surface);
  border-color: var(--text-primary);
}
.hero-announcement-pill {
  background: var(--text-primary);
  color: var(--text-on-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.hero-announcement-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 800px;
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .hero-announcement-text { white-space: normal; font-size: 12px; }
}

/* Hero layout: two-column on desktop (copy left, player right) */
.hero-content > .hero-eyebrow,
.hero-content > .hero-title,
.hero-content > .hero-subtitle,
.hero-content > .hero-cta-buttons,
.hero-content > .hero-steps,
.hero-content > .hero-announcements {
  max-width: 100%;
}
@media (min-width: 1024px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 64px;
    align-items: start;
  }
  .hero-content > .hero-eyebrow,
  .hero-content > .hero-title,
  .hero-content > .hero-subtitle,
  .hero-content > .hero-cta-buttons {
    grid-column: 1;
  }
  .hero-content > .hero-player {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: start;
    margin-top: 0;
  }
  .hero-content > .hero-steps {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
  .hero-content > .hero-announcements {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 350px;
  }
}

/* Hero background slideshow disabled in editorial design — keep clean white */
.hero-slideshow { display: none; }
.hero-slide { display: none; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.75) 0%, rgba(139, 92, 246, 0.75) 100%);
  z-index: 2;
}

.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.1;
}

/* ==================== Cards ==================== */

.card {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-3px);
}

/* ==================== Video Card with Flip ==================== */

.video-card {
  perspective: 1000px;
  cursor: pointer;
  height: 100%;
}

.video-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.video-card:hover .video-card-inner {
  /* transform: rotateY(180deg); */
}

.video-card-front,
.video-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.video-card-back {
  transform: rotateY(180deg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: var(--radius-sm);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-card:hover .video-thumbnail img {
  /* transform: scale(1.05); */
}

/* ==================== Duration Badge ==================== */

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== Category Badge ==================== */

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.category-bouldering { background: #dbeafe; color: #1e40af; }
.category-competition { background: #fee2e2; color: #991b1b; }
.category-tutorial { background: #d1fae5; color: #065f46; }
.category-gym_review { background: #fef3c7; color: #92400e; }

/* ==================== Horizontal Scroll ==================== */

.carousel-container {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.carousel-btn-left {
  left: -20px;
}

.carousel-btn-right {
  right: -20px;
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--background);
  gap: 10px;
  padding: 6px 0;
  margin: 0;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.scroll-item {
  flex: 0 0 150px;
  scroll-snap-align: start;
}

/* Wide scroll items - now same as regular for consistency */
.scroll-item-wide {
  flex: 0 0 150px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .scroll-item {
    flex: 0 0 140px;
  }
  
  .scroll-item-wide {
    flex: 0 0 140px;
  }
  
  .carousel-btn {
    display: none;
  }
}

/* ==================== Modal ==================== */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.2s;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: var(--surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s;
  box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    transform: translateY(-30px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

/* ==================== Mobile Menu ==================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 280px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 9998;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9997;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
  display: block;
}

/* ==================== Ranking Medal ==================== */

.ranking-medal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.rank-1 { 
  background: linear-gradient(135deg, #ffd700, #ffa500); 
  color: white;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.rank-2 { 
  background: linear-gradient(135deg, #c0c0c0, #808080); 
  color: white;
  box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
}

.rank-3 { 
  background: linear-gradient(135deg, #cd7f32, #8b4513); 
  color: white;
  box-shadow: 0 4px 12px rgba(205, 127, 50, 0.4);
}

/* ==================== Loading Spinner ==================== */

.spinner {
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==================== Form Elements ==================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* ==================== Utility Classes ==================== */

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== Spacing System ==================== */

.space-y-1 > * + * { margin-top: 4px; }
.space-y-2 > * + * { margin-top: 6px; }
.space-y-3 > * + * { margin-top: 8px; }
.space-y-4 > * + * { margin-top: 12px; }
.space-y-6 > * + * { margin-top: 16px; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* ==================== Interactive Elements ==================== */

.interactive {
  cursor: pointer;
  transition: var(--transition);
}

.interactive:hover {
  opacity: 0.8;
}

.interactive:active {
  transform: scale(0.98);
}

/* ==================== Responsive ==================== */

@media (max-width: 768px) {
  body {
    font-size: 13px;
  }
  
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }
  
  .modal-content {
    padding: 20px;
  }
  
  button, .btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ==================== Icon Styles ==================== */

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.icon-lg {
  width: 20px;
  height: 20px;
}

/* ==================== Notification/Toast ==================== */

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  z-index: 10000;
  animation: slideInRight 0.3s;
  max-width: 400px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-success { background: #10b981; color: white; }
.toast-error { background: #ef4444; color: white; }
.toast-warning { background: #f59e0b; color: white; }
.toast-info { background: #3b82f6; color: white; }

/* ==================== Avatar ==================== */

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

/* ==================== Link Styles ==================== */

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==================== Divider ==================== */

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ==================== Compact Video Card ==================== */

.video-card-compact {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.video-card-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card-compact:hover {
  /* transform: translateY(-4px); */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #667eea;
}

.video-card-compact:hover::before {
  /* opacity: 1; */
}

.video-info-compact {
  padding: 6px;
}

.video-title-compact {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.video-meta-compact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--text-secondary);
}

.video-meta-compact i {
  font-size: 8px;
}

/* ==================== Tab Buttons (Unified Style) ==================== */

.tab-buttons {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--background);
  border-radius: var(--radius-md);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn i {
  font-size: 11px;
  margin-right: 4px;
}

.tab-btn:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* ==================== Stats Badge ==================== */

.stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.stats-badge i {
  font-size: 10px;
}

/* ==================== Ranking Item Compact ==================== */

.ranking-item-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.ranking-item-compact:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.ranking-number {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 24px;
  text-align: center;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

.ranking-thumbnail {
  width: 80px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--background);
}

.ranking-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.ranking-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.ranking-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  min-width: 60px;
  text-align: right;
}

/* ==================== Section Header ==================== */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title i {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.section-action {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.section-action:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==================== Ranking Card Specific ==================== */

.video-card-ranking {
  position: relative;
}

.video-card-ranking .video-thumbnail {
  position: relative;
}

.ranking-badge-number {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.ranking-medal {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.ranking-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card-ranking:hover .ranking-overlay {
  /* opacity: 1; */
}

.ranking-score-large {
  display: flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.ranking-score-large i {
  color: #ffd700;
  font-size: 12px;
}

/* ==================== Enhanced Hover Effects ==================== */

.video-card-compact {
  position: relative;
  overflow: hidden;
}

.video-card-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
  pointer-events: none;
  z-index: 1;
}

.video-card-compact:hover::before {
  /* left: 100%; */
}

.video-card-compact:hover .video-thumbnail img {
  /* transform: scale(1.1); */
}

.video-thumbnail img {
  transition: transform 0.4s ease;
}

/* ==================== Pulse Animation for Top Rankings ==================== */

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
  }
}

.video-card-ranking:nth-child(1) .video-card-compact {
  animation: pulse-glow 2s infinite;
}

.video-card-ranking:nth-child(1):hover .video-card-compact {
  animation: none;
}

/* ==================== Interactive Badges ==================== */

.category-badge {
  transition: var(--transition);
  cursor: pointer;
}

.category-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.stats-badge {
  transition: var(--transition);
  cursor: pointer;
}

.stats-badge:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

/* ==================== Ranking Position Indicators ==================== */

.rank-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== Loading Skeleton ==================== */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-thumbnail {
  width: 100%;
  height: 130px;
}

.skeleton-text {
  height: 12px;
  width: 100%;
  margin-bottom: 6px;
}

.skeleton-text-short {
  height: 12px;
  width: 60%;
}

/* ==================== Scroll Progress Indicator ==================== */

.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
  margin-top: 8px;
  transition: width 0.3s;
}

/* ==================== Tooltip ==================== */

.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ==================== Bounce Animation for New Entries ==================== */

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.animate-bounce-in {
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== Like Button ==================== */

.like-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.1);
}

.like-btn:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: #ef4444;
  color: #dc2626;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.like-btn.liked {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #dc2626;
  color: white;
  animation: heartBeat 0.5s;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.like-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Favorite Button */
.favorite-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #fff 0%, #fef9e7 100%);
  color: #f59e0b;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.1);
}

.favorite-btn:hover {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
  color: #d97706;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.favorite-btn.favorited {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #d97706;
  color: white;
  animation: starPulse 0.5s;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.favorite-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes starPulse {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.3) rotate(72deg); }
  50% { transform: scale(1.1) rotate(144deg); }
  75% { transform: scale(1.2) rotate(216deg); }
  100% { transform: scale(1) rotate(360deg); }
}

.like-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ef4444;
  font-weight: 600;
}

/* ==================== Media Source Badge ==================== */

.media-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.media-source-badge i {
  font-size: 12px;
}

/* YouTube */
.media-source-badge:has(.fa-youtube) {
  background: rgba(255, 0, 0, 0.9);
}

/* Vimeo */
.media-source-badge:has(.fa-vimeo-v) {
  background: rgba(26, 183, 234, 0.9);
}

/* Instagram */
.media-source-badge:has(.fa-instagram) {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* TikTok */
.media-source-badge:has(.fa-tiktok) {
  background: rgba(0, 0, 0, 0.9);
}

/* ==================== Language Switcher ==================== */

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.language-btn {
  padding: 6px 10px;
  font-size: 18px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.5;
}

.language-btn:hover {
  opacity: 0.8;
  background: rgba(99, 102, 241, 0.1);
}

.language-btn.active {
  opacity: 1;
  background: rgba(99, 102, 241, 0.15);
  transform: scale(1.1);
}

/* Small Language Switcher (Header) - Deprecated */
.language-switcher-small {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.language-btn-small {
  padding: 3px 6px;
  font-size: 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.5;
}

.language-btn-small:hover {
  opacity: 0.8;
  background: rgba(99, 102, 241, 0.1);
}

.language-btn-small.active {
  opacity: 1;
  background: rgba(99, 102, 241, 0.15);
}

/* Medium Language Switcher (Header - More Visible) */
.language-switcher-medium {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.language-btn-medium {
  padding: 5px 9px;
  font-size: 17px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.6;
}

.language-btn-medium:hover {
  opacity: 0.9;
  background: rgba(99, 102, 241, 0.1);
}

.language-btn-medium.active {
  opacity: 1;
  background: rgba(99, 102, 241, 0.15);
  transform: scale(1.05);
}

/* ==================== Share Button ==================== */

.share-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
  color: #0ea5e9;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.1);
}

.share-btn:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-color: #0ea5e9;
  color: #0284c7;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.share-btn:active {
  transform: scale(0.95);
}

/* ==================== Mobile Responsive Improvements ==================== */

@media (max-width: 768px) {
  /* Ensure no horizontal overflow */
  .max-w-7xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Mobile header optimization */
  header .btn-sm {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  /* Maintain visible language switcher on mobile */
  .language-btn-medium {
    padding: 4px 8px;
    font-size: 15px;
  }
  
  /* Compact modal padding on mobile */
  .modal-content {
    padding: 16px !important;
    margin: 12px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens - more compact */
  header .btn-sm {
    padding: 5px 8px;
    font-size: 10px;
  }
  
  .language-btn-medium {
    padding: 3px 6px;
    font-size: 14px;
  }
  
  /* Hide text on very small screens, keep icons */
  header .btn-sm span:not(.hidden) {
    display: none;
  }
  
  header .btn-sm i {
    margin: 0;
  }
}
}
  
  /* Adjust hero section for mobile */
  .hero-section h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-section p {
    font-size: 0.875rem;
  }
  
  /* Stack buttons vertically on small screens */
  .hero-section .flex.gap-3 {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-section .btn {
    width: 100%;
  }
  
  /* Improve carousel on mobile */
  .horizontal-scroll {
    gap: 8px;
    padding: 4px 0;
  }
  
  .scroll-item {
    min-width: 160px;
  }
  
  /* Adjust video cards for mobile */
  .video-card-compact {
    width: 160px;
  }
  
  .video-thumbnail {
    height: 100px;
  }
  
  /* Improve button sizing on mobile */
  .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  /* Modal adjustments */
  .modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  /* Pricing cards stack on mobile */
  .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Further mobile optimizations */
  .hero-section {
    min-height: 200px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .hero-section h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .tab-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .scroll-item {
    min-width: 150px;
  }
  
  .video-card-compact {
    width: 150px;
  }
}

/* ==================== Interactive Enhancements ==================== */

/* Smooth animations for interactive elements */
.btn, .card, .video-card-compact {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.video-card-compact:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-thumbnail img {
  transition: transform 0.3s ease;
}

/* Pulse animation for notifications */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Slide in animation */
@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#search-results,
#notifications-panel,
#mobile-search {
  animation: slideIn 0.2s ease-out;
}


/* ==================== Announcements Section ==================== */

.announcements-section {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.3s ease-out;
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.announcement-header i {
  font-size: 16px;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-item {
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.announcement-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.announcement-item-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.announcement-item-content {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.announcement-item-date {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 6px;
  opacity: 0.7;
}

/* ==================== Admin Panel Styles (Modern & Responsive) ==================== */

.admin-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  animation: fadeInUp 0.4s ease-out;
}

.admin-section:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.admin-section-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-section-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.admin-table th {
  background: var(--background);
  padding: 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-primary);
}

.admin-table tr:hover {
  background: var(--background);
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-actions button {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.admin-actions .btn-edit {
  background: var(--accent);
  color: white;
}

.admin-actions .btn-edit:hover {
  background: #00bbdd;
  transform: scale(1.05);
}

.admin-actions .btn-delete {
  background: #ef4444;
  color: white;
}

.admin-actions .btn-delete:hover {
  background: #dc2626;
  transform: scale(1.05);
}

/* Responsive Grid Layout for Admin Forms */
.admin-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .admin-form {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0; /* Critical for preventing overflow */
}

.admin-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  width: 100%;
  max-width: 100%; /* Critical for preventing overflow */
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--surface);
  color: var(--text-primary);
  transition: var(--transition);
  box-sizing: border-box; /* Critical for box model */
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  transform: translateY(-1px);
}

.admin-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Admin Card with Interactive Effects */
.admin-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  transition: left 0.5s;
}

.admin-card:hover::before {
  left: 100%;
}

.admin-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
}

/* Loading Skeleton for Admin Cards */
.admin-card-skeleton {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ==================== Video Modal Specific ==================== */

#video-modal .modal-content {
  max-width: 900px;
  padding: 0;
}

.modal-video-content {
  padding: 0;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-line:last-child {
  width: 60%;
}

/* Admin Button Enhancements */
.admin-section .btn {
  position: relative;
  overflow: hidden;
}

.admin-section .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.admin-section .btn:active::after {
  width: 200px;
  height: 200px;
}

/* Responsive Admin Layout */
@media (max-width: 768px) {
  .admin-section {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .admin-section-header {
    font-size: 16px;
  }
  
  .admin-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .admin-form-group input,
  .admin-form-group textarea,
  .admin-form-group select {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

@media (max-width: 480px) {
  .admin-section {
    padding: 12px;
  }
  
  .admin-card {
    padding: 12px;
  }
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== Modern Hero Content ==================== */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 28px;
  color: var(--text-primary);
  text-shadow: none;
  max-width: 980px;
}

.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  max-width: 640px;
  margin: 0;
  color: var(--text-secondary);
  text-shadow: none;
  font-weight: 400;
}

.hero-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}

.hero-cta-primary {
  background: var(--gradient-primary);
  color: white;
}

.hero-cta-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== ライトテーマ調整 ==================== */

body {
  background: var(--background);
  color: var(--text-primary);
}

.card,
.video-card-compact {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card:hover,
.video-card-compact:hover {
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

input,
textarea,
select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  outline: none;
}

/* ナビゲーション */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* タブボタン */
.tab-btn {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
  background: var(--surface-light);
  color: var(--text-primary);
  border-color: var(--border);
}

/* ==================== Static Page Styles ==================== */

.static-page-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.static-page-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.static-page-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.static-page-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.static-page-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.static-page-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.static-page-content ul, 
.static-page-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.static-page-content li {
  margin-bottom: 0.5rem;
}

.static-page-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.static-page-content a {
  color: #9333ea;
  text-decoration: underline;
  transition: var(--transition);
}

.static-page-content a:hover {
  color: #7e22ce;
}

.static-page-content code {
  background: var(--surface-light);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #dc2626;
}

.static-page-content pre {
  background: var(--surface-light);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.static-page-content pre code {
  background: transparent;
  padding: 0;
  color: var(--text-primary);
}

.static-page-content blockquote {
  border-left: 4px solid #9333ea;
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.static-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.static-page-content th,
.static-page-content td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: left;
}

.static-page-content th {
  background: var(--surface-light);
  font-weight: 600;
  color: var(--text-primary);
}

.static-page-content td {
  color: var(--text-secondary);
}

.static-page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ==================== Pricing Detail Zoom Effect ==================== */
.pricing-detail-item {
  transition: all 0.3s ease;
  cursor: default;
}

.pricing-detail-item:hover {
  transform: scale(1.15);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* ==================== Language Loading Animations ==================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* Language switcher loading state */
button.loading {
  position: relative;
  pointer-events: none;
}

button.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== Glassmorphism Refresh ==================== */

:root {
  --background: #eef7f4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-soft: rgba(255, 255, 255, 0.46);
  --text-primary: #101820;
  --text-secondary: #53626a;
  --border: rgba(255, 255, 255, 0.62);
  --brand: #e45b2b;
  --brand-dark: #b63d17;
  --primary: #0f766e;
  --primary-dark: #0f514d;
  --glass-mint: rgba(20, 184, 166, 0.16);
  --glass-amber: rgba(249, 115, 22, 0.14);
  --glass-blue: rgba(56, 189, 248, 0.12);
  --glass-panel: rgba(255, 255, 255, 0.58);
  --glass-panel-strong: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(255, 255, 255, 0.68);
  --glass-shadow: 0 20px 70px rgba(15, 23, 42, 0.13), 0 4px 18px rgba(15, 23, 42, 0.08);
  --glass-shadow-hover: 0 28px 90px rgba(15, 23, 42, 0.18), 0 10px 28px rgba(20, 184, 166, 0.12);
  --glass-ring: inset 0 1px 0 rgba(255, 255, 255, 0.84), inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  --gradient-primary: linear-gradient(135deg, #0f766e 0%, #14b8a6 48%, #e45b2b 100%);
  --gradient-brand: linear-gradient(135deg, #e45b2b 0%, #14b8a6 100%);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 44px rgba(15, 23, 42, 0.12);
  --shadow-lg: var(--glass-shadow);
  --shadow-glow: 0 18px 60px rgba(20, 184, 166, 0.24);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

html {
  background: #e8f4f0;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.24), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(249, 115, 22, 0.18), transparent 26%),
    radial-gradient(circle at 72% 78%, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(135deg, #f7fbf9 0%, #e8f4f0 48%, #fff7ed 100%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

main,
.bg-gray-50,
.bg-gray-100,
.bg-white,
.from-purple-50.via-pink-50.to-purple-50,
.from-purple-50.to-pink-50,
.bg-gradient-to-br.from-purple-50 {
  background: transparent !important;
}

header.sticky {
  background: rgba(255, 255, 255, 0.62) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(24px) saturate(1.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

header.sticky button,
header.sticky a {
  border-radius: var(--radius-md) !important;
}

.card,
.video-card,
.video-card-compact,
.news-card,
.blog-card,
.admin-card,
.tab-buttons,
.carousel-container,
.ranking-item-compact,
.modal-content {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--glass-x, 50%) var(--glass-y, 0%), rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.36)) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--glass-shadow), var(--glass-ring) !important;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card:hover,
.video-card-compact:hover,
.news-card:hover,
.blog-card:hover,
.admin-card:hover,
.ranking-item-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover), var(--glass-ring) !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
}

.hero-section {
  min-height: 720px;
  padding: 84px 20px 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 18% 10%, rgba(20, 184, 166, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(228, 91, 43, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.hero-content {
  color: var(--text-primary) !important;
  text-align: left !important;
  padding: 0 !important;
  animation: fadeInUp 0.72s ease-out;
}

.hero-title {
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-title-gradient {
  color: transparent;
  background: linear-gradient(120deg, #0f172a 0%, #0f766e 48%, #e45b2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(16, 24, 32, 0.72);
  max-width: 660px;
}

.hero-eyebrow {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--primary);
  letter-spacing: 0.12em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.hero-eyebrow-dot {
  background: #14b8a6;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
}

.hero-cta-buttons {
  justify-content: flex-start !important;
  margin-bottom: 42px;
}

.hero-cta-btn,
.btn,
.tab-btn {
  border-radius: var(--radius-md) !important;
}

.hero-cta-btn {
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.hero-cta-primary,
.btn-primary,
.tab-btn.active {
  background: var(--gradient-primary) !important;
  color: #fff !important;
}

.hero-cta-secondary,
.btn-secondary {
  background: rgba(255, 255, 255, 0.54) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  color: var(--text-primary) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-cta-primary:hover,
.hero-cta-secondary:hover,
.btn-primary:hover:not(:disabled),
.btn-secondary:hover:not(:disabled),
.tab-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.16), 0 8px 28px rgba(20, 184, 166, 0.14) !important;
}

.hero-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.66);
  gap: 16px;
  margin-bottom: 52px;
  padding-top: 32px;
}

.hero-step {
  padding: 18px;
  background:
    radial-gradient(circle at var(--glass-x, 18px) var(--glass-y, 18px), rgba(255, 255, 255, 0.72), transparent 42%),
    rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-player {
  max-width: 100%;
}

.hero-player-frame {
  padding: 10px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at var(--glass-x, 72%) var(--glass-y, 0%), rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow), var(--glass-ring);
  backdrop-filter: blur(26px) saturate(1.24);
  -webkit-backdrop-filter: blur(26px) saturate(1.24);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hero-player-frame:hover {
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--glass-shadow-hover), var(--glass-ring);
}

.hero-player-header {
  margin: 0 0 10px;
  padding: 8px 8px 8px 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-player-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(16, 24, 32, 0.9);
  color: #fff;
}

.hero-player-title {
  color: var(--text-primary);
}

.hero-player-sub {
  color: rgba(16, 24, 32, 0.58);
}

.hero-player-pause {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-player-pause:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

#video-carousel-wrapper {
  border-radius: var(--radius-md) !important;
  background: #070c10 !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, box-shadow 0.24s ease;
}

#autoplay-video-container,
#autoplay-video-container iframe {
  border-radius: var(--radius-md);
}

#prev-video-btn,
#next-video-btn {
  width: 38px !important;
  height: 38px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0.78;
}

#prev-video-btn:hover,
#next-video-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.06) !important;
  background: rgba(255, 255, 255, 0.28) !important;
}

#autoplay-progress {
  background: linear-gradient(90deg, #14b8a6, #f97316) !important;
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.42);
}

#carousel-dots > div {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-announcement-item {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-announcement-item:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  color: var(--text-primary) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-50%) scale(1.04);
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: 56px;
  }
}

@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 64px 16px 52px;
  }

  .hero-section::before {
    inset: 10px;
  }

  .hero-steps {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero-cta-buttons {
    gap: 10px;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-player-frame {
    padding: 8px;
  }

  .hero-player-header {
    align-items: flex-start;
  }

  .hero-player-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-player-frame,
  #video-carousel-wrapper,
  .hero-step,
  .video-card-compact,
  .card,
  .btn,
  .hero-cta-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* Final header alignment for the selected control-room direction. */
header.sticky .app-brand-mark {
  display: inline-flex;
  width: 34px;
  height: 30px;
  border-radius: 0;
  background: transparent;
  color: var(--hero-accent);
  font-size: 22px;
}

header.sticky .app-top-nav {
  display: none !important;
  box-shadow: none !important;
}

header.sticky .btn-primary {
  border-color: var(--hero-ink) !important;
  background: var(--hero-ink) !important;
  box-shadow: none !important;
  color: #fff !important;
}

header.sticky .btn-primary:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
}

/* The control room replaces the bulky legacy feature/testimonial bands. */
.legacy-feature-section,
.legacy-testimonials-section {
  display: none !important;
}

/* ==================== Selected Direction: Climber Control Room ==================== */
.hero-control-room .hero-editorial-shell {
  width: min(100%, 1560px);
  padding: 0 18px;
}

.app-brand-mark {
  display: inline-flex;
  width: 34px;
  height: 30px;
  background: transparent;
  color: var(--hero-accent);
  font-size: 22px;
}

.app-top-nav {
  display: none !important;
  box-shadow: none !important;
}

header.sticky .btn-primary {
  border-color: var(--hero-ink) !important;
  background: var(--hero-ink) !important;
  box-shadow: none !important;
  color: #fff !important;
}

header.sticky .btn-primary:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
}

.hero-control-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 660px;
}

.hero-control-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 16px 34px 0;
  border-right: 1px solid var(--hero-line);
}

.hero-side-item {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--hero-ink);
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.hero-side-item i {
  width: 24px;
  color: inherit;
  font-size: 20px;
  text-align: center;
}

.hero-side-item:hover,
.hero-side-item.active {
  border-color: rgba(228, 62, 36, 0.08);
  background: #f5f1ea;
  color: var(--hero-accent);
}

.hero-side-item:focus-visible {
  outline: 3px solid rgba(228, 62, 36, 0.3);
  outline-offset: 2px;
}

.hero-side-divider {
  height: 1px;
  margin: 10px 6px;
  background: var(--hero-line);
}

.hero-control-main {
  min-width: 0;
  padding: 30px 0 0 46px;
}

.hero-control-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--hero-ink);
  font-size: 18px;
  font-weight: 850;
}

.hero-control-promise span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hero-accent);
}

.hero-control-room .hero-editorial-grid {
  grid-template-columns: minmax(500px, 1.35fr) minmax(330px, 0.85fr);
  gap: clamp(34px, 4vw, 60px);
  align-items: stretch;
}

.hero-control-room .hero-featured-panel {
  display: flex;
  min-width: 0;
}

.hero-control-room .hero-featured-media {
  min-height: 390px;
  border-radius: 8px;
  box-shadow: none;
}

.hero-control-room .hero-featured-play {
  width: 66px;
  height: 66px;
  font-size: 20px;
}

.hero-control-room .hero-featured-overlay {
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 0;
  background: transparent;
}

.hero-control-room .hero-featured-overlay > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(18, 16, 14, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero-control-room .hero-value-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px 0 0;
}

.hero-control-room .hero-featured-label {
  margin: 0 0 14px;
  color: var(--hero-accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hero-control-title {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.hero-control-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-control-tags span {
  padding: 6px 11px;
  border: 1px solid var(--hero-line);
  border-radius: 7px;
  color: var(--hero-ink);
  font-size: 11px;
  font-weight: 700;
}

.hero-control-reason {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
}

.hero-control-reason > i {
  color: var(--hero-accent);
  font-size: 20px;
}

.hero-control-reason strong {
  display: block;
  margin-bottom: 7px;
  color: var(--hero-ink);
  font-size: 13px;
}

.hero-control-reason p {
  margin: 0;
  color: var(--hero-muted);
  font-size: 12px;
  line-height: 1.7;
}

.hero-control-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--hero-muted);
  font-size: 11px;
}

.hero-control-author > span + span::before,
.hero-control-author > strong + span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(23, 20, 17, 0.28);
}

.hero-control-author strong {
  color: var(--hero-ink);
  font-size: 13px;
}

.hero-author-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8e1d7;
  color: var(--hero-ink);
}

.hero-control-room .hero-editorial-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(92px, 0.7fr) minmax(110px, 0.85fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.hero-control-room .hero-action {
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  font-size: 13px;
}

.hero-control-room .hero-action-compact {
  padding: 0 13px;
}

.hero-control-room .hero-benefit-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid var(--hero-line);
  border-radius: 8px;
}

.hero-control-room .hero-benefit {
  padding: 20px 24px;
}

.hero-control-room .hero-benefit > i {
  font-size: 25px;
}

.hero-control-room .hero-editorial-news {
  padding-bottom: 14px;
}

@media (max-width: 1180px) {
  .hero-control-layout {
    grid-template-columns: 1fr;
  }

  .hero-control-sidebar {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hero-line);
    scrollbar-width: none;
  }

  .hero-control-sidebar::-webkit-scrollbar {
    display: none;
  }

  .hero-side-item {
    width: auto;
    min-width: max-content;
    min-height: 44px;
    padding: 0 13px;
  }

  .hero-side-divider {
    width: 1px;
    height: 30px;
    margin: 7px 8px;
    flex: 0 0 auto;
  }

  .hero-control-main {
    padding: 28px 12px 0;
  }
}

@media (max-width: 900px) {
  .hero-control-room .hero-editorial-grid {
    grid-template-columns: 1fr;
  }

  .hero-control-room .hero-featured-media {
    min-height: 0;
  }

  .hero-control-room .hero-editorial-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-control-room .hero-editorial-shell {
    padding: 0 12px;
  }

  .hero-control-main {
    padding: 24px 2px 0;
  }

  .hero-control-promise {
    font-size: 15px;
  }

  .hero-control-title {
    font-size: 30px;
  }

  .hero-control-room .hero-editorial-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero-control-room .hero-action-primary {
    grid-column: 1 / -1;
  }

  .hero-control-room .hero-benefit-strip {
    grid-template-columns: 1fr;
  }

  .hero-control-room .hero-benefit + .hero-benefit {
    border-left: 0;
    border-top: 1px solid var(--hero-line);
  }

  .hero-control-author > span:nth-last-child(2) {
    display: none;
  }
}

/* ==================== Web App Recomposition ==================== */

:root {
  --background: #f3f7f5;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.68);
  --glass-panel: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(15, 23, 42, 0.12);
  --glass-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --glass-shadow-hover: 0 18px 52px rgba(15, 23, 42, 0.14);
}

body {
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbfa 0%, #eef6f3 52%, #fbf7f1 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

body::before {
  content: none;
}

section.py-4,
section.py-5,
section.py-6,
section.py-8,
section.py-10,
section.py-12,
section.py-16 {
  padding-top: 34px;
  padding-bottom: 34px;
}

@media (min-width: 1024px) {
  section.py-4,
  section.py-5,
  section.py-6,
  section.py-8,
  section.py-10,
  section.py-12,
  section.py-16 {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

.section-header {
  margin-bottom: 18px;
}

.card,
.video-card,
.video-card-compact,
.news-card,
.blog-card,
.admin-card,
.tab-buttons,
.carousel-container,
.ranking-item-compact,
.modal-content {
  background: rgba(255, 255, 255, 0.84) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
}

.card:hover,
.video-card-compact:hover,
.news-card:hover,
.blog-card:hover,
.admin-card:hover,
.ranking-item-compact:hover {
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

.app-hero.hero-section {
  min-height: auto;
  padding: 22px 18px 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
}

.app-hero.hero-section::before,
.app-hero .hero-slideshow,
.app-hero .hero-slide {
  display: none;
}

.hero-app-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.hero-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-command-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.hero-command-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1;
}

.hero-stat-chip strong {
  color: var(--text-primary);
  font-size: 12px;
}

.app-hero .hero-content {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0 0 !important;
  align-items: stretch;
}

.app-hero .hero-eyebrow {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: none;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.app-hero .hero-title {
  max-width: 100%;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.04;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.app-hero .hero-subtitle {
  max-width: 100%;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.app-hero .hero-cta-buttons {
  margin: 16px 0 12px;
  gap: 8px;
}

.app-hero .hero-cta-btn {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
}

.hero-filter-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hero-filter:hover,
.hero-filter.active {
  color: #fff;
  background: #0f766e;
  transform: translateY(-1px);
}

.app-hero .hero-player {
  margin: 0;
}

.app-hero .hero-player-frame {
  padding: 8px;
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

.app-hero .hero-player-header {
  padding: 7px 8px;
  margin-bottom: 8px;
  background: rgba(248, 250, 252, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
}

.app-hero .hero-player-title {
  font-size: 13px;
}

.app-hero .hero-player-sub {
  font-size: 10px;
}

.hero-video-stage {
  margin: 0;
}

.hero-video-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.90), rgba(2, 6, 23, 0.54), transparent);
}

.hero-queue-panel {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.hero-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-panel-kicker {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel-heading h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.hero-panel-link {
  flex-shrink: 0;
  padding: 6px 9px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.hero-queue-list {
  display: grid;
  gap: 7px;
}

.hero-queue-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-queue-item:hover {
  transform: translateX(2px);
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(255, 255, 255, 0.94);
}

.hero-queue-rank {
  font-size: 12px;
  font-weight: 900;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.hero-queue-main {
  min-width: 0;
}

.hero-queue-main strong,
.hero-queue-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-queue-main strong {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.25;
}

.hero-queue-main small {
  color: var(--text-secondary);
  font-size: 10px;
}

.hero-empty-state {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  border-radius: 8px;
}

.app-hero .hero-announcements {
  margin: 0;
  grid-column: 1 / -1;
}

.app-hero .hero-announcement-item {
  width: 100%;
  padding: 8px 10px;
  box-shadow: none;
  border-color: rgba(15, 23, 42, 0.10);
}

@media (min-width: 1180px) {
  .app-hero .hero-content {
    grid-template-columns: minmax(260px, 330px) minmax(520px, 1fr) minmax(280px, 340px);
    grid-template-areas:
      "copy player queue"
      "copy player queue"
      "news news news";
  }

  .app-hero .hero-eyebrow,
  .app-hero .hero-title,
  .app-hero .hero-subtitle,
  .app-hero .hero-cta-buttons,
  .app-hero .hero-filter-strip {
    grid-column: 1;
  }

  .app-hero .hero-player {
    grid-column: 2 !important;
    grid-row: 1 / span 5 !important;
    align-self: stretch;
  }

  .app-hero .hero-queue-panel {
    grid-column: 3;
    grid-row: 1 / span 5;
  }
}

@media (min-width: 760px) and (max-width: 1179px) {
  .app-hero .hero-content {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .app-hero .hero-player {
    grid-column: 2;
    grid-row: 1 / span 5;
  }

  .app-hero .hero-queue-panel,
  .app-hero .hero-announcements {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .app-hero.hero-section {
    padding: 12px 10px 20px;
  }

  .hero-app-shell {
    padding: 9px;
  }

  .hero-command-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-command-stats {
    justify-content: flex-start;
  }
}

/* ==================== Vercel App Shell Polish ==================== */

body,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

header.sticky {
  height: 58px;
  background: rgba(248, 251, 250, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
}

.app-brand-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 8px 5px 6px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  cursor: pointer;
}

.app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
}

.app-brand-wordmark {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.app-top-nav {
  display: none;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.app-top-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

.app-top-nav button:hover,
.app-top-nav button.active {
  background: #101820;
  color: #fff;
}

.app-lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.app-lang-button:hover,
.app-lang-button.active {
  border-color: rgba(15, 118, 110, 0.38);
  background: rgba(236, 253, 245, 0.92);
  transform: translateY(-1px);
}

.app-hero.hero-section {
  min-height: calc(100vh - 58px);
  padding: 14px 16px 22px;
}

.hero-app-shell {
  max-width: 1440px;
  min-height: 0;
  padding: 10px;
}

.app-hero .hero-title {
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-title,
.hero-title-gradient,
.section-title,
h1,
h2,
h3 {
  letter-spacing: 0;
}

.app-hero .hero-subtitle {
  font-size: 13px;
  line-height: 1.62;
}

.hero-filter-strip {
  align-content: flex-start;
}

.hero-filter,
.hero-panel-link,
.hero-queue-item,
.hero-stat-chip,
.hero-cta-btn,
.hero-player-pause {
  white-space: nowrap;
}

.app-hero .hero-player-frame,
.hero-queue-panel,
.hero-filter-strip,
.hero-app-shell,
.hero-stat-chip,
.hero-queue-item {
  border-radius: 8px;
}

.app-hero #video-carousel-wrapper,
.app-hero #autoplay-video-container {
  min-height: 260px;
}

.app-hero .hero-queue-list {
  max-height: 396px;
  overflow: auto;
  padding-right: 2px;
}

.horizontal-scroll {
  scroll-padding-left: 12px;
}

.carousel-container {
  border-radius: 8px !important;
}

.video-card-compact,
.news-card,
.blog-card,
.ranking-item-compact {
  border-radius: 8px !important;
}

@media (min-width: 900px) {
  .app-top-nav {
    display: inline-flex;
  }
}

@media (min-width: 1180px) {
  .app-hero .hero-content {
    grid-template-columns: minmax(286px, 340px) minmax(560px, 1fr) minmax(292px, 350px);
    gap: 12px;
  }

  .app-hero .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .app-hero .hero-cta-btn {
    width: 100%;
  }
}

@media (min-width: 1500px) {
  .app-hero .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 1179px) {
  .app-hero.hero-section {
    min-height: auto;
  }

  .app-hero .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 760px) {
  header.sticky {
    height: auto;
  }

  .app-hero .hero-title {
    font-size: 30px;
  }

  .app-hero #video-carousel-wrapper,
  .app-hero #autoplay-video-container {
    min-height: 190px;
  }

  .app-hero .hero-queue-list {
    max-height: none;
  }
}

/* ==================== Editorial ClimbHero Hero ==================== */
:root {
  --hero-paper: #fbfaf7;
  --hero-ink: #171411;
  --hero-muted: #625d55;
  --hero-line: rgba(23, 20, 17, 0.14);
  --hero-accent: #e43e24;
  --hero-accent-dark: #c92e17;
}

header.sticky {
  height: 72px;
  background: rgba(251, 250, 247, 0.97) !important;
  border-bottom: 1px solid var(--hero-line) !important;
  box-shadow: none !important;
}

header.sticky > div {
  max-width: 1480px !important;
}

.app-brand-button {
  border: 0;
  background: transparent;
  padding: 6px 0;
}

.app-brand-mark {
  display: none;
}

.app-brand-wordmark {
  color: var(--hero-ink);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.app-top-nav {
  gap: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.app-top-nav button {
  min-height: 42px;
  padding: 7px 0;
  border-radius: 0;
  color: var(--hero-ink);
  font-size: 14px;
  font-weight: 700;
}

.app-top-nav button:hover,
.app-top-nav button.active {
  background: transparent;
  color: var(--hero-accent);
}

.app-lang-button {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--hero-ink);
  font-size: 0;
}

.app-lang-button::after {
  content: attr(title);
  font-size: 0;
}

.app-lang-button[title="日本語"]::before { content: "JP"; font-size: 13px; }
.app-lang-button[title="English"]::before { content: "US"; font-size: 13px; }
.app-lang-button[title="中文"]::before { content: "CN"; font-size: 13px; }
.app-lang-button[title="한국어"]::before { content: "KR"; font-size: 13px; }

.app-lang-button:hover,
.app-lang-button.active {
  border-color: rgba(228, 62, 36, 0.72);
  background: transparent;
  color: var(--hero-accent);
  transform: none;
}

.legacy-hero-hidden {
  display: none !important;
}

.hero-editorial {
  overflow: hidden;
  background: var(--hero-paper);
  color: var(--hero-ink);
}

.hero-editorial-shell {
  width: min(100%, 1536px);
  margin: 0 auto;
  padding: 68px 56px 0;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: center;
}

.hero-value-panel {
  padding: 4px 0 26px;
}

.hero-editorial-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 40px;
  color: var(--hero-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.hero-editorial-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-accent);
  flex: 0 0 auto;
}

.hero-editorial-title {
  max-width: 720px;
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(50px, 5.15vw, 76px);
  font-weight: 950;
  line-height: 1.13;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-editorial-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #34302b;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.85;
}

.hero-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 62px;
  padding: 0 34px;
  border: 1px solid var(--hero-ink);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 850;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hero-action:hover {
  transform: translateY(-2px);
}

.hero-action-primary {
  border-color: var(--hero-accent);
  background: var(--hero-accent);
  color: #fff;
}

.hero-action-primary:hover {
  border-color: var(--hero-accent-dark);
  background: var(--hero-accent-dark);
}

.hero-action-secondary {
  background: transparent;
  color: var(--hero-ink);
}

.hero-action-secondary:hover {
  background: var(--hero-ink);
  color: #fff;
}

.hero-action:focus-visible,
.hero-join-link:focus-visible,
.hero-featured-media:focus-visible,
.hero-editorial-news:focus-visible {
  outline: 3px solid rgba(228, 62, 36, 0.35);
  outline-offset: 4px;
}

.hero-join-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 5px 0;
  border-bottom: 1px solid var(--hero-ink);
  color: var(--hero-ink);
  font-size: 13px;
  font-weight: 750;
}

.hero-featured-panel {
  min-width: 0;
}

.hero-featured-label {
  margin-bottom: 11px;
  color: var(--hero-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-featured-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #151515;
  box-shadow: 0 18px 42px rgba(23, 20, 17, 0.14);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.hero-featured-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-featured-media:hover > img {
  transform: scale(1.025);
}

.hero-featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 27px;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-featured-media:hover .hero-featured-play {
  background: var(--hero-accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-featured-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 22px;
  background: rgba(15, 13, 12, 0.84);
}

.hero-featured-title {
  overflow: hidden;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-featured-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.hero-featured-meta > span + span::before {
  content: "/";
  margin-right: 9px;
  color: rgba(255, 255, 255, 0.38);
}

.hero-featured-meta i {
  margin-right: 4px;
}

.hero-featured-media.is-playing {
  cursor: default;
}

.hero-featured-media.is-playing iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.hero-featured-empty {
  display: grid;
  place-items: center;
}

.hero-benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--hero-line);
  border-bottom: 1px solid var(--hero-line);
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 26px 24px;
}

.hero-benefit + .hero-benefit {
  border-left: 1px solid var(--hero-line);
}

.hero-benefit > i {
  width: 32px;
  color: var(--hero-accent);
  font-size: 29px;
  text-align: center;
}

.hero-benefit span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hero-benefit strong {
  color: var(--hero-ink);
  font-size: 15px;
  line-height: 1.2;
}

.hero-benefit small {
  color: var(--hero-muted);
  font-size: 11px;
  line-height: 1.45;
}

.hero-editorial-news {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 2px;
  color: var(--hero-muted);
  text-align: left;
}

.hero-editorial-news span {
  color: var(--hero-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-editorial-news strong {
  overflow: hidden;
  color: var(--hero-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legacy-feature-section,
.legacy-testimonials-section {
  background: var(--hero-paper) !important;
  color: var(--hero-ink) !important;
  border-bottom: 1px solid var(--hero-line);
}

.legacy-feature-section > .absolute,
.legacy-testimonials-section > .absolute {
  display: none !important;
}

.legacy-feature-section h3,
.legacy-feature-section h4,
.legacy-feature-section h5,
.legacy-testimonials-section h3,
.legacy-testimonials-section h4,
.legacy-feature-section [class*="text-transparent"],
.legacy-testimonials-section [class*="text-transparent"] {
  background: none !important;
  color: var(--hero-ink) !important;
  -webkit-text-fill-color: var(--hero-ink) !important;
}

.legacy-feature-section p,
.legacy-feature-section li,
.legacy-testimonials-section p {
  color: var(--hero-muted) !important;
}

.legacy-feature-section [class*="bg-white/10"],
.legacy-testimonials-section [class*="bg-white/10"] {
  background: #fff !important;
  border: 1px solid var(--hero-line) !important;
  box-shadow: none !important;
}

@media (max-width: 1100px) {
  .hero-editorial-shell {
    padding: 48px 30px 0;
  }

  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-value-panel {
    max-width: 820px;
  }

  .hero-editorial-kicker {
    margin-bottom: 28px;
  }

  .hero-featured-panel {
    width: 100%;
    max-width: 920px;
  }
}

@media (max-width: 760px) {
  header.sticky {
    height: 60px;
  }

  .app-brand-wordmark {
    font-size: 22px;
  }

  .app-lang-button {
    width: 30px;
    height: 30px;
  }

  .hero-editorial-shell {
    padding: 32px 18px 0;
  }

  .hero-editorial-title {
    font-size: clamp(39px, 11.8vw, 54px);
    letter-spacing: -0.055em;
  }

  .hero-editorial-copy {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-editorial-copy br {
    display: none;
  }

  .hero-editorial-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-action {
    width: 100%;
    min-height: 56px;
  }

  .hero-featured-play {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .hero-featured-overlay {
    display: block;
    padding: 13px 14px;
  }

  .hero-featured-title {
    display: block;
    font-size: 15px;
  }

  .hero-featured-meta {
    justify-content: flex-start;
    margin-top: 7px;
    font-size: 10px;
  }

  .hero-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 36px;
  }

  .hero-benefit {
    align-items: flex-start;
    padding: 20px 12px;
  }

  .hero-benefit:nth-child(3) {
    border-left: 0;
  }

  .hero-benefit:nth-child(n + 3) {
    border-top: 1px solid var(--hero-line);
  }

  .hero-benefit > i {
    width: 24px;
    font-size: 22px;
  }

  .hero-editorial-news {
    padding-bottom: 16px;
  }
}

@media (max-width: 460px) {
  .hero-editorial-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-editorial-kicker {
    font-size: 12px;
  }

  .hero-featured-meta span:nth-child(2) {
    display: none;
  }

  .hero-benefit {
    gap: 10px;
  }

  .hero-benefit small {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-action,
  .hero-featured-media > img,
  .hero-featured-play {
    transition: none !important;
  }

  .hero-action:hover,
  .hero-featured-media:hover .hero-featured-play {
    transform: none;
  }
}

/* Final header alignment for the selected control-room direction. */
header.sticky .app-brand-mark {
  display: inline-flex;
  width: 34px;
  height: 30px;
  border-radius: 0;
  background: transparent;
  color: var(--hero-accent);
  font-size: 22px;
}

header.sticky .app-top-nav {
  display: none !important;
  box-shadow: none !important;
}

header.sticky .btn-primary {
  border-color: var(--hero-ink) !important;
  background: var(--hero-ink) !important;
  box-shadow: none !important;
  color: #fff !important;
}

header.sticky .btn-primary:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
}

/* Keep every existing carousel, but bring it into the selected visual system. */
.climbhero-main {
  background: var(--hero-paper) !important;
}

.climbhero-main > section:has(.carousel-container) {
  background: var(--hero-paper) !important;
  border-top: 1px solid var(--hero-line);
}

.climbhero-main > section:has(.carousel-container) > div {
  max-width: 1370px !important;
}

.climbhero-main .section-title {
  color: var(--hero-ink) !important;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.climbhero-main .section-title > i {
  color: var(--hero-accent) !important;
}

.climbhero-main .tab-buttons {
  border: 1px solid var(--hero-line);
  background: #fff !important;
  box-shadow: none !important;
}

.climbhero-main .tab-btn {
  color: var(--hero-muted) !important;
}

.climbhero-main .tab-btn.active {
  background: var(--hero-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.climbhero-main .carousel-container {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.climbhero-main .video-card-compact,
.climbhero-main .ranking-item-compact,
.climbhero-main .news-card,
.climbhero-main .blog-card {
  border: 1px solid var(--hero-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.climbhero-main .carousel-btn {
  border: 1px solid var(--hero-line) !important;
  background: #fff !important;
  color: var(--hero-ink) !important;
  box-shadow: 0 8px 22px rgba(23, 20, 17, 0.1) !important;
}

.climbhero-main .carousel-btn:hover {
  border-color: var(--hero-accent) !important;
  background: var(--hero-accent) !important;
  color: #fff !important;
}
