/* ==========================================================================
   PIKKA — Desktop pre-register page
   ========================================================================== */

/* ---------- fonts -------------------------------------------------------- */
@font-face{
  font-family:"Ethnocentric";
  src:url("../assets/fonts/Ethnocentric-Rg-It.otf") format("opentype");
  font-weight:400;font-style:italic;font-display:swap;
}
@font-face{
  font-family:"MADE TOMMY";
  src:url("../assets/fonts/MADE-TOMMY-Regular.otf") format("opentype");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"MADE TOMMY";
  src:url("../assets/fonts/MADE-TOMMY-Medium.otf") format("opentype");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"MADE TOMMY";
  src:url("../assets/fonts/MADE-TOMMY-Bold.otf") format("opentype");
  font-weight:700;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"MADE TOMMY";
  src:url("../assets/fonts/MADE-TOMMY-ExtraBold.otf") format("opentype");
  font-weight:800;font-style:normal;font-display:swap;
}

:root{
  --yellow:        #FFC414;
  --yellow-deep:   #FDB913;
  --yellow-pale:   #FFE07A;
  --cream:         #FBF3DF;
  --cream-2:       #FDF8EA;
  --teal:          #3EC8DA;
  --teal-deep:     #2FB4C6;
  --orange:        #F9812A;
  --ink:           #121212;
  --field:         #FFFFFF;
  --field-mute:    #F3F3F3;
  --label:         #1A1A1A;
  --star-orange:   #F9812A;
  --radius:        10px;
  --shell:         470px;
  --font-display:  "Ethnocentric","Archivo Black",sans-serif;
  --font-body:     "MADE TOMMY","Poppins","Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  text-wrap:pretty;
}

a{color:var(--teal-deep);text-decoration:none}
a:hover{color:var(--orange)}

img{display:block;max-width:100%}

/* ---------- display type ------------------------------------------------- */
.display{
  font-family:var(--font-display);
  font-weight:400;
  font-style:italic;
  letter-spacing:.01em;
  text-transform:uppercase;
  margin:0;
}

/* ---------- mini bolt glyph (section heading) ---------------------------- */
.mini-bolt{display:block;width:34px;height:auto;flex:0 0 auto}
.mini-bolt--left{transform:rotate(50deg)}
.mini-bolt--right{transform:scaleX(-1) rotate(50deg)}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  /* box matches the artwork's own 2000x1260 ratio, so the stretched
     background is never distorted (grows only if content needs more room) */
  aspect-ratio:2000 / 1260;
  position:relative;
  overflow:hidden;
  padding:92px 24px 210px;
  background:var(--yellow) url("../assets/bg-hero.png") center bottom / 100% 100% no-repeat;
  text-align:center;
}

.hero__inner{position:relative;z-index:2;max-width:1180px;margin:0 auto}

.logo{width:min(520px,58vw);max-width:520px;height:auto;aspect-ratio:594 / 250;margin:0 auto}

/* ---------- floating hero props ------------------------------------------ */
.float{
  position:absolute;
  z-index:1;
  height:auto;
  pointer-events:none;
  user-select:none;
}
.float--card{
  left:5.5%;
  top:24%;
  width:min(250px,17vw);
}
.float--pack{
  right:8%;
  top:42%;
  width:min(285px,19.5vw);
  aspect-ratio:1066 / 1211;
}
.float__img{
  display:block;
  width:100%;
  height:auto;
  animation:floatY 5s ease-in-out infinite;
}
.float--pack .float__img{
  /* half-cycle offset: moves opposite to the card, same 5s loop */
  animation:floatY 5s ease-in-out -2.5s infinite;
}
@keyframes floatY{
  0%,100%{transform:translateY(-12px)}
  50%    {transform:translateY(14px)}
}
.float--intro{animation:popIn .62s cubic-bezier(.2,1.35,.4,1) both}
.float--card.float--intro{animation-delay:2.2s}
.float--pack.float--intro{animation-delay:2.36s}
@media (prefers-reduced-motion:reduce){
  .float__img{animation:none}
  .float--intro{animation:none}
}

.hero__props{display:none}

/* ---------- intro animation ---------------------------------------------- */
@keyframes logoIntro{
  0%   {opacity:0;transform:translateY(var(--rise)) scale(.35)}
  22%  {opacity:1;transform:translateY(var(--rise)) scale(1.08)}
  32%  {transform:translateY(var(--rise)) scale(.97)}
  40%  {transform:translateY(var(--rise)) scale(1)}
  58%  {transform:translateY(var(--rise)) scale(1)}
  100% {transform:translateY(0) scale(1)}
}
@keyframes offerPulse{
  0%,100% {transform:scale(1)}
  8%      {transform:scale(1.09)}
  17%     {transform:scale(1)}
  25%     {transform:scale(1.09)}
  34%     {transform:scale(1)}
}
@keyframes popIn{
  0%   {opacity:0;transform:scale(.4)}
  65%  {opacity:1;transform:scale(1.07)}
  85%  {transform:scale(.98)}
  100% {opacity:1;transform:scale(1)}
}

