/* ==========================================================================
   ENTRY POPUP — "Welcome to Canada Corporate World Cup"
   Matches the supplied reference: near-black stadium backdrop, ember-red
   glow, gold trophy/wreath mark, dual brand cards (ELEVEN11 / T20).
   ========================================================================== */

:root{
  --ep-black:#0B0808;
  --ep-black-2:#1A0B0A;
  --ep-red:#6E0D0D;
  --ep-red-deep:#4A0808;
  --ep-red-glow:rgba(140,16,16,.55);
  --ep-gold:#D4AF37;
  --ep-gold-soft:#E8CD7A;
  --ep-white:#FFFFFF;
  --ep-line:rgba(255,255,255,.14);
}

.entry-popup-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:
    radial-gradient(circle at 10% 15%, rgba(110,13,13,.35), transparent 40%),
    radial-gradient(circle at 92% 85%, rgba(110,13,13,.3), transparent 42%),
    rgba(4,2,2,.9);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
}
.entry-popup-overlay.is-open{ opacity:1; visibility:visible; }
body.entry-popup-lock{ overflow:hidden; }

.entry-popup-card{
  position:relative;
  width:100%;
  max-width:560px;
  max-height:92vh;
  overflow-y:auto;
  border-radius:26px;
  padding:44px 40px 34px;
  text-align:center;
  background:
    radial-gradient(ellipse 420px 260px at 0% 0%, rgba(110,13,13,.35), transparent 60%),
    radial-gradient(ellipse 420px 260px at 100% 100%, rgba(110,13,13,.3), transparent 60%),
    linear-gradient(180deg, #120807 0%, #0B0808 100%);
  border:1px solid rgba(110,13,13,.35);
  box-shadow:
    0 0 0 1px rgba(110,13,13,.12),
    0 0 60px rgba(110,13,13,.25),
    0 40px 90px rgba(0,0,0,.65);
  transform:translateY(24px) scale(.96);
  transition:transform .4s cubic-bezier(.2,.9,.25,1);
}
.entry-popup-overlay.is-open .entry-popup-card{ transform:translateY(0) scale(1); }

.entry-popup-close{
  position:absolute;
  top:18px;
  right:18px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid var(--ep-line);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .2s ease;
  z-index:2;
}
.entry-popup-close:hover{
  background:var(--ep-red);
  border-color:var(--ep-red);
  transform:rotate(90deg);
}

/* ---- trophy mark ---- */
.entry-popup-trophy{ width:64px; height:64px; margin:0 auto 14px; display:block; }

/* ---- headline ---- */
.entry-popup-eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:0 0 6px;
  color:var(--ep-gold-soft);
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:13px;
  letter-spacing:.32em;
  text-transform:uppercase;
}
.entry-popup-eyebrow::before,
.entry-popup-eyebrow::after{
  content:"";
  width:34px;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--ep-gold));
}
.entry-popup-eyebrow::after{ background:linear-gradient(90deg, var(--ep-gold), transparent); }

.entry-popup-title-main{
  margin:0;
  font-family:'Anton','Bebas Neue',sans-serif;
  font-size:clamp(38px, 8vw, 56px);
  line-height:1.02;
  letter-spacing:.02em;
  color:#fff;
  text-shadow:0 4px 24px rgba(0,0,0,.6);
}
.entry-popup-title-sub{
  margin:2px 0 14px;
  font-family:'Anton','Bebas Neue',sans-serif;
  font-size:clamp(24px, 5.4vw, 38px);
  line-height:1.05;
  letter-spacing:.01em;
  color:var(--ep-red);
  text-shadow:0 0 30px rgba(110,13,13,.5);
}

.entry-popup-leafrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:0 0 28px;
}
.entry-popup-leafrow::before,
.entry-popup-leafrow::after{
  content:"";
  width:70px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(223,161,32,.55));
}
.entry-popup-leafrow::after{ background:linear-gradient(90deg, rgba(223,161,32,.55), transparent); }
.entry-popup-leaf{ width:18px; height:18px; flex:0 0 auto; }

