/* ═══════════════════════════════════════════════
   VIDEOS PAGE — Complete Styles & Animations
   ═══════════════════════════════════════════════ */

/* ── HERO (Landing) ────────────────────────── */
.videos-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.videos-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.globe-grid {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: globeRotate 60s linear infinite;
}

@keyframes globeRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.videos-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, #0a0a0a 70%);
}

.videos-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.videos-hero-icon {
  font-size: 3rem;
  color: #c5a47e;
  margin-bottom: 1.5rem;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-8px); opacity: 0.85; }
}

.videos-hero-title {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #c5a47e 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.videos-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.videos-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.vhs-item {
  text-align: center;
}

.vhs-number {
  display: block;
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #c5a47e;
}

.vhs-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

.vhs-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.videos-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.videos-hero-scroll i {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ── SECTION HEADERS ────────────────────────── */
.videos-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.videos-section-header h2 {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.section-line {
  width: 60px;
  height: 2px;
  background: #c5a47e;
  margin: 0 auto 1rem;
}

.videos-section-header p {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── CONTINENT GRID ────────────────────────── */
.videos-continents {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.continent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.continent-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  text-decoration: none;
  color: #fff;
  display: block;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.continent-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.continent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.continent-card[data-has-videos="false"] {
  opacity: 0.6;
  pointer-events: none;
}

.continent-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.continent-card:hover .continent-card-bg {
  transform: scale(1.08);
}

.continent-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
  transition: background 0.4s ease;
}

.continent-card:hover .continent-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.3) 100%);
}

.continent-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.continent-card:hover .continent-card-content {
  transform: translateY(0);
}

.continent-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.continent-name {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.continent-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.continent-card:hover .continent-desc {
  opacity: 1;
  transform: translateY(0);
}

.continent-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #c5a47e;
}

.continent-meta i {
  margin-right: 0.3rem;
}

.coming-soon {
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.continent-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.8s ease;
}

.continent-card:hover .continent-card-shine {
  left: 150%;
}

/* ── FEATURED VIDEO GRID ────────────────────── */
.videos-featured {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fafafa;
}

.featured-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
  opacity: 0;
}

.video-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.05);
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card-play i {
  color: #fff;
  font-size: 1.2rem;
  margin-left: 3px;
}

.video-card:hover .video-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.video-card-info {
  padding: 1rem 1.2rem 1.2rem;
}

.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #888;
}

.video-card-country {
  color: #c5a47e;
  text-decoration: none;
  transition: color 0.2s;
}

.video-card-country:hover {
  color: #a0845e;
}

.video-card-views i,
.video-card-country i {
  margin-right: 0.25rem;
}

/* ── CTA SECTION ────────────────────────── */
.videos-cta {
  padding: 5rem 2rem;
  text-align: center;
}

.videos-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: #0a0a0a;
  border-radius: 20px;
  color: #fff;
}

.videos-cta-icon {
  font-size: 3rem;
  color: #ff0000;
  margin-bottom: 1.5rem;
}

.videos-cta-inner h2 {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.videos-cta-inner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

/* ── CONTINENT HERO ────────────────────────── */
.continent-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.continent-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.continent-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 800px;
  color: #fff;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.continent-hero-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.continent-hero-title {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.continent-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 700px;
}

.continent-hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #c5a47e;
}

.continent-hero-stats i {
  margin-right: 0.3rem;
}

/* ── BREADCRUMB ────────────────────────── */
.videos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.videos-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.videos-breadcrumb a:hover {
  color: #c5a47e;
}

.videos-breadcrumb i.fa-chevron-right {
  font-size: 0.6rem;
}

/* ── COUNTRY GRID ────────────────────────── */
.countries-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.country-card {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.country-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.country-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-card:hover .country-card-thumb img {
  transform: scale(1.06);
}

.country-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  font-size: 3rem;
}

.country-card-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.country-card-body {
  padding: 1.2rem;
}

