/* G-VAD — Sessions component styles, variables scoped to .gvad-sessions */

/* ── Variables scoped to avoid G-VAD conflicts ── */
.gvad-sessions {
  --navy:      #1F3864;
  --navy-d:    #162D50;
  --navy-dd:   #0e1e35;
  --mid:       #2968B0;
  --sky:       #9FC5E8;
  --sky-l:     #C8DFF4;
  --sky-ll:    #E8F3FC;
  --white:     #FFFFFF;
  --border:    rgba(159,197,232,0.18);
  --border-m:  rgba(159,197,232,0.35);
  --muted:     rgba(159,197,232,0.55);
  --radius:    14px;
  --radius-lg: 20px;

  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background: var(--navy-d);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

/* Grid texture */
.gvad-sessions::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159,197,232,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,197,232,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Top-right glow */
.gvad-sessions::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(41,104,176,0.22) 0%, transparent 68%);
  pointer-events: none;
}

.glow-bl {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(31,56,100,0.4) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header ── */
.sess-header {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 2.8rem;
  animation: sessfadeUp .45s ease both;
}
.sess-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.sess-eyebrow::before, .sess-eyebrow::after {
  content: ''; display: block;
  width: 30px; height: 1px;
  background: var(--sky); opacity: .4;
}
.sess-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.sess-title span { color: var(--sky); }
.sess-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Cards grid ── */
.sess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
@media (max-width: 800px) {
  .sess-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .gvad-sessions { padding: 2.5rem 1.5rem 2rem; }
}
@media (max-width: 500px) {
  .gvad-sessions { padding: 2rem 1rem 1.5rem; border-radius: 16px; }
}

/* ── Session card ── */
.sess-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: border-color .25s, background .25s, transform .25s;
  cursor: pointer; text-decoration: none;
  animation: sessfadeUp .5s ease both;
}
.sess-card:nth-child(1) { animation-delay: .06s; }
.sess-card:nth-child(2) { animation-delay: .12s; }
.sess-card:nth-child(3) { animation-delay: .18s; }
.sess-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  transition: opacity .25s; opacity: .7;
}
.sess-card:hover { border-color: var(--border-m); background: rgba(255,255,255,0.065); transform: translateY(-4px); }
.sess-card:hover::before { opacity: 1; }
.card-bureau::before { background: linear-gradient(90deg,#2968B0,#9FC5E8); }
.card-hack::before   { background: linear-gradient(90deg,#c0392b,#e74c3c); }
.card-dev::before    { background: linear-gradient(90deg,#1a9e6e,#27c98f); }
.card-info::before   { background: linear-gradient(90deg,#f97316,#fb923c); }

/* ── Badge ── */
.sess-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; width: fit-content;
}
.badge-live  { background: rgba(220,53,69,.18); color: #f87171; border: 1px solid rgba(220,53,69,.3); }
.badge-soon  { background: rgba(41,104,176,.2); color: var(--sky); border: 1px solid var(--border-m); }
.badge-open  { background: rgba(26,158,110,.15); color: #34d399; border: 1px solid rgba(26,158,110,.3); }
.badge-promo { background: rgba(249,115,22,.18); color: #fb923c; border: 1px solid rgba(249,115,22,.35); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: sessPulse 1.4s ease-in-out infinite; }

/* ── Icon ── */
.sess-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-bureau { background: rgba(41,104,176,.2); }
.icon-hack   { background: rgba(220,53,69,.18); }
.icon-dev    { background: rgba(26,158,110,.18); }
.icon-info   { background: rgba(249,115,22,.2); }
.sess-icon svg { width: 24px; height: 24px; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.icon-bureau svg { stroke: var(--sky); }
.icon-hack   svg { stroke: #f87171; }
.icon-dev    svg { stroke: #34d399; }
.icon-info   svg { stroke: #fb923c; }

/* ── Text ── */
.sess-name { font-family: 'Sora','Inter',sans-serif; font-size: 15.5px; font-weight: 700; color: var(--white); line-height: 1.25; }
.sess-sub  { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }

/* ── Meta ── */
.sess-meta { display: flex; flex-direction: column; gap: 5px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(159,197,232,.7); }
.meta-item svg { width: 13px; height: 13px; stroke: var(--sky); stroke-width: 1.8; fill: none; flex-shrink: 0; opacity: .7; }
.meta-item strong { color: var(--sky-l); font-weight: 500; }

/* ── Countdown ── */
.countdown {
  background: rgba(0,0,0,.25); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 8px 8px;
}
.cd-label {
  font-size: 9.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 8px;
}
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cd-num {
  font-family: 'DM Mono', monospace;
  font-size: 22px; font-weight: 500; color: var(--white);
  line-height: 1; min-width: 36px; text-align: center; position: relative;
}
.cd-num.flip { animation: sessFlipNum .35s ease; }
.cd-unit-label { font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-bureau .cd-num { color: var(--sky-l); }
.card-hack   .cd-num { color: #fca5a5; }
.card-dev    .cd-num { color: #6ee7b7; }
.card-info   .cd-num { color: #fdba74; }
.expired .cd-num { color: var(--muted) !important; }

/* ── Price ── */
.sess-price { display: flex; align-items: baseline; gap: 6px; }
.price-val  { font-family: 'Sora','Inter',sans-serif; font-size: 18px; font-weight: 700; color: var(--white); }
.price-cur  { font-size: 11px; color: var(--muted); font-weight: 400; }
.price-mode { font-size: 10.5px; color: var(--muted); margin-left: auto; }

/* ── CTA button ── */
.sess-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px; border-radius: 9px;
  font-family: 'Sora','Inter',sans-serif; font-size: 12.5px; font-weight: 600;
  border: none; cursor: pointer; width: 100%;
  transition: opacity .2s, transform .15s; text-decoration: none;
}
.sess-cta:active { transform: scale(.97); }
.sess-cta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.cta-bureau { background: var(--mid); color: var(--sky-l); }
.cta-hack   { background: #c0392b; color: #fecaca; }
.cta-dev    { background: #0f6e45; color: #a7f3d0; }
.cta-info   { background: #c2410c; color: #ffedd5; }
.sess-cta:hover { opacity: .88; }

/* ── Footer strip ── */
.sess-footer {
  position: relative; z-index: 1;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px;
  animation: sessfadeUp .5s ease .24s both;
}
.footer-info { display: flex; flex-wrap: wrap; gap: 16px; }
.f-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.f-item svg { width: 14px; height: 14px; stroke: var(--sky); fill: none; stroke-width: 1.8; stroke-linecap: round; opacity: .7; }
.footer-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Sora','Inter',sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--sky); text-decoration: none; transition: gap .2s, color .2s;
}
.footer-cta:hover { gap: 11px; color: var(--sky-l); }
.footer-arrow {
  width: 22px; height: 22px; border: 1px solid var(--sky); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  transition: background .2s;
}
.footer-cta:hover .footer-arrow { background: rgba(159,197,232,.15); }

/* ── Keyframes (prefixed to avoid conflict with other @keyframes) ── */
@keyframes sessPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
@keyframes sessBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes sessFlipNum {
  0%   { transform: translateY(-6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes sessfadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
