/* ============================================================
   OnlyEvents — howitworks.css | Gen-Z Dark (Glass)
   Drop-in replacement for How It Works / Static pages
   Uses your master.css tokens (dark background + accent glow)
   ============================================================ */

.oe-page{
  padding: 32px 0 78px;
  background: transparent; /* master.css controls page background */
}

.oe-page-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 14px;
}

/* =========================
   HERO
   ========================= */
.oe-page-hero{
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--oe-radius, 22px) + 10px);
  padding: 30px 26px;

  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.oe-page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(820px 320px at 12% 18%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(860px 360px at 88% 0%, rgba(124,58,237,.22), transparent 62%),
    radial-gradient(900px 420px at 60% 110%, rgba(251,113,133,.10), transparent 65%);
  opacity:.9;
  mix-blend-mode: screen;
}

.oe-page-hero > *{ position:relative; z-index:1; }

.oe-page-hero h1{
  margin: 0 0 10px;
  font-family: var(--font-head, Syne, sans-serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 950;
  color: rgba(255,255,255,.95);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.oe-page-hero p{
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 70ch;
}

/* =========================
   CONTENT CARD
   ========================= */
.oe-page-card{
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--oe-radius, 22px) + 10px);
  padding: 26px;

  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 60px rgba(0,0,0,.50);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.oe-page-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(720px 280px at 12% 10%, rgba(124,58,237,.14), transparent 60%),
    radial-gradient(740px 300px at 88% 88%, rgba(34,211,238,.12), transparent 60%);
  opacity:.9;
  mix-blend-mode: screen;
}
.oe-page-card > *{ position:relative; z-index:1; }

.oe-page-card h2{
  font-family: var(--font-head, Syne, sans-serif);
  font-size: 18px;
  font-weight: 950;
  margin: 20px 0 10px;
  color: rgba(255,255,255,.92);
  letter-spacing: -0.02em;
}
.oe-page-card h2:first-child{ margin-top: 0; }

.oe-page-card h3{
  font-family: var(--font-head, Syne, sans-serif);
  font-size: 15px;
  font-weight: 900;
  margin: 14px 0 6px;
  color: rgba(255,255,255,.90);
}

.oe-page-card p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.74);
  font-size: 14.5px;
  line-height: 1.85;
}
.oe-page-card p:last-child{ margin-bottom: 0; }

/* Links */
.oe-page-card a,
.oe-modal-hint a{
  color: var(--oe-cyan, #22D3EE);
  font-weight: 900;
  text-decoration: none;
}
.oe-page-card a:hover,
.oe-modal-hint a:hover{
  text-decoration: underline;
}

/* Lists */
.oe-page-card ul,
.oe-page-card ol{
  margin: 10px 0 14px;
  padding-left: 18px;
}
.oe-page-card li{
  margin: 6px 0;
  color: rgba(255,255,255,.74);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ✅ Fix: remove any accidental "line through" look */
.oe-page-card li,
.oe-page-card p{
  text-decoration: none !important;
}
.oe-page-card del,
.oe-page-card s{
  text-decoration: none !important;
  opacity: .9;
}

/* Divider utility */
.oe-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  margin: 18px 0;
  opacity: .9;
}

/* =========================
   TWO COLUMN INFO GRID
   ========================= */
.oe-page-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.oe-info-box{
  position: relative;
  overflow:hidden;
  border-radius: 18px;
  padding: 16px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: transform .18s ease, border-color .18s ease;
}
.oe-info-box:hover{
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.28);
}
.oe-info-box::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(420px 140px at 0% 0%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(420px 140px at 100% 0%, rgba(124,58,237,.12), transparent 60%);
  opacity:.85;
  mix-blend-mode: screen;
}
.oe-info-box > *{ position:relative; z-index:1; }

.oe-info-box h3{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 950;
  color: rgba(255,255,255,.92);
}
.oe-info-box p{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

/* =========================
   STEPS
   ========================= */
.oe-steps{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.oe-step{
  position: relative;
  overflow:hidden;
  border-radius: 18px;
  padding: 14px 16px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 46px rgba(0,0,0,.33);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: transform .18s ease, border-color .18s ease;
}
.oe-step:hover{
  transform: translateY(-3px);
  border-color: rgba(124,58,237,.28);
}
.oe-step::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(520px 160px at 10% 0%, rgba(124,58,237,.12), transparent 60%),
    radial-gradient(520px 160px at 90% 100%, rgba(34,211,238,.10), transparent 60%);
  opacity:.85;
  mix-blend-mode: screen;
}
.oe-step > *{ position:relative; z-index:1; }

.oe-step h3{
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 950;
  color: rgba(255,255,255,.92);
}
.oe-step p{
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

/* =========================
   FAQ (details/summary)
   ========================= */
.oe-faq{
  position: relative;
  overflow:hidden;
  border-radius: 18px;
  padding: 12px 14px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 46px rgba(0,0,0,.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  margin: 10px 0;
}

.oe-faq summary{
  cursor: pointer;
  font-weight: 950;
  color: rgba(255,255,255,.92);
  list-style: none;
}

.oe-faq summary::-webkit-details-marker{ display:none; }

.oe-faq summary::after{
  content: "▾";
  float: right;
  opacity: .8;
  transition: transform .18s ease;
  color: var(--oe-cyan, #22D3EE);
}

.oe-faq[open] summary::after{ transform: rotate(180deg); }

.oe-faq p{
  margin: 10px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   HINT
   ========================= */
.oe-modal-hint{
  margin-top: 12px;
  font-size: 12.8px;
  color: rgba(255,255,255,.64);
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 575px){
  .oe-page{ padding: 24px 0 60px; }
  .oe-page-wrap{ padding: 0 12px; }

  .oe-page-hero{ padding: 22px 18px; border-radius: 20px; }
  .oe-page-hero h1{ font-size: 22px; }
  .oe-page-hero p{ font-size: 13.8px; }

  .oe-page-card{ padding: 20px 18px; border-radius: 20px; }
  .oe-page-grid{ grid-template-columns: 1fr; }
}