.country-card-name {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.country-card-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.country-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #888;
}

.country-card-meta i {
  margin-right: 0.25rem;
}

.country-card-currency {
  color: #c5a47e;
  font-weight: 600;
}

/* ── CONTINENT ALL VIDEOS ────────────────── */
.continent-all-videos {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fafafa;
}

/* ── COUNTRY HERO ────────────────────────── */
.country-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.country-hero-bg {
  position: absolute;
  inset: 0;
}

.country-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.country-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}

.country-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 800px;
  color: #fff;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-hero-flag {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.country-hero-title {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.country-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 650px;
}

/* ── WIDGETS ────────────────────────── */
.country-widgets {
  padding: 3rem 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  overflow: hidden;
  animation: widgetSlideUp 0.6s ease-out both;
}

.info-widget:nth-child(2) { animation-delay: 0.1s; }
.info-widget:nth-child(3) { animation-delay: 0.2s; }

@keyframes widgetSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.widget-header i {
  color: #c5a47e;
  font-size: 1.1rem;
}

.widget-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.widget-body {
  padding: 1.5rem;
}

/* Weather widget */
.weather-loading,
.currency-loading {
  text-align: center;
  color: #999;
  padding: 1rem;
}

.weather-loaded {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.weather-temp {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.weather-temp sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.weather-details {
  flex: 1;
}

.weather-condition {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
  text-transform: capitalize;
}

.weather-extra {
  font-size: 0.78rem;
  color: #888;
}

.weather-extra span {
  margin-right: 0.8rem;
}

.weather-icon-display {
  font-size: 2.5rem;
}

/* Currency widget */
.currency-loaded {
  text-align: center;
}

.currency-rate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.currency-from,
.currency-to {
  text-align: center;
}

.currency-amount {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

.currency-code {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.currency-arrow {
  color: #c5a47e;
  font-size: 1.2rem;
}

.currency-note {
  font-size: 0.7rem;
  color: #aaa;
  font-style: italic;
}

/* Facts widget */
.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-label {
  font-size: 0.85rem;
  color: #666;
}

.fact-label i {
  margin-right: 0.4rem;
  color: #c5a47e;
  width: 16px;
  text-align: center;
}

.fact-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ── COUNTRY VIDEO LIST ────────────────────── */
.country-videos {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.country-video-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.country-video-item {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-video-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

.country-video-item:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.cvi-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

.cvi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-video-item:hover .cvi-thumb img {
  transform: scale(1.05);
}

.cvi-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cvi-thumb:hover .cvi-play-overlay {
  opacity: 1;
}

.cvi-play-btn {
  width: 64px;
  height: 64px;
  background: rgba(197,164,126,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cvi-thumb:hover .cvi-play-btn {
  transform: scale(1);
}

.cvi-play-btn i {
  color: #fff;
  font-size: 1.5rem;
  margin-left: 4px;
}

.cvi-episode {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c5a47e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.cvi-details {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cvi-title {
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}



.cvi-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cvi-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.cvi-meta i {
  margin-right: 0.3rem;
}

.cvi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.cvi-tag {
  font-size: 0.7rem;
  color: #c5a47e;
  background: rgba(197,164,126,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.cvi-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.cvi-watch-btn:hover {
  background: #c5a47e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(197,164,126,0.3);
}

/* ── RELATED VIDEOS ────────────────────────── */
.related-videos {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #fafafa;
}

/* ── VIDEO MODAL ────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.4s, opacity 0.4s ease;
}

.video-modal.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.4s ease;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1100px;
  transform: scale(0.9) translateY(40px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.1);
}

.video-modal-player {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── SCROLL REVEAL ────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0s);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .continent-grid {
    grid-template-columns: 1fr;
  }

  .continent-card {
    height: 300px;
  }

  .country-video-item {
    grid-template-columns: 1fr;
  }

  .cvi-details {
    padding: 1.5rem;
  }

  .featured-video-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .widget-grid {
    grid-template-columns: 1fr;
  }

  .country-widgets {
    margin-top: -1rem;
  }

  .videos-hero-stats {
    gap: 1rem;
  }

  .vhs-number {
    font-size: 1.8rem;
  }

  .country-grid {
    grid-template-columns: 1fr;
  }

  .continent-hero,
  .country-hero {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .videos-hero {
    min-height: 500px;
  }

  .continent-card {
    height: 260px;
  }
}

/* -- ADMIN HERO IMAGE CHANGE BUTTON ----------- */
.btn-hero-change {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(197,164,126,0.3);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  letter-spacing: 0.5px;
  transition: background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-hero-change:hover {
  background: rgba(197,164,126,0.25);
  border-color: rgba(197,164,126,0.6);
}

.btn-hero-change i {
  font-size: 14px;
  color: #c5a47e;
}

/* -- INTERACTIVE WORLD MAP -------------------- */
.videos-world-map {
  padding: 5rem 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.world-map-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  height: 560px;
  border-radius: 20px;
  background: #0d0d0d;
  border: 1px solid rgba(197,164,126,0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.world-map-container.map-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Leaflet overrides for dark theme */
.world-map-container .leaflet-container {
  background: #0d0d0d;
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
}

.world-map-container .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.world-map-container .leaflet-control-zoom a {
  background: rgba(20,20,20,0.9) !important;
  color: #c5a47e !important;
  border: 1px solid rgba(197,164,126,0.2) !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 16px !important;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, color 0.3s ease;
}

.world-map-container .leaflet-control-zoom a:hover {
  background: rgba(197,164,126,0.15) !important;
  color: #fff !important;
}

/* -- Custom pulsing markers -- */
.leaflet-marker-custom {
  background: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-dot {
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaflet-marker-custom:hover .marker-dot {
  transform: scale(1.4);
}

.marker-ping {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: pingPulse 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  70%, 100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.marker-count {
  position: absolute;
  z-index: 3;
  font-size: 9px;
  font-weight: 700;
  color: #0d0d0d;
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
  pointer-events: none;
}

/* -- Dark popups -- */
.dark-popup .leaflet-popup-content-wrapper {
  background: rgba(13,13,13,0.95);
  border: 1px solid rgba(197,164,126,0.25);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  color: #fff;
}

.dark-popup .leaflet-popup-tip {
  background: rgba(13,13,13,0.95);
  border-right: 1px solid rgba(197,164,126,0.25);
  border-bottom: 1px solid rgba(197,164,126,0.25);
}

.dark-popup .leaflet-popup-content {
  margin: 0;
  padding: 0;
}

.map-popup {
  padding: 16px 20px;
  font-family: var(--font-family, 'EB Garamond', Georgia, serif);
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.map-popup-flag {
  font-size: 1.6rem;
  line-height: 1;
}

.map-popup-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}

.map-popup-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.map-popup-meta i {
  color: #c5a47e;
  margin-right: 4px;
}

.map-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c5a47e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.map-popup-link:hover {
  color: #e0c9a6;
  gap: 10px;
}

@media (max-width: 768px) {
  .world-map-container {
    border-radius: 12px;
    height: 400px;
  }
  .videos-world-map {
    padding: 3rem 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .world-map-container {
    height: 320px;
    border-radius: 10px;
  }
}

/* -- Background image loading shimmer ---------- */
.continent-hero.hero-loading::before,
.country-hero.hero-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #1a1a2e 25%, #2a2a3e 37%, #1a1a2e 63%);
  background-size: 300% 100%;
  animation: videoImgShimmer 1.8s ease infinite;
  transition: opacity 0.5s ease;
}

.continent-hero.img-loaded::before,
.country-hero.img-loaded::before {
  opacity: 0;
  pointer-events: none;
}

@keyframes videoImgShimmer {
  0% { background-position: -300% 0; }
  100% { background-position: 300% 0; }
}
