body{
  margin:0;
  font-family:sans-serif;

  background:
  linear-gradient(
    135deg,
    #120018,
    #2a003f,
    #000000
  );

  min-height:100vh;
}

/* เมนู */
nav{
  display:flex;
  justify-content:space-between;
  align-items:center;

  position:sticky;
  top:0;

  padding:40px 50px;

  background:rgba(255,255,255,0.1);

  backdrop-filter:blur(10px);

  border-bottom:1px solid rgba(255,255,255,0.2);

  box-shadow:
  0 0 30px rgba(0,0,0,0.5);

  z-index:999;
}

/* โลโก้ */
.logo img{
  width:180px;
  height:auto;

  display:block;

  cursor:pointer;

  transition:0.3s;

  filter:
  drop-shadow(0 0 10px #ff00ff);
}

.logo img:hover{
  transform:scale(1.05);
}

/* เมนู */
ul{
  display:flex;
  gap:30px;
  list-style:none;
}

li{
  color:white;

  cursor:pointer;

  transition:0.3s;

}

li:hover{
  color:orange;

  text-shadow:
    0 0 10px orange,
    0 0 30px orange;
}

/* banner */
.banner{
  width:80%;
  margin:50px auto;

  position:relative;

  background:rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.1);

  border-radius:20px;

  overflow:hidden;
}

/* รูป */
.banner-img{
  width:100%;
  height:500px;

  object-fit:cover;
}

/* ตัวหนังสือ */
.banner-text{
  position:absolute;

  top:45%;
  left:50%;

  transform:translate(-50%,-50%);

  text-align:center;

  color:white;

  width:100%;
}

.banner-text h1{
  font-size:60px;

  margin-bottom:10px;

  text-shadow:
    0 0 20px black;
}

.banner-text p{
  font-size:24px;

  text-shadow:
    0 0 10px black;

    margin-bottom:30px;
}

/* ปุ่ม */
button{
  padding:22px 55px;

  border:none;
  border-radius:30px;

  background:orange;
  color:white;

  font-size:30px;
  font-weight:bold;

  cursor:pointer;

  box-shadow:
    0 0 10px orange,
    0 0 30px orange;

  transition:0.3s;
}

button:hover{
  transform:scale(1.1);

  box-shadow:
    0 0 20px orange,
    0 0 60px orange;
}

/* ปุ่มเข้าสู่ระบบ */

.login-btn{
   background:
  linear-gradient(
    180deg,
    #d946ff,
    #7b00ff
  ) !important;

  color:white;

  border:
    3px solid #ff8cff;

  box-shadow:
    0 0 15px #7b00ff,
    0 0 35px #b700ff,
    inset 0 3px 10px rgba(255,255,255,0.3);
  
}

/* ปุ่มสมัครสมาชิก */

.register-btn{
   background:
  linear-gradient(
    180deg,
    #22ffbb,
    #00ff88
  ) !important;

  color:black;

  border:
    3px solid #9dffe0;

  box-shadow:
    0 0 15px #00ff88,
    0 0 35px #00ffcc,
    inset 0 3px 10px rgba(255,255,255,0.4);
}
.hero{
  height:980px;
}

/* รูป */

.hero-image{
  width:100%;
  height:100%;

  object-fit:cover;

  filter:brightness(0.6);
}

/* overlay */

.overlay{
  position:absolute;

  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.2)
  );
}

/* content */

.hero-content{
  position:absolute;

  top:85%;
  left:50%;

  transform:translate(-50%,-50%);

  text-align:center;

  color:white;

  width:100%;

  z-index:5;

  animation:fadeUp 1s ease;

    padding-top:80px;
}

/* หัวข้อ */

.hero-content h1{
  font-size:90px;

  margin-bottom:10px;

  text-shadow:
    0 0 20px #ff00ff,
    0 0 50px #ff00ff,
    0 0 80px purple;

  animation:glow 2s infinite alternate;
}

/* ข้อความ */

