*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:'Roboto',sans-serif;
}

:root{
  --sky:#46b9ff;
  --sky-dark:#0877d8;
  --deep:#004a9f;
  --light:#ddf5ff;
  --gold:#ffd400;
  --green:#12a452;
  --text:#073b75;
}

body{
  background:linear-gradient(180deg,#ccefff,#fff);
  color:var(--text);
}

.app{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  background:linear-gradient(180deg,#dff7ff 0%,#fff 58%,#eaf8ff 100%);
  overflow:hidden;
}

.hero-jun{
  min-height:100vh;
  padding:20px 14px 40px;
  position:relative;
}

.hero-jun:before{
  content:'';
  position:absolute;
  top:-90px;
  left:50%;
  transform:translateX(-50%);
  width:440px;
  height:440px;
  background:radial-gradient(circle,rgba(70,185,255,.35),transparent 67%);
  pointer-events:none;
}

.top-buttons{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  gap:16px;
  margin:25px 0 35px;
}

button{
  cursor:pointer;
  border:0;
}

.gold-btn,
.blue-btn,
.btn{
  width:180px;
  height:58px;
  font-size:18px;
  font-weight:900;
  border-radius:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,94,180,.18);
}

.gold-btn,
.btn.gold{
  background:linear-gradient(180deg,#fff176,var(--gold));
  color:#d60000;
}

.blue-btn{
  background:linear-gradient(180deg,#5ec5ff,var(--sky-dark));
  color:#fff;
}

.logo-only{
  position:relative;
  z-index:2;
  margin:10px 0 25px;
  text-align:center;
}

.logo-only .brand-logo{
  width:320px;
  max-width:95%;
  display:block;
  margin:0 auto;
  filter:none;
}

.quick-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:25px 0;
}

.quick-grid button{
  min-height:82px;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#e4f7ff);
  border:2px solid #9adcff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-size:24px;
  font-weight:700;
  color:var(--deep);
  cursor:default;
  box-shadow:0 8px 18px rgba(0,95,234,.12);
}

.quick-grid span{
  margin-top:8px;
  font-size:13px;
  color:var(--deep);
}

.intro-card{
  position:relative;
  z-index:2;
  border-radius:24px;
  background:#fff;
  padding:22px;
  margin-bottom:20px;
  border:2px solid #a6e2ff;
  box-shadow:0 12px 28px rgba(47,143,255,.14);
  text-align:center;
}

.intro-card h2{
  font-size:24px;
  color:var(--deep);
  font-weight:900;
  margin-bottom:10px;
}

.intro-card p{
  font-size:15px;
  line-height:1.7;
  color:#345;
}

.game-list{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.game-card{
  border-radius:22px;
  background:#fff;
  border:3px solid #72c8ff;
  overflow:hidden;
  cursor:default;
  box-shadow:0 10px 24px rgba(0,95,234,.15);
}

.game-card img{
  width:100%;
  height:130px;
  object-fit:cover;
  background:#e5f6ff;
}

.game-card h3{
  font-size:18px;
  color:var(--deep);
  padding:12px 12px 4px;
  font-weight:900;
}

.game-card p{
  font-size:13px;
  line-height:1.4;
  color:#456;
  padding:0 12px 14px;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,25,70,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99;
  padding:16px;
}

.modal.show{
  display:flex;
}

.modal-box{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:22px;
  padding:24px;
  position:relative;
  border:3px solid #72c8ff;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.close{
  position:absolute;
  right:12px;
  top:10px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#eaf7ff;
  color:#003B8E;
  font-size:24px;
}

.auth-form h2{
  text-align:center;
  color:var(--deep);
  margin-bottom:18px;
  font-size:24px;
}

.auth-form input{
  width:100%;
  height:54px;
  padding:0 18px;
  font-size:16px;
  border-radius:14px;
  border:2px solid #c8e9ff;
  margin-bottom:12px;
  outline:none;
  background:#fff;
  color:#111;
}

.auth-form input:focus{
  border-color:var(--sky);
}

.btn.gold.full{
  width:100%;
  height:58px;
  font-size:18px;
  font-weight:900;
}

.success-text{
  text-align:center;
  font-size:14px;
  margin-top:10px;
  color:#345;
}

.success-icon,
.error-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
  font-size:34px;
  font-weight:900;
}

.success-icon{
  background:#e8fff1;
  color:#0E8A3A;
}

.error-icon{
  background:#fff4e8;
  color:#F86A00;
}

.success-box h2,
.error-box h2{
  text-align:center;
  color:var(--deep);
}

@media(max-width:480px){
  .gold-btn,
  .blue-btn{
    width:48%;
    height:56px;
    font-size:17px;
  }

  .logo-only .brand-logo{
    width:280px;
  }
}