.hero__inner{--rise:calc(50vh - 235px)}

.logo{
  animation:logoIntro 2.15s cubic-bezier(.22,1.2,.36,1) both;
  will-change:transform;
}
.kicker,
.hero__cta{animation:popIn .62s cubic-bezier(.2,1.35,.4,1) both}
.kicker   {animation-delay:1.72s}
.hero__cta{animation-delay:2.04s}
.offer{
  animation:
    popIn .62s cubic-bezier(.2,1.35,.4,1) 1.88s both,
    offerPulse 3s ease-in-out 2.6s infinite;
}

@media (prefers-reduced-motion:reduce){
  .logo,.kicker,.offer,.hero__cta{animation:none}
}

.kicker{
  margin:88px auto 6px;
  font-size:34px;
  line-height:1.1;
  color:var(--ink);
  -webkit-text-stroke:4px #fff;
  paint-order:stroke fill;
  /* second, outer 3px white stroke */
  text-shadow:5.00px 0.00px 0 #ffffff,4.83px 1.29px 0 #ffffff,4.33px 2.50px 0 #ffffff,3.54px 3.54px 0 #ffffff,2.50px 4.33px 0 #ffffff,1.29px 4.83px 0 #ffffff,0.00px 5.00px 0 #ffffff,-1.29px 4.83px 0 #ffffff,-2.50px 4.33px 0 #ffffff,-3.54px 3.54px 0 #ffffff,-4.33px 2.50px 0 #ffffff,-4.83px 1.29px 0 #ffffff,-5.00px 0.00px 0 #ffffff,-4.83px -1.29px 0 #ffffff,-4.33px -2.50px 0 #ffffff,-3.54px -3.54px 0 #ffffff,-2.50px -4.33px 0 #ffffff,-1.29px -4.83px 0 #ffffff,-0.00px -5.00px 0 #ffffff,1.29px -4.83px 0 #ffffff,2.50px -4.33px 0 #ffffff,3.54px -3.54px 0 #ffffff,4.33px -2.50px 0 #ffffff,4.83px -1.29px 0 #ffffff;
}

/* 100 FREE CREDIT ---------------------------------------------------------- */
.offer{
  width:100%;
  max-width:610px;
  height:auto;
  aspect-ratio:4722 / 1129;
  margin:22px auto 0;
}

/* CTA --------------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  cursor:pointer;
  font-family:inherit;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn--ink{
  border-radius:var(--radius);
  background:var(--ink);
  color:#fff;
  font-weight:500;
  font-size:15px;
  padding:20px 46px;
  min-width:230px;
}
.btn--ink:hover{transform:translateY(-2px)}
.btn--ink:active{transform:translateY(1px)}

.hero__cta{margin-top:66px;transform-origin:center top}

/* ==========================================================================
   REGISTER
   ========================================================================== */
.register{
  position:relative;
  overflow:hidden;
  background:var(--cream-2) url("../assets/bg-register.png") center top / 100% 100% no-repeat;
  padding:96px 24px 130px;
}
.register__inner{position:relative;z-index:2;width:100%;max-width:var(--shell);margin:0 auto}

.section-head{text-align:center;margin-bottom:56px}
.section-head__title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  font-size:32px;
  line-height:1;
}

.section-head__sub{
  margin:14px 0 0;
  font-size:16px;
  font-weight:400;
  letter-spacing:0;
  text-transform:uppercase;
}

/* form ------------------------------------------------------------------- */
.field{margin-bottom:30px}
.field:last-of-type{margin-bottom:0}

