:root {
  --sun:      #FFB347;
  --sun-deep: #E8720C;
  --sky:      #FFD97D;
  --sky-deep: #F4A430;
  --leaf:     #FF8C42;
  --peach:    #FFE5C0;
  --rose:     #FFAD60;
  --lavender: #FFF0D0;
  --cream:    #FFF8EE;
  --text:     #3A2010;
  --muted:    #8A6A50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Nunito', sans-serif;
}

/* ═══════════════════════════════════════
 NAVBAR
═══════════════════════════════════════ */
#mainNav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.brand-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(232,114,12,.4);
  flex-shrink: 0;
}
.brand-text .name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sun-deep);
  line-height: 1.1;
}
.brand-text .tagline {
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text) !important;
  padding: .5rem .9rem !important;
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active > .nav-link {
  background: var(--cream);
  color: var(--sun-deep) !important;
}

/* Dropdown — desktop: hover to open */
.dropdown-menu {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: .5rem;
  min-width: 200px;
}

@media (min-width: 992px) {
  .dropdown-menu {
      display: block;
      visibility: hidden;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s;
      pointer-events: none;
      margin-top: 0 !important;
  }
  .dropdown:hover > .dropdown-menu {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
  }
}

.dropdown-item {
  font-family: 'Nunito', sans-serif;
  font-size: .87rem;
  font-weight: 600;
  border-radius: 10px;
  padding: .5rem .9rem;
  color: var(--text);
  transition: background .15s;
}
.dropdown-item:hover {
  background: var(--cream);
  color: var(--sun-deep);
}

@media (max-width: 991.98px) {
  .navbar-nav { gap: 0 !important; }
  .navbar-nav .nav-link { padding: .45rem .9rem !important; }
  .navbar-nav .dropdown-menu {
      box-shadow: none;
      border-radius: 10px;
      background: var(--cream);
      padding: .25rem .5rem;
      margin: 0 0 .25rem .5rem !important;
  }
  .navbar-nav .dropdown-menu.mobile-open {
      position: static;
      float: none;
  }
  .navbar-nav .dropdown-item { padding: .35rem .75rem; font-size: .84rem; }
}
.lang-btn {
  width: 28px; height: 20px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s;
  display: inline-block;
}
.lang-btn:hover { border-color: var(--sun); }
.lang-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════
 HERO BANNER
═══════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #FFF3E0 0%, #FFE8C0 50%, #FFF0D0 100%);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Floating decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,48,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110,198,245,.2) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}

.hero-cloud {
  position: absolute;
  background: rgba(255,255,255,.7);
  border-radius: 50px;
  filter: blur(2px);
}
.hero-cloud.c1 { width:120px; height:40px; top:60px; left:10%; opacity:.8; }
.hero-cloud.c2 { width:80px;  height:28px; top:100px; left:25%; opacity:.6; }
.hero-cloud.c3 { width:150px; height:45px; top:40px; right:20%; opacity:.7; }

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(232,114,12,.15);
  color: var(--sun-deep);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: .8rem;
  padding: .3rem .9rem;
  border-radius: 20px;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.hero h1 span {
  color: var(--sun-deep);
  position: relative;
}
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: var(--sun);
  border-radius: 2px;
  opacity: .5;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

.btn-sun {
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%);
  color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem 1.8rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 18px rgba(232,114,12,.35);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-sun:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,114,12,.45);
  color: #fff;
}

.btn-outline-sun {
  background: transparent;
  color: var(--sun-deep);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: .95rem;
  padding: .65rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--sun);
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-sun:hover {
  background: var(--sun);
  color: #fff;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}
.hero-image-wrap img {
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* Floating badges on hero image */
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: .6rem 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: .8rem;
  white-space: nowrap;
}
.hero-float.f1 { top: -16px; right: 20px; color: var(--sun-deep); }
.hero-float.f2 { bottom: 20px; left: -20px; color: var(--sky-deep); }
.hero-float .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}

/* Floating sun decoration */
.sun-deco {
  position: absolute;
  font-size: 3rem;
  animation: spin-slow 20s linear infinite;
  z-index: 1;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
 SECTION TITLES
═══════════════════════════════════════ */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun-deep);
  display: block;
  margin-bottom: .4rem;
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.title-dot {
  color: var(--sun);
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--sun), var(--sky));
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

/* ═══════════════════════════════════════
 FEATURES SECTION 1
═══════════════════════════════════════ */
.features-1 {
  background: #fff;
  padding: 5rem 0;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: var(--cream);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.feature-img-wrap {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.feature-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-card h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.feature-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Coloured rings on each card */
.feature-card:nth-child(1) .feature-img-wrap { border-color: var(--sun); }
.feature-card:nth-child(2) .feature-img-wrap { border-color: var(--rose); }
.feature-card:nth-child(3) .feature-img-wrap { border-color: var(--sky); }
.feature-card:nth-child(4) .feature-img-wrap { border-color: var(--leaf); }

/* ═══════════════════════════════════════
 ABOUT / INTRO SECTION
═══════════════════════════════════════ */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #FFF8EE 0%, #FFF0D8 100%);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '☁';
  font-size: 8rem;
  position: absolute;
  top: -20px; right: -20px;
  opacity: .06;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 30px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
  object-fit: cover;
  height: 420px;
}
.about-badge {
  position: absolute;
  background: var(--sun);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  text-align: center;
  bottom: -20px;
  right: -20px;
  box-shadow: 0 8px 24px rgba(232,114,12,.35);
  line-height: 1.2;
}
.about-badge small {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  opacity: .85;
}

.about-text p {
  font-size: .95rem;
  line-height: 1.85;
  color: #5A4A4A;
}

.about-text-clamp {
  max-height: 260px;
  overflow: hidden;
  position: relative;
}
.about-text-clamp::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #FFF8EE);
  pointer-events: none;
}

