*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  color: #2d1b0f;
  background: #f2e3cb;
}

a {
  text-decoration: none;
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
  transition: background-size 0.2s ease;
  color: inherit;
}

a:hover {
  background-size: 100% 100%;
  color: #2d1b0f;
}

main {
  max-width: 1680px;
  margin: 10px 0 80px 0;
  padding: 0 0px;
}

.page {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.hero-wrap {
  background: url("images/background-nuoitoi.jpg");
  background-size: cover;
  background-position: center;
  padding: 0 0 36px;
  margin: 0 -20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: transparent;
  box-shadow: none;
  margin: 0 -20px;
  width: 100%;
}

.brand {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: #f9a205;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  min-width: 36px;
  width: 36px;
  min-height: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.menu-toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 0;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 0;
  background: #f9a205;
  color: #6a2c0c;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-item .icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #fff6dd;
  border-radius: 8px;
  color: #f26922;
}

.nav-item .image-icon {
  background: transparent;
  padding: 0;
}

.nav-item .image-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.section-hero {
  margin: 16px 20px 32px;
  padding: 32px 18px 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 0 32px;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  min-height: 276px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #d44a1f;
}

.card p {
  margin: 0 0 16px;
  color: #523122;
  line-height: 1.5;
}

.card-1 {
  background: linear-gradient(180deg, #f8dfc2 0%, #7d4a92 100%);
  color: #fff;
}

.card-1 h3 {
  color: #ffffff;
}

.card-1 p {
  color: #f5ecff;
}

.card-2 {
  background: linear-gradient(180deg, #cdddfc 0%, #9bd1f3 100%);
}

.card-3 {
  background: linear-gradient(180deg, #f7c44c 0%, #fbdc7e 100%);
}

.card-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #d44a1f;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background: #f15a24;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}

.btn.ghost {
  background: #fff6dd;
  color: #d44a1f;
  box-shadow: none;
}

.card-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: #523122;
  line-height: 1.5;
}

.partners {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 12px 0 32px;
}

.partner-tag {
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f2c28f;
  font-weight: 700;
  color: #d44a1f;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.campaign {
  text-align: center;
  margin-bottom: 26px;
}

.campaign h1 {
  margin: 0 0 10px;
  text-transform: uppercase;
  color: #f15a24;
  font-size: clamp(26px, 4vw, 38px);
}

.campaign .sub {
  margin: 6px 0;
  font-weight: 800;
}

.campaign .target {
  margin: 6px 0;
  font-weight: 700;
}

.disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #f15a24;
  border-radius: 8px;
  text-align: center;
}

.disclaimer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #523122;
}

.disclaimer strong {
  color: #d44a1f;
  font-weight: 700;
}

.story {
  position: relative;
  background: transparent;
  border-radius: 16px;
  padding: 0;
  margin: 0 0 36px;
  overflow: visible;
}

.commitment-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.commitment-block {
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.commitment-gold {
  background: #fff9e6;
  border-left: 6px solid #f7c44c;
}

.commitment-others {
  background: #ffe6e6;
  border-left: 6px solid #e74c3c;
}

.commitment-nuoi {
  background: #e6f7e6;
  border-left: 6px solid #27ae60;
}

.commitment-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.commitment-gold .commitment-title {
  color: #d68910;
}

.commitment-others .commitment-title {
  color: #c0392b;
}

.commitment-nuoi .commitment-title {
  color: #229954;
}

.commitment-title i {
  font-size: 24px;
}

.comparison-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-main-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #2d1b0f;
}

.comparison-main-title i {
  font-size: 26px;
  color: #f7c44c;
}

.comparison-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.commitment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: #2d1b0f;
}

.commitment-list li i.fa-check {
  color: #27ae60;
  margin-top: 4px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .commitment-blocks {
    grid-template-columns: 1fr;
  }
  
  .comparison-blocks {
    grid-template-columns: 1fr;
  }
}

.video {
  margin-top: 28px;
  margin-bottom: 32px;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.video-text-block {
  background: #e6f0ff;
  border-left: 6px solid #2f80ed;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-text-block h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1d4ed8;
}

.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  color: #1f2937;
}

.video-list li i {
  color: #2f80ed;
  margin-top: 2px;
  flex-shrink: 0;
}

.video-list li svg {
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-block;
}

.video-frame {
  position: relative;
  width: min(100%, 740px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  background: #111;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .video-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: nowrap;
    padding: 10px 0;
    background: transparent;
    box-shadow: none;
    align-items: center;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
  }
  
  .menu-toggle:hover {
    background: #f1a740;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }
  
  .nav {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    background: transparent;
    flex: 1;
    margin-left: 8px;
  }
  
  .nav.open {
    display: flex;
  }
  
  .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .menu-toggle-icon {
    display: flex !important;
    width: 24px;
    height: 24px;
  }
  
  .menu-toggle-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    padding-bottom: 6px;
  }

  .nav.open {
    display: grid;
  }
}

/* Modal Sổ tài khoản */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: #ffeb3b;
  border-radius: 16px;
  padding: 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #2d1b0f;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.account-info-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.account-info-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #2d1b0f;
}

.account-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.account-label {
  font-weight: 700;
  color: #2d1b0f;
  min-width: 120px;
}

.account-value {
  font-weight: 600;
  color: #2d1b0f;
  font-size: 16px;
}

.account-value-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-copy {
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
  font-size: 14px;
}

.btn-copy:hover {
  background: #1976d2;
}

.btn-copy.copied {
  background: #4caf50;
}

.transfer-content {
  margin-top: 8px;
}

.transfer-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: #2d1b0f;
}

.transfer-note {
  margin: 0;
  color: #2d1b0f;
  font-style: italic;
}

.account-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.note-item {
  margin: 0;
  line-height: 1.6;
  color: #2d1b0f;
}

.note-item strong {
  color: #d44a1f;
}

.link-underline {
  color: #2196f3;
  text-decoration: underline;
}

.btn-close-modal {
  margin-top: 20px;
  padding: 12px 24px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
}

.btn-close-modal:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn-close-modal:active {
  transform: translateY(0);
}

.account-info-right {
  display: flex;
  justify-content: center;
}

.qr-card {
  background: #fff;
  border: 4px solid #8b0000;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.qr-icon {
  margin-bottom: 12px;
}

.qr-icon i {
  font-size: 32px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qr-code-placeholder {
  margin: 16px 0;
  display: flex;
  justify-content: center;
}

.qr-code-placeholder img {
  width: 200px;
  height: 200px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
}

.qr-info {
  margin-top: 16px;
}

.qr-name {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
  color: #2d1b0f;
  text-transform: uppercase;
}

.qr-account {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  color: #2d1b0f;
}

.qr-bank {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 14px;
  color: #2d1b0f;
}

.qr-heart {
  margin-top: 8px;
}

.qr-heart i {
  color: #8b0000;
  font-size: 20px;
}

@media (max-width: 900px) {
  .account-info-wrapper {
    grid-template-columns: 1fr;
  }
  
  .account-info-right {
    justify-content: center;
  }
  
  .modal-content {
    padding: 24px 20px;
  }
}