.hero-content p{
  font-size:42px;

  margin-bottom:45px;

  font-weight:bold;

  text-shadow:
    0 0 20px #ffffff;
}

/* ปุ่ม */

.hero-buttons{
  display:flex;

  justify-content:center;

  gap:20px;
}

/* glow */

@keyframes glow{

  from{
    text-shadow:
      0 0 10px #ff00ff,
      0 0 30px #ff00ff;
  }

  to{
    text-shadow:
      0 0 20px #ff00ff,
      0 0 60px #ff00ff,
      0 0 100px purple;
  }

}

/* hover ปุ่ม */

.login-btn:hover,
.register-btn:hover{

  transform:
    translateY(-5px) scale(1.07);

  filter:brightness(1.1);

}

/* animation เปิดเว็บ */

.hero-content{
  animation:fadeUp 1s ease;
}

@keyframes fadeUp{

  from{
    opacity:0;

    transform:
      translate(-50%, -30%);
  }

  to{
    opacity:1;

    transform:
      translate(-50%, -50%);
  }

}
body{
  background-size:400% 400%;

  animation:bgMove 12s ease infinite;
}

@keyframes bgMove{

  0%{
    background-position:left;
  }

  50%{
    background-position:right;
  }

  100%{
    background-position:left;
  }

}
nav:hover{

  background:
    rgba(255,255,255,0.15);

}
.hero-image{
  transition:0.6s;
}

.hero:hover .hero-image{

  transform:scale(1.05);

}
.content{

  width: 100%;

  margin:30px auto 80px;

  padding-top:80px;

  color:white;

  line-height:1.9;
}

.content h2{

  font-size:40px;

  margin-bottom:25px;

  color:#ff00ff;

  text-align:center;
}

.content p{

  font-size:18px;

  color:white;

  text-shadow:
    0 0 10px rgba(255,255,255,0.3);

  margin-bottom:20px;

  text-align:center;
}
.feature-box{
  width:70%;

  margin:25px auto;

  display:grid;

  grid-template-columns:
  repeat(4,1fr);

  gap:20px;
}

/* กล่อง */

.feature-item{

  border:5px solid #ff2d55;

  border-radius:140px;

  overflow:hidden;

  box-shadow:
    0 0 20px #ff2d55;

  background:black;

  height: 320px;

  display:flex;

  align-items:center;

  justify-content:center;

   transition:0.4s;

    animation:
    float 3s ease-in-out infinite;
}

@keyframes float{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-8px);
  }

  100%{
    transform:translateY(0px);
  }
}

.feature-item:hover{

  transform:
    translateY(-10px) scale(1.05);

  box-shadow:
    0 0 35px #ff2d55;
}

/* รูป */

.feature-item img{

  width:100%;
  height:100%;

  object-fit:cover;

  object-position:center;

  display:block;

  transition:0.5s;
  
}

.feature-item:hover img{

  transform:scale(1.1);
}
.top-banner{

  width:75%;

  margin:0 auto 25px;

  border-radius:25px;

  overflow:visible;

  border:5px solid #ff2d55;

  box-shadow:
    0 0 30px #ff2d55;

    box-shadow:
    0 0 20px #ff2d55,
    0 0 60px rgba(255,0,100,0.5);
    position:relative;
}

.top-banner::after{
  content:"";

  position:absolute;

  right:-40px;
  top:20px;

  width:220px;
  height:220px;

  background:url('astronaut.png') no-repeat center/contain;

  z-index:5;
}

.top-banner img{

  width:100%;

  height:470px;

  object-fit:cover;

  display:block;
  position:relative;
  z-index:2;
}
.menu-register{

  padding:16px 38px;

  border-radius:40px;

  background:
  linear-gradient(
    180deg,
    #22ffbb,
    #00ff88
  );

  color:black;

  font-size:26px;

  font-weight:bold;

  border:
    2px solid #9dffe0;

  box-shadow:
    0 0 15px #00ff88,
    0 0 35px rgba(0,255,170,0.8),
    inset 0 3px 10px rgba(255,255,255,0.4);

  transition:0.3s;

  cursor:pointer;
}

