/* MENI Pre-lander v2 (cleaner + nicer) */
:root{
  --bg-overlay: rgba(0,0,0,.58);
  --text: #ffffff;
  --muted: rgba(255,255,255,.82);
  --muted2: rgba(255,255,255,.68);

  --orange: #ff8c00;
  --orange2:#ffae00;

  --red1:#ff2a2a;
  --red2:#b30000;

  --card: rgba(255, 20, 20, .14);
  --card2: rgba(255, 20, 20, .08);

  --shadow-red: rgba(255,0,0,.45);
  --shadow-orange: rgba(255,140,0,.22);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html,body{ height:100%; }

body{
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#0f0f12;
}

/* hero */
.hero{
  position:relative;
  min-height:100vh;
  background:url('background.png') center top / cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 64px 16px;
}

.overlay{
  position:absolute;
  inset:0;
  background: var(--bg-overlay);
}

/* subtle top vignette so the headline pops */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(ellipse at bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
  pointer-events:none;
}

.container{
  position:relative;
  width:min(980px, 100%);
  margin:0 auto;
}

/* typography */
h1{
  font-family:'Montserrat', system-ui, sans-serif;
  font-weight:900;
  letter-spacing:-0.6px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height:1.08;
  margin-bottom: 14px;
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}

.subtitle{
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight:700;
  color: var(--orange);
  margin-bottom: 10px;
  text-shadow: 0 8px 18px rgba(0,0,0,.55);
}

.small-text{
  font-size: clamp(14px, 1.25vw, 16px);
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 720px;
}

/* card */
.trial-box{
  margin: 0 auto 18px;
  width: min(860px, 100%);
  padding: 26px 22px 22px;
  border-radius: 22px;

  /* glassy red card so it doesn't look like a huge flat rectangle */
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid rgba(255, 90, 90, .35);

  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 44px var(--shadow-red),
    0 0 24px var(--shadow-orange);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trial-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  font-family:'Montserrat', system-ui, sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight:900;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.counter{
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--muted);
  margin-bottom: 16px;
}

#dailySlots{
  display:block;
  margin-top: 6px;
  font-family:'Montserrat', system-ui, sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  color: var(--orange2);
  text-shadow: 0 10px 28px rgba(0,0,0,.55);
}

/* CTA */
.cta{
  background: linear-gradient(90deg, #ff6a00, #e10600);
  border: 1px solid rgba(255, 160, 100, .25);
  padding: 16px 34px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .4px;
  color: white;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 18px 34px rgba(0,0,0,.45), 0 0 18px rgba(255,70,0,.35);
}

.cta:hover{
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.03);
  box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 26px rgba(255,0,0,.55);
}

.cta:active{
  transform: translateY(0) scale(0.995);
}

.benefits{
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.88);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 12px 18px;
  text-shadow: 0 10px 22px rgba(0,0,0,.5);
}

.benefits span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
}

/* mobile spacing */
@media (max-width: 520px){
  .hero{ padding: 52px 14px; }
  .trial-box{ padding: 22px 16px 18px; border-radius: 18px; }
  .cta{ width: 100%; padding: 16px 16px; }
}


/* v4 urgency + low-slots styles */
.slot-note{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.slot-alert{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #ffd08a;
  display: none;
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}

.trial-box.low .slot-alert{ display:block; }

/* stronger glow when low */
.trial-box.low{
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 0 58px rgba(255,0,0,.62),
    0 0 34px rgba(255,140,0,.28);
  border-color: rgba(255, 140, 0, .42);
}

.trial-box.low #dailySlots{
  color: #ffb000;
}

.trial-box.critical #dailySlots{
  color: #ff6a00;
}

/* CTA boost when low */
.trial-box.low .cta{
  box-shadow: 0 22px 48px rgba(0,0,0,.58), 0 0 34px rgba(255,0,0,.62);
}

.trial-box.critical .cta{
  animation: ctaPulse 1.35s ease-in-out infinite;
  box-shadow: 0 26px 58px rgba(0,0,0,.62), 0 0 42px rgba(255,0,0,.72);
}

/* Small line under CTA */
.cta-sub{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

/* pulse animation */
@keyframes ctaPulse{
  0%{ transform: translateY(0) scale(1); filter: brightness(1); }
  50%{ transform: translateY(-1px) scale(1.035); filter: brightness(1.05); }
  100%{ transform: translateY(0) scale(1); filter: brightness(1); }
}

/* make benefits a bit tighter */
.benefits{
  margin-top: 14px;
}


/* ===== v7: NO solid red box, keep background visible, bigger trial title ===== */

/* Let the background show more */
:root{ --bg-overlay: rgba(0,0,0,.48); }
.overlay{ background: rgba(0,0,0,.48) !important; }

/* Subtle vignette but not too heavy */
.hero::before{
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 72%);
}