.field__label{
  display:block;
  margin-bottom:11px;
  font-size:18px;
  font-weight:400;
  letter-spacing:0;
  text-transform:uppercase;
  color:var(--label);
}
.req{color:#E8452B}

.input{
  width:100%;
  height:52px;
  padding:0 20px;
  border:1.5px solid transparent;
  border-radius:var(--radius);
  background:var(--field);
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  box-shadow:0 2px 6px rgba(0,0,0,.04);
  transition:border-color .16s ease, box-shadow .16s ease;
}
.input::placeholder{color:#BDBDBD}
.input:focus{
  outline:0;
  border-color:var(--teal);
  box-shadow:0 0 0 4px rgba(62,200,218,.18);
}
.input.is-error{border-color:#E8452B;box-shadow:0 0 0 4px rgba(232,69,43,.14)}

.datepicker{position:relative}
.input--date{
  display:block;
  color-scheme:light;
  min-width:0;
  color:#BDBDBD;
}
.input--date.is-filled,
.input--date:focus{
  color:var(--ink);
}
.input--date::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:.55;
  width:20px;
  height:20px;
}

.phone-row{display:flex;gap:12px}
.phone-row .prefix{
  width:78px;
  flex:0 0 78px;
  background:#FFFFFF;
  color:#8A8A8A;
  text-align:center;
  padding:0;
}
.phone-row .input[name="phone"]{flex:1 1 auto;min-width:0}
.btn--otp{
  flex:0 0 auto;
  height:52px;
  padding:0 22px;
  border-radius:var(--radius);
  background:var(--teal);
  color:#fff;
  font-weight:400;
  font-size:12px;
}
.btn--otp:hover:not(:disabled){background:var(--teal-deep)}
.btn--otp:disabled{background:#CFE9ED;color:#fff;cursor:not-allowed}

.otp-row{display:flex;justify-content:space-between;gap:12px}
.otp-row .otp{
  flex:1 1 0;
  min-width:0;
  width:auto;
  aspect-ratio:1/1;
  height:auto;
  padding:0;
  text-align:center;
  font-size:20px;
  font-weight:500;
  letter-spacing:0;
}
.otp-hint{
  margin:16px 0 0;
  font-size:14px;
  font-weight:400;
  color:#2B2B2B;
}
.otp-hint a{font-weight:500}
.otp-hint a.is-waiting{color:#9C9C9C;pointer-events:none}
.otp-hint .muted{color:#9C9C9C;font-weight:600}

.form-foot{margin-top:58px;text-align:center}
.form-foot .btn--ink{min-width:230px}

.form-note{
  margin:18px 0 0;
  font-size:12px;
  color:#8C8C8C;
  min-height:18px;
}
.form-note.is-ok{color:#1FA97F;font-weight:600}
.form-note.is-error{color:#E8452B;font-weight:600}

/* toast ------------------------------------------------------------------ */
.toast{
  position:fixed;
  left:50%;bottom:38px;
  transform:translate(-50%,140%);
  z-index:50;
  width:calc(100% - 48px);
  max-width:var(--shell);
  box-sizing:border-box;
  text-align:center;
  background:#ff8a00;
  opacity:0;
  visibility:hidden;
  color:#fff;
  padding:15px 26px;
  border-radius:8px;
  font-size:14px;
  font-weight:500;
  transition:transform .32s cubic-bezier(.2,.8,.3,1), opacity .2s ease;
}
.toast.is-visible{transform:translate(-50%,0);opacity:1;visibility:visible}

/* success modal ------------------------------------------------------------ */
.modal-overlay{
  position:fixed;inset:0;z-index:100;
  display:flex;align-items:center;justify-content:center;
  background:rgba(20,16,4,.45);
  opacity:0;visibility:hidden;
  transition:opacity .22s ease;
  padding:24px;
}
.modal-overlay.is-visible{opacity:1;visibility:visible}
.modal{
  background:url("../assets/modal-success.png") center top / 100% 100% no-repeat;
  border-radius:24px;
  width:500px;
  height:560px;
  padding:290px 52px 28px;
  box-sizing:border-box;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  transform:scale(.85);
  transition:transform .3s cubic-bezier(.2,1.4,.4,1);
}
.modal-overlay.is-visible .modal{transform:scale(1)}
.modal__title-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.modal__body{
  font-size:18px;
  line-height:1.5;
  color:#666;
  margin:48px 0 28px;
}
.modal__ok{width:100%}
body.modal-open{overflow:hidden}

/* ---------- a11y / crawlable helpers ------------------------------------- */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;border:0;
}
.skip-link{
  position:absolute;left:16px;top:-56px;z-index:200;
  background:var(--ink);color:#fff;
  padding:10px 16px;border-radius:8px;
  font-weight:600;
}
.skip-link:focus{top:16px;color:#fff}

/* ==========================================================================
   Responsive (desktop-first, graceful down to laptop / tablet)
   ========================================================================== */
@media (max-width:1180px){
  .kicker{font-size:28px}
  .offer{max-width:520px}
}
@media (max-width:820px){
  .hero{padding:64px 20px 150px}
  .logo{width:76vw}
  .kicker{margin-top:60px;font-size:20px}
  .offer{max-width:78vw}
  .hero__cta{margin-top:44px}
  .register{padding:70px 20px 96px}
  .section-head__title{font-size:24px}
  .otp-row{gap:8px}
  .form-foot .btn--ink{min-width:100%}
}
@media (max-width:520px){
  .phone-row{flex-wrap:wrap}
  .btn--otp{flex:1 1 100%}
}