.menu-register:hover{

  transform:
    translateY(-4px) scale(1.05);

  box-shadow:
    0 0 25px #00ff88,
    0 0 60px rgba(0,255,170,1);

  filter:brightness(1.1);
}
.promo-grid{
  width:95%;
  margin:80px auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:35px;
  align-items:stretch;
}

.promo-card{
  position:relative;
  min-height:520px;
    height:100%;
  padding:45px;
  border-radius:30px;
  overflow:hidden;
  color:white;
  background:rgba(0,0,0,0.45);
  
}

.pink-card{
  border:3px solid #ff00ff;
  box-shadow:
    0 0 25px #ff00ff,
    inset 0 0 40px rgba(255,0,255,0.25);
}

.green-card{
  border:3px solid #00ff99;
  box-shadow:
    0 0 25px #00ff99,
    inset 0 0 40px rgba(0,255,153,0.25);
}

.promo-text{
  position:relative;
  z-index:2;
  width:100%;
}

.promo-text h2{
  font-size:48px;
  margin-bottom:5px;
}

.pink-card h2{
  color:#ff00ff;
  text-shadow:0 0 20px #ff00ff;
}

.green-card h2{
  color:#00ff99;
  text-shadow:0 0 20px #00ff99;
}

.promo-text h3{
  font-size:28px;
  margin-bottom:35px;
}

.promo-text p{
  font-size:20px;
  line-height:1.8;
  margin-bottom:35px;
}

.promo-img{
  position:absolute;
  right:0;
  bottom:0;
  width:55%;
  max-height:90%;
  object-fit:contain;
  z-index:1;
}

.mini-boxes{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-bottom:35px;
}

.mini-boxes div{
  padding:18px 10px;
  border:2px solid #ff00ff;
  border-radius:15px;
  text-align:center;
  font-size:18px;
  font-weight:bold;
  background:rgba(0,0,0,0.35);
  box-shadow:0 0 15px rgba(255,0,255,0.4);
}

.green-mini div{
  border-color:#00ff99;
  box-shadow:0 0 15px rgba(0,255,153,0.4);
}

.pink-btn,
.green-btn{
  display:block;
  margin:0 auto;
  padding:18px 60px;
  border-radius:40px;
  font-size:28px;
}