/* Glassy card (NOT solid) */
.trial-box{
  background: linear-gradient(180deg, rgba(255, 35, 35, .18) 0%, rgba(170, 0, 0, .10) 100%) !important;
  border: 1px solid rgba(255, 90, 90, .35) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px !important;
  box-shadow:
    0 20px 70px rgba(0,0,0,.55),
    0 0 42px rgba(255,0,0,.45),
    0 0 20px rgba(255,140,0,.22) !important;
}

/* Bigger "48 órás ingyenes teszt" line */
.trial-title{
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 900 !important;
  letter-spacing: .6px;
  margin-bottom: 14px !important;
}

/* Make the gift icon look aligned */
.trial-title{
  gap: 12px !important;
}

/* Counter number slightly smaller than solid version but bold */
#dailySlots{
  font-size: clamp(52px, 6vw, 78px) !important;
  color: #ffb000 !important;
  text-shadow: 0 0 18px rgba(255,170,0,.45), 0 10px 28px rgba(0,0,0,.55) !important;
}

/* CTA closer to reference: orange/red with softer glow */
.cta{
  background: linear-gradient(90deg, #ff8c00, #e10600) !important;
  border-radius: 16px !important;
  padding: 18px 46px !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.45), 0 0 18px rgba(255,70,0,.35) !important;
}
.cta:hover{
  box-shadow: 0 22px 44px rgba(0,0,0,.55), 0 0 28px rgba(255,0,0,.55) !important;
}

/* Keep the low/critical effect, but don't overdo */
.trial-box.low{
  box-shadow:
    0 22px 80px rgba(0,0,0,.6),
    0 0 55px rgba(255,0,0,.55),
    0 0 28px rgba(255,140,0,.28) !important;
}
.trial-box.critical .cta{
  animation: ctaPulse 1.35s ease-in-out infinite;
}

@media (max-width: 520px){
  .trial-box{ padding: 22px 16px 18px !important; }
}


/* ===== v8 FIX: allow clicks through overlay layers + optional fade-out ===== */
.overlay,
.hero::before{
  pointer-events: none !important;
}

/* (Optional) Smooth fade-out for redirect if enabled in JS */
body{
  opacity: 1;
  transition: opacity .35s ease;
}
body.fade-out{
  opacity: 0;
}


/* ===== v9: Fix CTA text/button overlap (anchor behaves like button) ===== */
.cta{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-decoration: none !important;
  white-space: nowrap !important;

  line-height: 1 !important;
  min-height: 56px;
  box-sizing: border-box !important;
}

.counter{
  margin-bottom: 22px !important;
}

.cta-sub{
  margin-top: 14px !important;
}

/* prevent any accidental negative margins/overlaps */
.trial-box *{
  position: relative;
}

.cta-wrap{ margin-top: 12px; }


/* ===== CTA premium effect (v10) ===== */
.cta{
  position: relative !important;
  overflow: hidden !important;

  /* base glow */
  box-shadow:
    0 18px 40px rgba(0,0,0,.55),
    0 0 18px rgba(255,120,0,.35) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

/* Shine sweep */
.cta::before{
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 55%;
  height: 140%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  transition: left .55s ease, opacity .25s ease;
  pointer-events: none;
}

.cta:hover{
  transform: translateY(-1px) scale(1.03) !important;
  filter: brightness(1.04) saturate(1.05) !important;
  box-shadow:
    0 24px 54px rgba(0,0,0,.65),
    0 0 28px rgba(255,0,0,.50),
    0 0 22px rgba(255,140,0,.35) !important;
}

.cta:hover::before{
  left: 120%;
  opacity: .95;
}

.cta:active{
  transform: translateY(0) scale(.99) !important;
  filter: brightness(.98) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.60),
    0 0 18px rgba(255,60,0,.35) !important;
}

/* subtle idle pulse (conversion boost) */
@media (prefers-reduced-motion: no-preference){
  .cta.pulse{
    animation: ctaPulseSoft 1.8s ease-in-out infinite;
  }
  @keyframes ctaPulseSoft{
    0%,100%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-1px) scale(1.02); }
  }
}
