/* =========================================================
   VERTICAL PAGE CSS - PREMIUM
   File: assets/css/vertical.css
========================================================= */

:root {
  --primary: #7ed0fb;
  --dark: #0b0b16;
  --dark2: #111027;
  --accent: #191660;
  --gold: #b1a77b;
  --white: #ffffff;

  --text: rgba(255,255,255,0.88);
  --muted: rgba(255,255,255,0.66);

  --border: rgba(255,255,255,0.12);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.42);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

body {
  background: radial-gradient(1200px 520px at 10% 10%, rgba(126, 208, 251, 0.14), transparent 55%),
              radial-gradient(900px 450px at 90% 15%, rgba(177, 167, 123, 0.10), transparent 60%),
              linear-gradient(180deg, #05050f 0%, #070716 55%, #05050f 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* -------------------------
   Hero Section
-------------------------- */
.vertical-hero {
  position: relative;
  width: 100%;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.vertical-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.02);
}

.vertical-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,15,0.70) 0%, rgba(5,5,15,0.78) 40%, rgba(5,5,15,0.92) 100%),
    radial-gradient(900px 380px at 50% 35%, rgba(126, 208, 251, 0.22), transparent 58%),
    radial-gradient(620px 280px at 30% 60%, rgba(177, 167, 123, 0.14), transparent 60%);
  backdrop-filter: blur(2px);
}

.vertical-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 18px;
  max-width: 980px;
}

.vertical-hero-content h1 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(126,208,251,0.95) 40%, rgba(255,255,255,0.90) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 25px 70px rgba(0,0,0,0.55);
}

.vertical-hero-content p {
  font-size: clamp(15px, 1.35vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
}

/* -------------------------
   Section Head
-------------------------- */
.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-head.dark h2,
.section-head.dark p {
  color: #111;
}

/* -------------------------
   Info Section
-------------------------- */
.vertical-info {
  padding: 70px 0 40px;
  position: relative;
}

.vertical-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 260px at 20% 15%, rgba(126, 208, 251, 0.08), transparent 58%);
  pointer-events: none;
}

.vertical-info h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 850;
  margin-bottom: 12px;
}

.vertical-info p {
  color: rgba(255,255,255,0.76);
  font-size: 16px;
  line-height: 1.85;
  max-width: 980px;
}

/* -------------------------
   Stats Section
-------------------------- */
.vertical-stats {
  padding: 10px 0 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 180px at 15% 20%, rgba(126,208,251,0.20), transparent 55%);
  opacity: .7;
  pointer-events: none;
}

.stat-box:hover {
  transform: translateY(-6px);
  border-color: rgba(126,208,251,0.24);
}

.stat-box h3 {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 6px;
  color: #fff;
}

.stat-box p {
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
}

/* -------------------------
   Brands Section (WHITE BG)
-------------------------- */
.white-bg {
  background: #fff;
  color: #111;
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.vertical-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* ✅ always 2 per row */
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 720px) {
  .vertical-brand-grid {
    grid-template-columns: 1fr; /* ✅ mobile = 1 per row */
  }
}


.vertical-brand-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all .30s ease;
  position: relative;
  overflow: hidden;
}

.vertical-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 50% 0%, rgba(126,208,251,0.18), transparent 55%);
  opacity: 0;
  transition: opacity .30s ease;
  pointer-events: none;
}

.vertical-brand-card:hover::before {
  opacity: 1;
}

.vertical-brand-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.14);
  border-color: rgba(126,208,251,0.30);
}

.vertical-brand-card img {
  max-width: 140px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.vertical-brand-card h4 {
  font-size: 16px;
  margin: 0 0 7px;
  font-weight: 900;
  color: #111;
}

.vertical-brand-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,0.62);
  margin: 0;
}

.no-data {
  color: rgba(0,0,0,0.65);
  margin-top: 10px;
}

/* -------------------------
   Trending Section
-------------------------- */
.vertical-trending {
  padding: 70px 0;
  position: relative;
}

.vertical-trending::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 260px at 20% 15%, rgba(126, 208, 251, 0.08), transparent 58%);
  pointer-events: none;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trend-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 25px 70px rgba(0,0,0,0.40);
  transition: transform .25s ease, border-color .25s ease;
}

.trend-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126,208,251,0.26);
}

.trend-thumb {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
}

.trend-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .35s ease;
  filter: saturate(1.12);
}

.trend-card:hover .trend-thumb img {
  transform: scale(1.12);
}

.trend-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(5,5,15,0.92) 100%);
  pointer-events: none;
}

.trend-content {
  padding: 18px 18px 20px;
}

.trend-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: -0.2px;
}

/* ✅ NEW: brand name inside trending card */
.trend-brand {
  font-size: 13px;
  font-weight: 800;
  color: #b1a77b;
  margin-bottom: 12px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.trend-link {
  font-size: 13px;
  color: rgba(126,208,251,0.95);
  font-weight: 700;
  letter-spacing: .2px;
}

/* -------------------------
   Other Verticals Grid
-------------------------- */
.other-verticals {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.other-verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.other-vertical-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  transition: all .3s ease;
  background: rgba(255,255,255,0.03);
}

.other-vertical-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126,208,251,0.4);
  background: rgba(255,255,255,0.06);
}

.other-vertical-card h4 {
  color: #fff;
  margin-bottom: 6px;
  font-weight: 900;
}

.other-vertical-card p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1150px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .vertical-hero { min-height: 70vh; }
  .vertical-info { padding: 55px 0 30px; }

  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .trending-grid { grid-template-columns: 1fr; }

  .trend-thumb { height: 190px; }
  .trend-content h3 { font-size: 17px; }
}
