/* EuCrack creative 404 page - MCQ visual concept. */
.eu-404-page{
  position:relative;
  min-height:calc(100vh - 80px);
  overflow:hidden;
  background:#f6f8fc;
  color:#0f172a;
  font-family:'Bricolage Grotesque','DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

.eu-404-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(21,70,212,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(21,70,212,.018) 1px,transparent 1px),
    radial-gradient(circle at 88% 0%,rgba(14,165,233,.16),transparent 31%),
    radial-gradient(circle at 0% 50%,rgba(21,70,212,.09),transparent 32%),
    linear-gradient(180deg,#f8fafc 0%,#fff 50%,#f7faff 100%);
  background-size:32px 32px,32px 32px,auto,auto,auto;
}

.eu-404-orb{
  position:absolute;
  pointer-events:none;
  border-radius:999px;
  filter:blur(72px);
  opacity:.72;
}
.eu-404-orb.one{width:260px;height:260px;right:-110px;top:80px;background:rgba(56,189,248,.20);}
.eu-404-orb.two{width:300px;height:300px;left:-130px;bottom:80px;background:rgba(21,70,212,.11);}

.eu-404-shell{
  position:relative;
  width:min(100% - 28px,1120px);
  margin:0 auto;
  padding:42px 0 62px;
}

.eu-404-visual{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.eu-404-paper{
  position:absolute;
  display:none;
  border-radius:24px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(226,232,240,.88);
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  backdrop-filter:blur(14px);
  transform:rotate(-8deg);
}
.eu-404-paper span{
  display:inline-flex;
  color:#1546d4;
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.eu-404-paper p{margin:8px 0 12px;color:#03122b;font-weight:900;letter-spacing:-.03em;}
.eu-404-paper i{display:block;height:7px;border-radius:999px;background:#e2e8f0;margin-top:8px;}
.eu-404-paper i:nth-of-type(1){width:82%;}
.eu-404-paper i:nth-of-type(2){width:62%;}
.eu-404-paper i:nth-of-type(3){width:74%;}
.eu-404-paper.paper-one{top:58px;left:-26px;width:190px;padding:18px;animation:eu-404-float 7s ease-in-out infinite;}
.eu-404-paper.paper-two{right:-18px;bottom:70px;width:150px;padding:16px;transform:rotate(9deg);animation:eu-404-float 8s ease-in-out infinite reverse;}
.eu-404-paper.paper-two p{font-size:1.25rem;color:#1546d4;letter-spacing:.12em;}

.eu-404-hero-card{
  position:relative;
  z-index:1;
  display:grid;
  gap:18px;
  overflow:hidden;
  border-radius:34px;
  padding:22px;
  background:linear-gradient(135deg,#03122b 0%,#071b42 44%,#092e62 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 28px 80px rgba(3,18,43,.26);
}
.eu-404-hero-card:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  top:-160px;
  right:-150px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(56,189,248,.25),transparent 68%);
}
.eu-404-hero-card:after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  bottom:-150px;
  left:-130px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(21,70,212,.25),transparent 68%);
}

.eu-404-copy,.eu-404-mcq-card{position:relative;z-index:1;}
.eu-404-chip{
  display:inline-flex;
  width:max-content;
  border-radius:999px;
  padding:7px 11px;
  color:#dff4ff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-size:10.5px;
  line-height:1;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.eu-404-copy h1{
  margin:16px 0 0;
  color:#fff;
  font-size:clamp(5rem,25vw,10rem);
  line-height:.78;
  letter-spacing:-.085em;
  font-weight:950;
  text-shadow:0 20px 60px rgba(14,165,233,.22);
}
.eu-404-copy h2{
  margin:18px 0 0;
  color:#fff;
  font-size:clamp(1.65rem,7vw,3.2rem);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:950;
}
.eu-404-copy p{
  margin:14px 0 0;
  max-width:590px;
  color:rgba(226,232,240,.88);
  font-size:15px;
  line-height:1.72;
  font-weight:500;
}
.eu-404-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:20px;
}
.eu-404-primary,.eu-404-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  border-radius:18px;
  padding:13px 18px;
  font-size:14px;
  line-height:1;
  font-weight:950;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.eu-404-primary{
  color:#fff;
  background:linear-gradient(135deg,#1546d4 0%,#0284c7 100%);
  box-shadow:0 18px 38px rgba(14,165,233,.24);
}
.eu-404-secondary{
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
}
.eu-404-primary:active,.eu-404-secondary:active{transform:scale(.985);}

.eu-404-mcq-card{
  border-radius:28px;
  padding:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,255,.92));
  border:1px solid rgba(255,255,255,.74);
  box-shadow:0 24px 60px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.95);
}
.eu-404-mcq-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:14px;
  margin-bottom:12px;
  border-bottom:1px solid #e2e8f0;
}
.eu-404-mcq-head span{
  color:#03122b;
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.eu-404-mcq-head strong{
  flex:0 0 auto;
  border-radius:999px;
  padding:7px 10px;
  background:#eff6ff;
  color:#1546d4;
  font-size:11px;
  line-height:1;
  font-weight:950;
}
.eu-404-options{
  display:grid;
  gap:10px;
}
.eu-404-option-row{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 28px;
  align-items:center;
  gap:11px;
  border-radius:18px;
  padding:12px;
  background:#fff;
  border:1px solid #e2e8f0;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.eu-404-option-row:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#1546d4 0%,#0284c7 100%);
  opacity:0;
  transition:opacity .18s ease;
}
.eu-404-option-row:hover,.eu-404-option-row:active{
  transform:translateY(-1px);
  border-color:rgba(21,70,212,.35);
  box-shadow:0 16px 34px rgba(21,70,212,.14);
}
.eu-404-option-row:hover:before,.eu-404-option-row:active:before{opacity:1;}
.eu-404-option-letter,.eu-404-option-copy,.eu-404-option-arrow{position:relative;z-index:1;}
.eu-404-option-letter{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:14px;
  background:#eff6ff;
  color:#1546d4;
  font-size:13px;
  font-weight:950;
  transition:background .18s ease,color .18s ease;
}
.eu-404-option-copy{display:grid;gap:4px;min-width:0;}
.eu-404-option-copy strong{color:#03122b;font-size:14px;line-height:1.15;font-weight:950;transition:color .18s ease;}
.eu-404-option-copy small{color:#64748b;font-size:12.2px;line-height:1.3;font-weight:650;transition:color .18s ease;}
.eu-404-option-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#f1f5f9;
  color:#1546d4;
  font-size:15px;
  font-weight:950;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.eu-404-option-row:hover .eu-404-option-letter,
.eu-404-option-row:active .eu-404-option-letter{background:rgba(255,255,255,.18);color:#fff;}
.eu-404-option-row:hover .eu-404-option-copy strong,
.eu-404-option-row:active .eu-404-option-copy strong,
.eu-404-option-row:hover .eu-404-option-copy small,
.eu-404-option-row:active .eu-404-option-copy small{color:#fff;}
.eu-404-option-row:hover .eu-404-option-arrow,
.eu-404-option-row:active .eu-404-option-arrow{background:rgba(255,255,255,.18);color:#fff;transform:translateX(2px);}

@media (min-width:768px){
  .eu-404-shell{width:min(100% - 48px,1120px);padding:58px 0 82px;}
  .eu-404-paper{display:block;}
  .eu-404-hero-card{grid-template-columns:minmax(0,1fr) minmax(340px,.72fr);align-items:center;border-radius:40px;padding:44px;gap:34px;}
  .eu-404-copy p{font-size:16px;}
  .eu-404-actions{display:flex;align-items:center;}
  .eu-404-mcq-card{border-radius:32px;padding:22px;}
}

@media (max-width:420px){
  .eu-404-shell{width:min(100% - 24px,1120px);padding:28px 0 54px;}
  .eu-404-hero-card{border-radius:28px;padding:20px;}
  .eu-404-copy h1{font-size:5rem;}
  .eu-404-copy h2{font-size:1.6rem;}
  .eu-404-copy p{font-size:14.3px;line-height:1.68;}
  .eu-404-mcq-card{border-radius:24px;padding:14px;}
  .eu-404-option-row{grid-template-columns:34px minmax(0,1fr) 26px;gap:9px;border-radius:16px;padding:10px;}
  .eu-404-option-letter{width:34px;height:34px;border-radius:13px;}
  .eu-404-option-copy strong{font-size:13.4px;}
  .eu-404-option-copy small{font-size:11.5px;}
}

@media (prefers-reduced-motion:reduce){
  .eu-404-paper{animation:none!important;}
}

@keyframes eu-404-float{
  0%,100%{transform:translateY(0) rotate(-8deg);}
  50%{transform:translateY(-12px) rotate(-5deg);}
}
