<style>
/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: #111;
  padding: 12px 20px;
  z-index: 1000;
}

header a {
  color: #fff;
  margin-right: 20px;
  text-decoration: none;
  font-weight: bold;
}

header a:hover { color: #00ffcc; }

/* ===== SECTION ===== */
section { padding: 30px; }

h2 {
  border-left: 5px solid #00b894;
  padding-left: 10px;
}

/* ===== SEARCH ===== */

/* ====== LAYOUT ====== */
.home-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;

  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

/* ====== LOGIN ====== */
.login-wrap {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 22px;
  padding: 28px;

  border: 1px solid rgba(255,255,255,0.6);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}


.login-title {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  border-left: 4px solid #00a86b;
  padding-left: 10px;
}

.login-wrap input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;

  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: #fff;

  box-shadow: 0 12px 30px rgba(255,138,0,0.45);
  transition: all .25s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(255,138,0,0.6);
}

.newyear-wrap h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;

  background: linear-gradient(90deg, #ffe082, #ffd54f, #ffecb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 4px 20px rgba(255,215,0,.35);
}

/* ====== BANNER TẾT ====== */
.newyear-wrap {
  position: relative;
  border-radius: 28px;
  padding: 48px;

  background:
    radial-gradient(circle at top left, rgba(255,215,0,.25), transparent 40%),
    linear-gradient(135deg, #7a0f12, #c62828);

  color: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  overflow: hidden;
}


.newyear-wrap h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.newyear-wrap p {
  font-size: 18px;
}




/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .horse {
    position: static;
    display: block;
    margin: 20px auto 0;
  }
}

/* ===== SEARCH (PRO STYLE) ===== */
.search-box {
  display: flex;
  justify-content: center;     /* căn giữa ngang */
  padding: 30px 15px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.search-box input {
  width: 100%;
  max-width: 600px;            /* chiều rộng pro */
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 50px;         /* bo tròn đẹp */
  border: none;
  outline: none;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}
/* ===== SEARCH WRAP (NỀN TRUNG GIAN) ===== */
.search-wrap {
  background: #f8fafc;                /* nền xám sáng */
  padding: 24px 16px 32px;
  border-bottom: 1px solid #e5e7eb;
}

/* ===== SEARCH BOX ===== */
.search-box {
  display: flex;
  justify-content: center;
}

/* ===== INPUT ===== */
.search-box input {
  width: 100%;
  max-width: 720px;
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* hover */
.search-box input:hover {
  border-color: #c7d2fe;
}

/* focus */
.search-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* placeholder */
.search-box input::placeholder {
  color: #9ca3af;
}

/* hover + focus */
.search-box input:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* placeholder */
.search-box input::placeholder {
  color: #999;
}

.search-box {
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.search-box input {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ===== GRID / CARD ===== */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width:1200px){ .grid-5{grid-template-columns:repeat(3,1fr);} }
@media (max-width:768px){ .grid-5{grid-template-columns:repeat(2,1fr);} }
@media (max-width:480px){ .grid-5{grid-template-columns:1fr;} }

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content { padding: 12px; }

.card-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* ===== BUTTON ===== */
.btn {
  background: #0984e3;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  margin-right: 5px;
}
.newyear-banner {
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;

  background:
    radial-gradient(circle at top, #ffeb3b33, transparent 60%),
    linear-gradient(135deg, #b71c1c, #ff9800);

  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.newyear-banner::before {
  content: "✨✨✨";
  position: absolute;
  inset: 0;
  background-image: url("fireworks.png");
  background-size: cover;
  opacity: 0.15;
}

.newyear-banner .content {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.newyear-banner h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.newyear-banner p {
  font-size: 18px;
  font-weight: 500;
}

.mascot {
  position: absolute;
  right: 30px;
  bottom: 0;
  height: 220px;
  animation: float 4s ease-in-out infinite;
}
/* ===== FIREWORKS LIGHT ===== */
.newyear-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 20% 25%, rgba(255,215,0,.8), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.6), transparent 40%),
    radial-gradient(circle at 60% 65%, rgba(255,200,0,.7), transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.5), transparent 40%);

  animation: fireworksGlow 6s ease-in-out infinite;
}

@keyframes fireworksGlow {
  0%,100% { opacity: .35; }
  50% { opacity: .75; }
}


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== AUTH ===== */
#loginBox,#userBox{
  padding:15px;
  background:#fff;
  margin:15px;
  border-radius:6px;
}


/* ===== CONTACT ===== */
.contact-float{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.contact-btn{
  padding:12px 15px;
  border-radius:50px;
  color:#fff;
  text-decoration:none;
}
.tele{background:#61bdd9;}
.fb{background:#072ac4;}
.ytb{background:#c30f0f}

/* ===== NAV CTA ===== */
.nav-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
  transition: all 0.25s ease;
}

/* hover */
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.65);
  color: #fff;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 20px 20px;
  margin-top: 60px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3, .footer-col h4 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-col a:hover {
  color: #38bdf8;
}

.social a {
  display: inline-block;
  margin-right: 10px;
  padding: 6px 12px;
  background: #1e293b;
  border-radius: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #94a3b8;
}
.newyear-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 25% 30%, rgba(255,215,0,.9), transparent 30%),
    radial-gradient(circle at 75% 35%, rgba(255,255,255,.7), transparent 35%),
    radial-gradient(circle at 50% 65%, rgba(255,170,0,.8), transparent 40%);

  animation: fireworksPop 4s infinite;
}

@keyframes fireworksPop {
  0%   { opacity: 0; transform: scale(.6); }
  40%  { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

</style>