.about-check {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.about-check i {
  color: var(--leaf);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
 STEAM FEATURES SECTION 2
═══════════════════════════════════════ */
/* 5-column grid utility — exactly 20% width on lg+ */
@media (min-width: 992px) {
  .col-lg-5ths {
    flex: 0 0 auto;
    width: 20%;
  }
}

.steam-section {
  padding: 5rem 0;
  background: linear-gradient(160deg, #FFFAF0 0%, #FFF0C8 100%);
  position: relative;
  overflow: hidden;
}
.steam-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.steam-section .section-title { color: #3A2010; }
.steam-section .section-label { color: rgba(58,32,16,.7); }
.steam-section .section-divider { background: linear-gradient(90deg, #E8720C, rgba(232,114,12,.3)); }

.steam-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(255,255,255,.7);
}

/* Position-based card backgrounds: 1,2,3,5 = light orange; 4 = light green */
.steam-card-pos-1,
.steam-card-pos-2,
.steam-card-pos-3,
.steam-card-pos-5 { background: rgba(255,179,71,.22); border-color: rgba(255,179,71,.35); }

.steam-card-pos-4  { background: rgba(109,191,138,.22); border-color: rgba(109,191,138,.35); }
.steam-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.steam-icon-wrap {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
.steam-icon-wrap.c1 { background: rgba(255,179,71,.25); }
.steam-icon-wrap.c2 { background: rgba(255,140,66,.2); }
.steam-icon-wrap.c3 { background: rgba(244,164,48,.22); }
.steam-icon-wrap.c4 { background: rgba(232,114,12,.18); }

.steam-card h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.steam-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════
 BOTTOM BANNER
═══════════════════════════════════════ */
.bottom-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.bottom-banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bottom-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232,114,12,.88) 0%, rgba(109,191,138,.65) 100%);
}
.bottom-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.bottom-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.bottom-banner p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════
 CONTACT / REGISTRATION FORM
═══════════════════════════════════════ */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(160deg, #FFF8EE 0%, #FFE8D0 100%);
  position: relative;
  overflow: hidden;
}

.contact-img {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.contact-form-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .3rem;
}
.contact-form-wrap .sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.form-control-sun {
  border: 2px solid #F0E6D8;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-control-sun:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(232,114,12,.15);
  background: #fff;
}
.form-control-sun::placeholder { color: #C0AFA0; }

/* ═══════════════════════════════════════
 FOOTER
═══════════════════════════════════════ */
footer {
  background: #2A2020;
  color: #C8B8B8;
  padding: 3.5rem 0 0;
}
footer .footer-brand .name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--sun);
}
footer .footer-brand .tagline {
  font-size: .75rem;
  color: #9A8A8A;
  margin-top: .15rem;
}
footer h5 {
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #E8D8D8;
  margin-bottom: 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li {
  font-size: .85rem;
  margin-bottom: .5rem;
}
footer ul li a {
  color: #9A8A8A;
  text-decoration: none;
  transition: color .15s;
}
footer ul li a:hover { color: var(--sun); }
footer .contact-info {
  font-size: .85rem;
  line-height: 1.8;
}
footer .contact-info i {
  color: var(--sun);
  width: 18px;
}
.footer-bottom {
  border-top: 1px solid #3A2E2E;
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  font-size: .78rem;
  color: #6A5A5A;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #C8B8B8;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, color .2s;
  margin-right: .35rem;
}
.social-btn:hover { background: var(--sun); color: #fff; }

/* ═══════════════════════════════════════
 FLOATING CTA (fixed bottom right)
═══════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn.fb   { background: #1877F2; }
.float-btn.zalo { background: #0068FF; }
.float-btn.phone { background: var(--leaf); }

/* ═══════════════════════════════════════
 ANIMATIONS
═══════════════════════════════════════ */
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.float-anim { animation: float-up 4s ease-in-out infinite; }
.float-anim-2 { animation: float-up 5s ease-in-out infinite .5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
 RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 3rem 0; }
  .hero-image-wrap { margin-top: 2rem; }
  .about-img-wrap img { height: 300px; }
  .about-badge { right: 0; }
  .bottom-banner { height: 300px; }
}
@media (max-width: 575px) {
  .contact-form-wrap { padding: 1.5rem; }
}

/* ═══════════════════════════════════════
   PROMOTION MODAL
═══════════════════════════════════════ */
#promo-modal-close:hover {
    background: rgba(0,0,0,.7) !important;
}