* { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }

body {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px; font-weight: bold; color: #000;
  background: radial-gradient(circle, #1e3a8a 0%, #000000 100%); 
  overflow: hidden; position: relative;
  display: flex; justify-content: center;
}

img { display: inline-block; max-width: 100%; }

.steps-wrap {
  max-width: 500px; width: 100%; height: 100%;
  margin: 0 auto; position: relative;
  display: flex; flex-direction: column;
  background-color: #fff; box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.steps-wrap .step {
  height: 100%; display: none; flex-direction: column; overflow: hidden; position: relative;
}
.steps-wrap .step.active, .steps-wrap .step[style*="display: flex"] {
  display: flex !important;
}

.header { background: #003ff8; padding: 10px; z-index: 100; position: relative; text-align: center; }
.header .logo {
  color: #fff;
  font-size: 22px; font-weight: 600; text-transform: uppercase;
}

.steps-wrap .step .step-img .geo-wrap {
  position: absolute; top: 15px; right: 20px; left: 20px;
  display: flex; align-items: center; justify-content: space-between; z-index: 20;
}
.steps-wrap .step .step-img .geo-wrap .geo-inner {
  background-color: #fff; border-radius: 7px; padding: 5px 8px;
  display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.steps-wrap .step .step-img .geo-wrap .geo-inner .geo-text {
  font-size: 13px; font-weight: 500; color: #000; text-transform: uppercase; margin-right: 5px;
}
.steps-wrap .step .step-img .geo-wrap .geo-inner .geo-pin { max-width: 15px; }

.step .step-img { flex: 1; position: relative; background-size: cover; background-position: top center; }
.step .content-wrap {
  display: flex; flex-direction: column; min-height: 145px;
  padding: 30px 20px; background: #fff; z-index: 50;
}
.step-title { font-size: 26px; font-weight: bold; text-align: center; margin-bottom: 25px; line-height: 1.25; }

.step.final-step { background-color: #1777f0 !important; }
.binocular_wrap {
  position: absolute; left: 50%; bottom: 45vh; width: 100%; max-width: 500px;
  transform: translateX(-50%) scale(1.35); z-index: 10;
  animation: binoculAnim 2.6s ease forwards;
}
.binocular_wrap img { display: block; width: 100%; }

.binocular_wrap::before, .binocular_wrap::after {
  content: ''; position: absolute; left: -100px; right: -100px;
  background-color: #1777f0; height: 100vh;
}
.binocular_wrap::before { bottom: 98%; }
.binocular_wrap::after { top: 98%; }

@keyframes binoculAnim {
  0% { bottom: 45vh; }
  40% { bottom: 68vh; }
  70% { bottom: 28vh; }
  100% { bottom: 45vh; }
}

.steps-wrap .step.final-step .step-img .key-wrap {
  position: absolute; bottom: 280px; left: 50%; transform: translateX(-50%); 
  width: 90px; height: 90px; opacity: 0; z-index: 150;     
}
.steps-wrap .step.final-step .step-img .key-wrap.active { opacity: 1; transition: opacity 0.3s ease 1.1s; }

.final-title {
  position: absolute; top: 12vh; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 24px; text-transform: uppercase;
  opacity: 0; z-index: 20; transition: opacity 0.5s;
}
.step.final-step.done_load .final-title { opacity: 1; }

.step.final-step .content-wrap {
  position: absolute !important; 
  bottom: 20px !important; left: 15px !important; right: 15px !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  padding: 30px 20px; border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex; flex-direction: column;
}
.step.final-step.done_load .content-wrap { opacity: 1; transform: translateY(0); }

.btns-wrap, .btn-wrap { display: flex; gap: 12px; width: 100%; }
.btn {
  flex: 1; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 19px; text-decoration: none; border: none;
}

.overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(25px);
  display: flex; justify-content: center; align-items: center; z-index: 9999;
  transition: opacity 0.5s ease; 
  opacity: 1;
}

.verification-modal {
  width: 100%; max-width: 440px;
  display: flex; flex-direction: column; align-items: center; padding: 0 20px;
}

.age-circle {
  width: 150px; height: 150px; border: 5px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 55px; margin-bottom: 40px;
  animation: pulse 2s infinite ease-in-out;
}

.overlay .buttons { display: flex !important; gap: 12px !important; width: 100% !important; }
.overlay .buttons button {
  flex: 1 1 0% !important; width: 100% !important; height: 56px !important; 
  border-radius: 16px !important; display: flex !important; 
  align-items: center !important; justify-content: center !important;
  font-weight: bold !important; font-size: 32px !important; border: none !important;
}

.btn-1, #age-confirm { 
  background: linear-gradient(135deg, #003ff8 0%, #002db3 100%); color: #fff;
  box-shadow: 0 4px 15px rgba(0, 63, 248, 0.3);
}
.btn-2, #age-deny { background: #f0f2f5; color: #5f6368; }

.btn:active, .buttons button:active { transform: scale(0.96); }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (max-height: 869px) {
  @keyframes binoculAnim {
    0% { bottom: 45vh; }
    40% { bottom: 60vh; }
    70% { bottom: 25vh; }
    100% { bottom: 40vh; }
  }
}