@media(max-width:600px) {

    /* Toàn trang */
    body {
        background: radial-gradient(circle at top, #01204a 0%, #000d27 100%);
        color: #fff;
        font-family: 'Roboto', sans-serif;
        overflow-x: hidden;
        text-align: center;
    }

    header {
        text-align: center;
        padding: 10px 0;
        background: rgba(0,0,0,0.3);
        position: sticky;
        top: 0;
        z-index: 10;
    }
	main#landingpage {
    position: relative;
    overflow: hidden;
  }

  .bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
  }

  .bg-full {
    width: 100%;
    height: auto;
    display: block;
  }

    .site-logo img {
        height: 40px;
        max-width: 100%;
    }

    main#landingpage {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        text-align: center;
    }

    section {
        margin-top: 15px;
        padding: 0 10px;
    }

    /* Banner đầu */
    .banner img {
        width: 100%;
        border-radius: 10px;
        animation: fadeIn 1.2s ease-out;
    }

    /* Form đăng ký */
    .register-box {
        background: linear-gradient(180deg, #1c2b65 0%, #1a1840 100%);
        border-radius: 15px;
        padding: 20px 15px;
        box-shadow: 0 0 10px rgba(255,255,255,0.1);
        animation: slideUp 0.8s ease-out;
    }

    .register-box h3 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 15px;
        color: #fff;
        text-shadow: 0 0 5px #000;
    }

    .register-box input {
        width: 90%;
        border: none;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        font-size: 15px;
        margin-bottom: 10px;
        background: #fff;
    }

    .register-box button {
        width: 90%;
        background: linear-gradient(180deg, #ffec85 0%, #ffb700 100%);
        border: none;
        border-radius: 8px;
        padding: 12px;
        font-size: 16px;
        font-weight: 700;
        color: #000;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .register-box button:hover {
        transform: scale(1.05);
        background: linear-gradient(180deg, #fff195 0%, #ffc233 100%);
    }

    /* Hình khuyến mãi */
    .promo-img {
        width: 90%;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(255,255,255,0.2);
        animation: fadeIn 1s ease-out;
    }

    .final-img {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 20px;
        animation: fadeIn 1.5s ease-out;
    }
/* Nút đăng ký có ảnh nền */
button[type="submit"] {
  position: relative;
  background: url('/wp-content/uploads/2025/10/DANGKY-1.png') no-repeat center / contain;
  border: none;
  width: 85%;
  height: 55px;
  margin-top: 15px;
  cursor: pointer;
  animation: glowPulse 1.8s ease-in-out infinite;
  overflow: hidden;
}

/* Dải sáng chạy qua nút */
button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shineMove 2.5s linear infinite;
}

/* Hiệu ứng glow nhấp nháy */
@keyframes glowPulse {
  0%   { filter: drop-shadow(0 0 0 rgba(255, 220, 100, 0)); transform: scale(1); }
  25%  { filter: drop-shadow(0 0 8px rgba(255, 230, 150, 0.7)); transform: scale(1.02); }
  50%  { filter: drop-shadow(0 0 16px rgba(255, 255, 180, 1)); transform: scale(1.03); }
  75%  { filter: drop-shadow(0 0 8px rgba(255, 230, 150, 0.7)); transform: scale(1.02); }
  100% { filter: drop-shadow(0 0 0 rgba(255, 220, 100, 0)); transform: scale(1); }
}

/* Hiệu ứng ánh sáng chạy */
@keyframes shineMove {
  0%   { left: -75%; opacity: 0; }
  20%  { opacity: 1; }
  50%  { left: 125%; opacity: 1; }
  80%  { opacity: 0; }
  100% { left: 125%; opacity: 0; }
}

    footer {
        font-size: 12px;
        color: #ccc;
        padding: 15px;
        text-align: center;
    }

    /* Hiệu ứng */
    @keyframes fadeIn {
        from {opacity: 0; transform: scale(0.98);}
        to {opacity: 1; transform: scale(1);}
    }

    @keyframes slideUp {
        from {opacity: 0; transform: translateY(20px);}
        to {opacity: 1; transform: translateY(0);}
    }

}