.pink-btn{
  background:linear-gradient(180deg,#ff4df0,#b100ff);
  border:3px solid #ff9df8;
  color:white;
}

.green-btn{
  background:linear-gradient(180deg,#22ffbb,#00ff88);
  border:3px solid #9dffe0;
  color:black;
}
.center-text{

  width:100%;

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:center;

  margin:120px auto;

  color:white;
}

.center-text h2{

  width:100%;

  text-align:center;

  font-size:70px;

  color:#00eaff;

  text-shadow:
    0 0 15px #00eaff,
    0 0 40px rgba(0,234,255,0.8);

  margin-bottom:40px;
}

.center-text p{

  width:80%;

  text-align:center;

  margin:0 auto 40px;

  font-size:26px;

  line-height:2;

  color:white;
}
.info-section,
.bank-section,
.provider-section{
  width:90%;
  margin:100px auto;
  text-align:center;
  color:white;
}

.info-section h2,
.bank-section h2,
.provider-section h2{
  font-size:55px;
  color:#00ff99;
  margin-bottom:15px;
  text-shadow:
    0 0 15px #00ff99,
    0 0 40px rgba(0,255,153,0.8),
    0 0 80px rgba(0,255,153,0.5);
}

.info-section p,
.bank-section p,
.provider-section p{
  font-size:27px;
  margin-bottom:45px;
  color:#f1f1f1;
}

.info-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.info-card{
  padding:35px;
  border-radius:25px;
  border:2px solid #ff00ff;
  background:rgba(0,0,0,0.35);
  box-shadow:
    0 0 20px rgba(255,0,255,0.4);
}

.info-card h3{
  font-size:28px;
  color:#ff4df0;
  margin-bottom:15px;
}

.info-card p{
  font-size:18px;
  line-height:1.8;
  margin-bottom:0;
}

.bank-img{
  width:85%;
  max-width:1200px;
  display:block;
  margin:0 auto;
}

.provider-img{
  width:85%;
  max-width:1300px;
  display:block;
  margin:0 auto;

  border-radius:20px;
  box-shadow:
    0 0 25px rgba(255,255,150,0.3);
}
.summary-section p{

  width:85%;

  margin:auto;

  font-size:26px;

  line-height:2.2;

  text-align:center;

  color:white;

  text-shadow:
    0 0 10px rgba(255,255,255,0.15);
}
a.register-btn{
  display:inline-block;

  text-decoration:none;

  padding:22px 50px;

  border-radius:40px;

  font-size:32px;

  font-weight:bold;

  background:
    linear-gradient(
      180deg,
      #22ffbb,
      #00ff88
    );

  color:black;

  border:3px solid #9dffe0;

  box-shadow:
    0 0 20px #00ff88,
    0 0 60px #00ffcc,
    inset 0 3px 10px rgba(255,255,255,0.4);

  transition:0.3s;
}

a.register-btn:hover{
  transform:scale(1.07);
  filter:brightness(1.1);
}
@media (min-width:1200px){

  .hero{
    padding-top:40px;
  }

  .hero-content h1{
    margin-top:0;
    font-size:90px;
  }

  .top-banner{
    width:75%;
  }

  .feature-box{
    width:72%;
  }
}

/* จอเล็ก / โน้ตบุ๊ก */
@media (max-width:1199px){

  nav{
    padding:18px 35px;
  }

  .logo img{
    width:120px;
  }

  .menu-register{
    font-size:22px;
    padding:14px 32px;
  }

  .hero{
    padding-top:90px;
  }

  .hero-content h1{
    font-size:70px;
    margin-top:40px;
  }

  .top-banner{
    width:82%;
  }

  .top-banner img{
    height:300px;
  }

  .feature-box{
    width:82%;
    gap:18px;
  }

  .feature-item{
    height:240px;
  }
}
.hero{
  position:relative;
  min-height:auto;
  height:auto;

  padding-top:40px;
  padding-bottom:120px;

  display:flex;
  justify-content:center;
  align-items:center;

  overflow:hidden;
}

.hero-content{
  position:relative;
  top:auto;
  left:auto;
  transform:none;

  width:100%;
  z-index:10;
  text-align:center;
}

.hero-image{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;
  z-index:0;
}

.overlay{
  z-index:1;
}

.top-banner{
  width:75%;
  margin:20px auto 25px;
}

.feature-box{
  width:72%;
  margin:25px auto 35px;
}

.hero-buttons{
  margin-top:30px;
}
.hero{
  padding-top:20px;
  padding-bottom:40px;
}

.hero-content h1{
  font-size:85px;
  margin:0 0 15px;
}

.top-banner{
  width:82%;
  margin:0 auto 18px;
}

.top-banner img{
  height:360px;
}

.feature-box{
  width:78%;
  margin:15px auto 20px;
  gap:18px;
}

.feature-item{
  height:230px;
}

.hero-content p{
  font-size:34px;
  margin:15px 0 20px;
}

.hero-buttons{
  margin-top:10px;
}

.content{
  margin:40px auto;
  padding-top:0;
}

.content h2{
  margin-top:0;
}
.top-banner{
  position:relative;

  width:78%;

  margin:auto;
}

.banner-main{
  width:100%;

  border-radius:30px;

  display:block;
}

.astro{
  position:absolute;

  right:-40px;

  top:30px;

  width:320px;

  z-index:10;

  filter:
    drop-shadow(0 0 30px #ff00ff);

  animation:float 3s ease-in-out infinite;
}

@keyframes float{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-15px);
  }

  100%{
    transform:translateY(0px);
  }
}