/* ---- brand cards ---- */
.entry-popup-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:22px;
}
.entry-popup-brandcard{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:22px 14px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--ep-line);
  text-decoration:none;
  cursor:pointer;
  transition:all .25s ease;
}
.entry-popup-brandcard.is-red{ border-color:rgba(110,13,13,.55); box-shadow:0 0 24px rgba(110,13,13,.18) inset, 0 0 20px rgba(110,13,13,.12); }
.entry-popup-brandcard.is-gold{ border-color:rgba(223,161,32,.55); box-shadow:0 0 24px rgba(223,161,32,.16) inset, 0 0 20px rgba(223,161,32,.1); }
.entry-popup-brandcard:hover{ transform:translateY(-4px); background:rgba(255,255,255,.06); }
.entry-popup-brandcard.is-red:hover{ box-shadow:0 0 30px rgba(110,13,13,.4) inset, 0 12px 28px rgba(110,13,13,.25); }
.entry-popup-brandcard.is-gold:hover{ box-shadow:0 0 30px rgba(223,161,32,.35) inset, 0 12px 28px rgba(223,161,32,.2); }

.entry-popup-brandlogo{
  width:88px;
  height:88px;
  object-fit:contain;
  margin-bottom:6px;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.45));
}

.entry-popup-brandcard h3{
  margin:2px 0 0;
  font-family:'Anton','Bebas Neue',sans-serif;
  letter-spacing:.03em;
  font-size:22px;
  color:#fff;
}
.entry-popup-brandcard .ep-underline{
  width:34px;
  height:2px;
  margin:4px 0 8px;
  border-radius:2px;
}
.entry-popup-brandcard.is-red .ep-underline{ background:var(--ep-red); }
.entry-popup-brandcard.is-gold .ep-underline{ background:var(--ep-gold); }

.entry-popup-brandcard p{
  margin:0 0 12px;
  font-family:'Inter',sans-serif;
  font-size:13.5px;
  line-height:1.4;
  color:rgba(255,255,255,.72);
}

.entry-popup-brandarrow{
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid currentColor;
  font-size:16px;
  transition:all .25s ease;
}
.entry-popup-brandcard.is-red .entry-popup-brandarrow{ color:var(--ep-red); }
.entry-popup-brandcard.is-gold .entry-popup-brandarrow{ color:var(--ep-gold); }
.entry-popup-brandcard:hover .entry-popup-brandarrow{
  background:currentColor;
  color:#0B0808 !important;
}

/* ---- continue ---- */
.entry-popup-continue{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  border:none;
  border-radius:999px;
  padding:16px 24px;
  margin-bottom:28px;
  background:linear-gradient(135deg, var(--ep-red), var(--ep-red-deep));
  color:#fff;
  font-family:'Inter',sans-serif;
  font-weight:800;
  font-size:15px;
  letter-spacing:.04em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(110,13,13,.4);
  transition:transform .2s ease, box-shadow .2s ease;
}
.entry-popup-continue:hover{ transform:translateY(-2px); box-shadow:0 18px 40px rgba(110,13,13,.5); }
.entry-popup-continue .ep-arrow{ font-size:17px; transition:transform .2s ease; }
.entry-popup-continue:hover .ep-arrow{ transform:translateX(4px); }

.entry-popup-tagline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--ep-line);
  background:rgba(255,255,255,.02);
  color:rgba(255,255,255,.75);
  font-family:'Inter',sans-serif;
  font-size:12.5px;
  font-weight:500;
}
.entry-popup-tagline svg{ width:15px; height:15px; flex:0 0 auto; color:var(--ep-gold); }

@media (max-width:540px){
  .entry-popup-card{ padding:34px 20px 26px; }
  .entry-popup-options{ grid-template-columns:1fr; }
  .entry-popup-brandlogo{ width:64px; height:64px; }
}
