/*
 Theme Name:   Flatsome Child (Sunwin)
 Theme URI:    https://sun-win.im
 Description:  Flatsome Child Theme chuẩn SEO, UX Builder HTML Blocks
 Author:       Sunwin Senior Frontend Team
 Template:     flatsome
 Version:      1.0.0
 Text Domain:  flatsome-child
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

/* --------------------------------------------------------------------------
   DESIGN SYSTEM & CSS VARIABLES (SUNWIN GOLD & DARK BRONZE PALETTE)
   -------------------------------------------------------------------------- */
:root {
  --main-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Brand Background Colors */
  --sw-bg-main: #000000;
  --sw-bg-section-alt: #0a0705;
  --sw-bg-card: #130C0A;
  --sw-bg-card-hover: #1d120f;
  --sw-bg-card-inner: #211B19;
  --sw-bg-input: #211A15;

  /* Sunwin Gold & Warm Palette */
  --sw-gold-primary: #dd9933;
  --sw-gold-light: #ffb54d;
  --sw-gold-cream: #f5e6c5;
  --sw-gold-soft: #f8e7b0;
  --sw-gold-badge: #B1852C;
  --sw-gold-gradient: linear-gradient(180deg, #ffffff 0%, #ffb54d 45%, #ffbc81 100%);
  --sw-gold-btn: linear-gradient(135deg, #ffe082 0%, #dd9933 100%);
  --sw-gold-glow: 0 0 16px rgba(221, 153, 51, 0.3);

  /* Green Action Accent */
  --sw-green-primary: #22c55e;
  --sw-green-hover: #16a34a;
  --sw-green-glow: 0 0 16px rgba(34, 197, 94, 0.3);

  /* Text Colors */
  --sw-text-main: #ffffff;
  --sw-text-cream: #e8d9b6;
  --sw-text-sub: #bfae99;
  --sw-text-muted: #8c7b68;

  /* Borders */
  --sw-border-gold: 1px solid rgba(255, 215, 128, 0.18);
  --sw-border-gold-hover: 1px solid rgba(255, 215, 128, 0.5);
  --sw-border-gold-strong: 1px solid rgba(255, 215, 128, 0.35);

  /* Radius */
  --sw-radius-lg: 16px;
  --sw-radius-md: 12px;
  --sw-radius-sm: 8px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
button,
input,
select,
textarea,
.nav>li>a,
.heading-font {
  font-family: var(--main-font) !important;
}

body {
  font-family: var(--main-font) !important;
  background-color: var(--sw-bg-main);
  color: var(--sw-text-main);
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Core Web Vitals Render Performance Acceleration */
.sw-category,
.sw-featured,
.sw-why,
.sw-step,
.sw-faq,
.sw-post,
.sw-about {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

/* --------------------------------------------------------------------------
   1. SECTION HERO BANNER (sw-hero)
   -------------------------------------------------------------------------- */
.sw-hero {
  background: url('/wp-content/uploads/2026/08/main-bg-pc.webp') center top / cover no-repeat, #000000;
  padding: 70px 20px;
  color: var(--sw-text-main);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 215, 128, 0.18);
}

.sw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.sw-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(221, 153, 51, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.sw-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.sw-hero__left {
  flex: 1 1 400px;
}

.sw-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: var(--sw-border-gold);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.sw-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sw-green-primary);
  border-radius: 50%;
  box-shadow: var(--sw-green-glow);
}

.sw-hero__badge-text {
  font-size: 13px;
  color: var(--sw-gold-primary);
  font-weight: 700;
}

.sw-hero__title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--sw-text-main);
}

.sw-hero__title-accent {
  background: var(--sw-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  padding-right: 2px;
}

.sw-hero__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sw-text-cream);
  margin-bottom: 32px;
  max-width: 560px;
}

.sw-hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.sw-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.sw-hero__btn--primary {
  background: radial-gradient(circle at top, #ffe6a3 0%, #d4aa4a 45%, #8a641f 80%, #0b0703 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 214, 122, 0.9);
  box-shadow: 0 0 18px rgba(255, 214, 122, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.sw-hero__btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px rgba(255, 214, 122, 0.85), inset 0 0 10px rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.sw-hero__btn--secondary {
  background: linear-gradient(180deg, #594014 0%, #302108 100%);
  color: #ffe6a3;
  border: 1.5px solid #d4aa4a;
  box-shadow: 0 0 12px rgba(212, 170, 74, 0.3);
}

.sw-hero__btn--secondary:hover {
  background: linear-gradient(180deg, #6d501a 0%, #402c0b 100%);
  transform: translateY(-2px);
  color: #ffffff;
}

.sw-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-hero__feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sw-text-cream);
}

.sw-hero__check-icon {
  color: var(--sw-green-primary);
}

/* Stat Boxes (Mobile & PC Optimized) */
.sw-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.sw-hero__stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 128, 0.2);
  border-radius: var(--sw-radius-md);
  padding: 12px 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.sw-hero__stat-val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  margin-bottom: 2px;
}

.sw-hero__stat-lbl {
  font-size: 12px;
  color: var(--sw-text-sub);
}

.sw-hero__right {
  flex: 0 0 420px;
}

.sw-hero__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.sw-hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sw-hero__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin: 0;
}

.sw-hero__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  color: #4ade80;
  white-space: nowrap;
  flex-shrink: 0;
}

.sw-hero__status-badge span {
  white-space: nowrap;
}

.sw-hero__status-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
}

.sw-hero__quick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.sw-hero__quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--sw-text-main);
  transition: all 0.25s ease;
}

.sw-hero__quick-item:hover {
  background: var(--sw-bg-card-hover);
  border-color: var(--sw-gold-primary);
  transform: translateX(4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-hero__quick-icon-wrapper {
  width: 42px;
  height: 42px;
  background-color: rgba(221, 153, 51, 0.15);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  border: 1px solid rgba(221, 153, 51, 0.3);
  color: var(--sw-gold-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Fallback icons for Hero Quick Links */
.sw-hero__quick-item:nth-child(1) .sw-hero__quick-icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23dd9933' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E");
}

.sw-hero__quick-item:nth-child(2) .sw-hero__quick-icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23dd9933'%3E%3Cpath d='M17.523 15.3414C17.06 15.3414 16.691 14.9724 16.691 14.5094C16.691 14.0464 17.06 13.6774 17.523 13.6774C17.986 13.6774 18.355 14.0464 18.355 14.5094C18.355 14.9724 17.986 15.3414 17.523 15.3414ZM6.477 15.3414C6.014 15.3414 5.645 14.9724 5.645 14.5094C5.645 14.0464 6.014 13.6774 6.477 13.6774C6.94 13.6774 7.309 14.0464 7.309 14.5094C7.309 14.9724 6.94 15.3414 6.477 15.3414ZM17.886 10.2044L19.582 7.2664C19.725 7.0184 19.64 6.7014 19.392 6.5584C19.144 6.4154 18.827 6.5004 18.684 6.7484L16.949 9.7534C15.485 9.0884 13.818 8.7114 12 8.7114C10.182 8.7114 8.515 9.0884 7.051 9.7534L5.316 6.7484C5.173 6.5004 4.856 6.4154 4.608 6.5584C4.36 6.7014 4.275 7.0184 4.418 7.2664L6.114 10.2044C2.585 12.1224 0.17 15.6564 0 19.8664H24C23.83 15.6564 21.415 12.1224 17.886 10.2044Z'/%3E%3C/svg%3E");
}

.sw-hero__quick-item:nth-child(3) .sw-hero__quick-icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23dd9933'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 6.32c.67-.82 1.13-1.97.99-3.12-.98.04-2.18.66-2.88 1.47-.63.73-1.18 1.9-.99 3.03 1.1.08 2.23-.55 2.88-1.38z'/%3E%3C/svg%3E");
}

.sw-hero__quick-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sw-hero__quick-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sw-gold-soft);
}

.sw-hero__quick-sub {
  font-size: 12px;
  color: var(--sw-text-sub);
}

.sw-hero__quick-arrow {
  font-size: 18px;
  color: var(--sw-gold-primary);
}

.sw-hero__notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 215, 128, 0.2);
  border-radius: var(--sw-radius-md);
  padding: 12px 14px;
}

.sw-hero__notice-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--sw-text-sub);
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. QUICK NAVIGATION (sw-nav)
   -------------------------------------------------------------------------- */
.sw-nav {
  background: var(--sw-bg-main);
  padding: 80px 20px;
  color: var(--sw-text-main);
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-nav__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-nav__header {
  margin-bottom: 48px;
}

.sw-nav__tag {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sw-nav__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-nav__desc {
  font-size: 15px;
  color: var(--sw-text-cream);
  margin: 0;
}

.sw-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sw-nav__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sw-nav__card:hover {
  transform: translateY(-6px);
  border-color: var(--sw-gold-primary);
  box-shadow: var(--sw-gold-glow);
}

.sw-nav__icon-wrapper {
  width: 52px;
  height: 52px;
  background-color: rgba(221, 153, 51, 0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  border: 1px solid rgba(221, 153, 51, 0.25);
  color: var(--sw-gold-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Fallback SVG Data-URI Icons for WordPress UX Builder */
.sw-nav__card:nth-child(1) .sw-nav__icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23dd9933' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
}

.sw-nav__card:nth-child(2) .sw-nav__icon-wrapper,
.sw-os-android-only .sw-nav__icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23dd9933'%3E%3Cpath d='M17.523 15.3414C17.06 15.3414 16.691 14.9724 16.691 14.5094C16.691 14.0464 17.06 13.6774 17.523 13.6774C17.986 13.6774 18.355 14.0464 18.355 14.5094C18.355 14.9724 17.986 15.3414 17.523 15.3414ZM6.477 15.3414C6.014 15.3414 5.645 14.9724 5.645 14.5094C5.645 14.0464 6.014 13.6774 6.477 13.6774C6.94 13.6774 7.309 14.0464 7.309 14.5094C7.309 14.9724 6.94 15.3414 6.477 15.3414ZM17.886 10.2044L19.582 7.2664C19.725 7.0184 19.64 6.7014 19.392 6.5584C19.144 6.4154 18.827 6.5004 18.684 6.7484L16.949 9.7534C15.485 9.0884 13.818 8.7114 12 8.7114C10.182 8.7114 8.515 9.0884 7.051 9.7534L5.316 6.7484C5.173 6.5004 4.856 6.4154 4.608 6.5584C4.36 6.7014 4.275 7.0184 4.418 7.2664L6.114 10.2044C2.585 12.1224 0.17 15.6564 0 19.8664H24C23.83 15.6564 21.415 12.1224 17.886 10.2044Z'/%3E%3C/svg%3E");
}

.sw-nav__card:nth-child(3) .sw-nav__icon-wrapper,
.sw-os-ios-only .sw-nav__icon-wrapper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23dd9933'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M15.97 6.32c.67-.82 1.13-1.97.99-3.12-.98.04-2.18.66-2.88 1.47-.63.73-1.18 1.9-.99 3.03 1.1.08 2.23-.55 2.88-1.38z'/%3E%3C/svg%3E");
}

.sw-nav__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin-bottom: 12px;
}

.sw-nav__card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sw-text-sub);
  margin-bottom: 24px;
  flex-grow: 1;
}

.sw-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sw-gold-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.sw-nav__link:hover {
  gap: 12px;
  color: var(--sw-gold-light);
}

/* --------------------------------------------------------------------------
   3. DOWNLOAD APP (sw-download)
   -------------------------------------------------------------------------- */
.sw-download {
  background: var(--sw-bg-section-alt);
  padding: 80px 20px;
  color: var(--sw-text-main);
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-download__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-download__header {
  margin-bottom: 48px;
  text-align: center;
}

.sw-download__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-download__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-download__desc {
  font-size: 15px;
  color: var(--sw-text-cream);
  max-width: 680px;
  margin: 0 auto;
}

.sw-download__boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sw-download__box {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.sw-download__box:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-download__box-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.sw-download__box-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 128, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-gold-primary);
}

.sw-download__box-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin: 0 0 4px 0;
}

.sw-download__box-ver {
  font-size: 13px;
  color: var(--sw-text-sub);
}

.sw-download__btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--sw-radius-md);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sw-download__btn--android {
  background: var(--sw-green-primary);
  color: #ffffff;
  box-shadow: var(--sw-green-glow);
}

.sw-download__btn--android:hover {
  background: var(--sw-green-hover);
  color: #ffffff;
}

.sw-download__btn--ios {
  background: var(--sw-gold-btn);
  color: #000000;
  box-shadow: var(--sw-gold-glow);
}

.sw-download__btn--ios:hover {
  background: var(--sw-gold-hover);
  color: #000000;
}

/* --------------------------------------------------------------------------
   3.1 DEPOSIT & WITHDRAW SECTION (sw-transaction)
   -------------------------------------------------------------------------- */
.sw-transaction {
  background: var(--sw-bg-section);
  padding: 70px 20px;
  color: var(--sw-text-main);
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-transaction__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-transaction__header {
  margin-bottom: 40px;
  text-align: center;
}

.sw-transaction__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-transaction__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-transaction__desc {
  font-size: 15px;
  color: var(--sw-text-cream);
  max-width: 680px;
  margin: 0 auto;
}

.sw-transaction__boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sw-transaction__box {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 30px 28px;
  transition: all 0.3s ease;
}

.sw-transaction__box:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-transaction__box-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.sw-transaction__box-icon {
  width: 56px;
  height: 56px;
  background: rgba(221, 153, 51, 0.1);
  border: 1.5px solid rgba(255, 214, 122, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sw-gold-primary);
  flex-shrink: 0;
}

.sw-transaction__box-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--sw-gold-soft);
  margin: 0 0 4px 0;
}

.sw-transaction__box-ver {
  font-size: 13px;
  color: var(--sw-text-sub);
}

.sw-transaction__btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sw-transaction__btn--deposit {
  background: var(--sw-green-primary);
  color: #ffffff;
  box-shadow: var(--sw-green-glow);
}

.sw-transaction__btn--deposit:hover {
  background: var(--sw-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.sw-transaction__btn--withdraw {
  background: radial-gradient(circle at top, #ffe6a3 0%, #d4aa4a 45%, #8a641f 100%);
  color: #1a1208;
  border: 1px solid rgba(255, 214, 122, 0.9);
  box-shadow: 0 0 18px rgba(255, 214, 122, 0.4);
}

.sw-transaction__btn--withdraw:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. POPULAR CATEGORIES (sw-category)
   -------------------------------------------------------------------------- */
.sw-category {
  background: var(--sw-bg-main);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-category__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-category__header {
  margin-bottom: 48px;
}

.sw-category__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-category__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-category__desc {
  font-size: 15px;
  color: var(--sw-text-cream);
  margin: 0;
}

.sw-category__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sw-category__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.sw-category__card:hover {
  background: var(--sw-bg-card-hover);
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-category__icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(221, 153, 51, 0.12);
  border: 1px solid rgba(221, 153, 51, 0.25);
  color: var(--sw-gold-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sw-category__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin-bottom: 8px;
}

.sw-category__card-text {
  font-size: 13px;
  color: var(--sw-text-sub);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.sw-category__link {
  align-self: flex-end;
  color: var(--sw-gold-primary);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. FEATURED ARTICLES (sw-featured)
   -------------------------------------------------------------------------- */
.sw-featured {
  background: var(--sw-bg-section-alt);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-featured__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-featured__header {
  margin-bottom: 48px;
}

.sw-featured__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-featured__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-featured__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sw-featured__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.sw-featured__card:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-featured__badge {
  display: inline-block;
  background: rgba(221, 153, 51, 0.15);
  color: var(--sw-gold-primary);
  border: 1px solid rgba(221, 153, 51, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sw-featured__card-title {
  margin: 0 0 12px 0;
}

.sw-featured__card-title a {
  color: var(--sw-text-main);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.2s;
}

.sw-featured__card-title a:hover {
  color: var(--sw-gold-primary);
}

.sw-featured__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sw-text-sub);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. WHY CHOOSE US (sw-why)
   -------------------------------------------------------------------------- */
.sw-why {
  background: var(--sw-bg-main);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-why__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-why__header {
  margin-bottom: 48px;
  text-align: center;
}

.sw-why__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-why__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin: 0;
}

.sw-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sw-why__item {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.sw-why__item:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-why__icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(221, 153, 51, 0.12);
  border: 1px solid rgba(221, 153, 51, 0.3);
  color: var(--sw-gold-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.sw-why__item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin-bottom: 10px;
}

.sw-why__item-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sw-text-sub);
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. 3 STEPS PROCESS (sw-step)
   -------------------------------------------------------------------------- */
.sw-step {
  background: var(--sw-bg-section-alt);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-step__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-step__header {
  margin-bottom: 48px;
}

.sw-step__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-step__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin: 0;
}

.sw-step__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sw-step__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.sw-step__card:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-step__number {
  width: 40px;
  height: 40px;
  background: var(--sw-gold-badge);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(177, 133, 44, 0.4);
}

.sw-step__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sw-gold-soft);
  margin-bottom: 10px;
}

.sw-step__card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sw-text-sub);
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION (sw-faq)
   -------------------------------------------------------------------------- */
.sw-faq {
  background: var(--sw-bg-main);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-faq__container {
  max-width: 840px;
  margin: 0 auto;
}

.sw-faq__header {
  margin-bottom: 40px;
  text-align: center;
}

.sw-faq__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-faq__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin: 0;
}

.sw-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sw-faq__item {
  background: var(--sw-bg-card-inner);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.sw-faq__item:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.15);
}

.sw-faq__item--active {
  border-color: var(--sw-gold-primary);
}

.sw-faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 20px 24px;
  color: var(--sw-gold-soft);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.sw-faq__question {
  flex: 1;
  padding-right: 16px;
}

.sw-faq__icon {
  font-size: 20px;
  color: var(--sw-gold-primary);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.sw-faq__item--active .sw-faq__icon {
  transform: rotate(45deg);
}

.sw-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
}

.sw-faq__item--active .sw-faq__panel {
  padding: 0 24px 20px 24px;
}

.sw-faq__answer {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sw-text-cream);
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. LATEST POSTS (sw-post)
   -------------------------------------------------------------------------- */
.sw-post {
  background: var(--sw-bg-section-alt);
  padding: 80px 20px;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-post__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-post__header {
  margin-bottom: 48px;
}

.sw-post__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-post__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 14px;
}

.sw-post__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sw-post__card {
  background: var(--sw-bg-card);
  border: var(--sw-border-gold);
  border-radius: var(--sw-radius-md);
  padding: 24px;
  transition: all 0.25s ease;
}

.sw-post__card:hover {
  border-color: var(--sw-gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--sw-gold-glow);
}

.sw-post__card-title {
  margin: 0 0 10px 0;
}

.sw-post__card-title a {
  color: var(--sw-text-main);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.sw-post__card-title a:hover {
  color: var(--sw-gold-primary);
}

.sw-post__date {
  display: block;
  font-size: 12px;
  color: var(--sw-text-sub);
}

/* --------------------------------------------------------------------------
   10. ABOUT BRAND (sw-about)
   -------------------------------------------------------------------------- */
.sw-about {
  background: var(--sw-bg-main);
  padding: 80px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 215, 128, 0.1);
}

.sw-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 215, 128, 0) 0%, rgba(255, 215, 128, 0.6) 50%, rgba(255, 215, 128, 0) 100%);
}

.sw-about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-about__layout {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 32px !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sw-about__left {
  flex: 1 1 500px !important;
  min-width: 280px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.sw-about__right {
  flex: 0 0 420px !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sw-about__tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--sw-gold-primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
}

.sw-about__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--sw-text-main);
  margin-bottom: 16px;
}

.sw-about__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sw-text-cream);
  margin-bottom: 14px;
}

.sw-about__bullets,
.sw-about__trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-about__bullets li,
.sw-about__trust-bullets li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sw-text-sub);
}

.sw-about__bullets strong,
.sw-about__trust-bullets strong {
  color: var(--sw-gold-soft);
}

.sw-accent-text {
  color: var(--sw-gold-primary);
  font-weight: 700;
}

/* Smooth Collapsible Container */
.sw-collapsible-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-collapsible-wrapper.sw-is-collapsed {
  max-height: 170px;
}

.sw-collapsible-wrapper.sw-is-expanded {
  max-height: 2000px;
}

.sw-collapsible-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.98) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sw-collapsible-wrapper.sw-is-expanded .sw-collapsible-fade {
  opacity: 0;
}

.sw-collapsible-toggle-wrapper {
  margin-top: 14px;
  text-align: left;
}

.sw-collapsible-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(221, 153, 51, 0.08);
  border: 1px solid rgba(221, 153, 51, 0.35);
  color: var(--sw-gold-soft);
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap !important;
  transition: all 0.25s ease;
}

.sw-btn-label {
  white-space: nowrap !important;
}

.sw-collapsible-btn:hover {
  background: rgba(221, 153, 51, 0.18);
  border-color: var(--sw-gold-primary);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(221, 153, 51, 0.3);
}

.sw-collapsible-btn .sw-btn-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.sw-collapsible-btn.sw-expanded .sw-btn-chevron {
  transform: rotate(180deg);
}

/* Trust Card on Right Side (Sunwin Metallic Gold Luxury Frame) */
.sw-about__trust-card {
  position: relative;
  background: #130c0a;
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid rgba(255, 214, 122, 0.45);
  box-shadow: 0 0 25px rgba(221, 153, 51, 0.22), 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 214, 122, 0.12);
  transition: all 0.3s ease;
}

.sw-about__trust-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 21px;
  padding: 1.5px;
  background: linear-gradient(135deg, #ffe6a3 0%, #d4aa4a 40%, #594014 70%, #ffd67a 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sw-about__trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.sw-about__trust-item {
  background: linear-gradient(180deg, #1d1411 0%, #150e0c 100%);
  border: 1px solid rgba(255, 214, 122, 0.22);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.sw-about__trust-item:hover {
  border-color: rgba(255, 214, 122, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(221, 153, 51, 0.25);
}

.sw-about__trust-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #ffb54d;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.sw-about__trust-desc {
  display: block;
  font-size: 13px;
  color: #d8cecf;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. PROFESSIONAL SUNWIN FOOTER (sw-footer)
   -------------------------------------------------------------------------- */
.sw-footer {
  background: #0d0806;
  padding: 56px 20px 32px 20px;
  color: var(--sw-text-main);
  border-top: 1px solid rgba(255, 214, 122, 0.25);
  position: relative;
}

.sw-footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.sw-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
  text-align: left;
  margin-bottom: 36px;
}

.sw-footer__logo-wrapper {
  margin-bottom: 16px;
}

.sw-footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.sw-footer__brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #c9bfb5;
  margin: 0;
  max-width: 380px;
}

.sw-footer__title {
  font-size: 17px;
  font-weight: 800;
  color: #ffb54d;
  margin: 0 0 20px 0;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.sw-footer__links,
.sw-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sw-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1c7bd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sw-footer__links a svg {
  color: #ffb54d;
  transition: transform 0.2s ease;
}

.sw-footer__links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.sw-footer__links a:hover svg {
  color: #ffe6a3;
}

.sw-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #d1c7bd;
}

.sw-footer__contact li svg {
  color: #ffb54d;
  flex-shrink: 0;
  margin-top: 3px;
}

.sw-footer__contact a {
  color: #ffe6a3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sw-footer__contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sw-footer__bottom {
  border-top: 1px solid rgba(255, 215, 128, 0.12);
  padding-top: 24px;
  text-align: center;
}

.sw-footer__disclaimer {
  font-size: 13px;
  color: #a3988e;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.sw-footer__copyright {
  font-size: 12px;
  color: #786e66;
  margin: 0;
}

/* ==========================================================================
   SUNWIN METALLIC GOLD BUTTON SYSTEM (FLATSOME OVERRIDES & SMART CTA)
   Desktop: ĐĂNG KÝ | Android: TẢI APK | iOS: TẢI IOS
   ========================================================================== */
.sw-cta-wrapper {
  display: inline-block;
}

/* Button Left: TÂN THỦ +88K (Bright Metallic Gold) */
.sw-hero__btn--primary {
  background: radial-gradient(circle at top, #ffe6a3 0%, #d4aa4a 45%, #8a641f 100%) !important;
  color: #1a1208 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: 1.5px solid rgba(255, 214, 122, 0.9) !important;
  box-shadow: 0 0 18px rgba(255, 214, 122, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.5) !important;
  border-radius: 99px !important;
  text-shadow: none !important;
  padding: 10px 20px;
  letter-spacing: 0.5px;
}

/* Button Right: ĐĂNG KÝ NHẬN THƯỞNG (Dark Bronze Gold) */
.button.primary,
.header-button a,
.header-button .button,
.sw-smart-cta-btn {
  background: radial-gradient(circle at top, #6e4e16 0%, #3a2608 50%, #120b02 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: 1.5px solid rgba(255, 214, 122, 0.9) !important;
  box-shadow: 0 0 18px rgba(255, 214, 122, 0.4), inset 0 0 6px rgba(255, 255, 255, 0.35) !important;
  border-radius: 99px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  padding: 10px 22px;
  letter-spacing: 0.5px;
}

.button.primary:hover,
.header-button a:hover,
.header-button .button:hover,
.sw-smart-cta-btn:hover,
.sw-hero__btn--primary:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 28px rgba(255, 214, 122, 0.85), inset 0 0 10px rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
}

.button.primary svg,
.header-button a svg,
.header-button .button svg,
.sw-smart-cta-btn svg {
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.flex-col .button,
.flex-col button,
.flex-col input {
  margin-bottom: 0;
}

.header-button .button {
  margin: 0;
}

.sw-cta-content {
  display: none;
  align-items: center;
  gap: 8px;
}

/* Default Desktop View: ĐĂNG KÝ */
.sw-smart-cta-btn[data-os="desktop"] .sw-cta-desktop,
.sw-smart-cta-btn:not([data-os]) .sw-cta-desktop {
  display: inline-flex;
}

/* Android Mobile View: TẢI APK */
.sw-smart-cta-btn[data-os="android"] .sw-cta-android {
  display: inline-flex;
}

/* iOS Mobile View: TẢI IOS */
.sw-smart-cta-btn[data-os="ios"] .sw-cta-ios {
  display: inline-flex;
}

/* Mobile Sticky Bar Desktop Hidden */
.sw-mobile-sticky-bar {
  display: none;
}

.sw-mobile-sticky-bar__container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-mobile-sticky-bar__info {
  display: flex;
  flex-direction: column;
}

.sw-mobile-sticky-bar__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--sw-gold-soft);
}

.sw-mobile-sticky-bar__sub {
  font-size: 11px;
  color: var(--sw-text-sub);
}

.sw-mobile-sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--sw-radius-md);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: var(--sw-green-primary);
  color: #ffffff;
  box-shadow: var(--sw-green-glow);
}

@keyframes swPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.6);
  }

  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MUST BE AT THE VERY BOTTOM)
   ========================================================================== */
@media (max-width: 991px) {
  .sw-hero {
    padding: 32px 16px;
  }

  .sw-hero__container {
    flex-direction: column;
    gap: 20px;
  }

  .sw-hero__right {
    flex: none;
    width: 100%;
    margin-top: 0;
  }

  .sw-nav__grid,
  .sw-why__grid,
  .sw-step__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-category__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-about__layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .sw-about__title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 640px) {
  .sw-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .sw-hero {
    padding: 20px 12px !important;
    overflow: hidden !important;
  }

  .sw-hero__container {
    gap: 16px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sw-hero__left {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sw-hero__badge {
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 5px 10px !important;
    margin-bottom: 12px !important;
  }

  .sw-hero__badge-text {
    font-size: 11px !important;
  }

  .sw-hero__title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .sw-hero__title-accent {
    display: inline !important;
    padding-right: 2px !important;
  }

  .sw-hero__desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  /* 2-Column Equal Width Hero Buttons on Mobile */
  .sw-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sw-hero__btn,
  .sw-hero__btn--primary,
  .sw-smart-cta-btn,
  .button.primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 2px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    border-radius: 99px !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sw-cta-content {
    gap: 3px !important;
  }

  .sw-cta-content svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }

  .sw-collapsible-btn {
    padding: 8px 16px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sw-hero__features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    margin-bottom: 14px !important;
  }

  .sw-hero__feature-item {
    font-size: 12px !important;
  }

  .sw-hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }

  .sw-hero__stat-box {
    padding: 10px 4px !important;
  }

  .sw-hero__stat-val {
    font-size: 15px !important;
  }

  .sw-hero__stat-lbl {
    font-size: 11px !important;
  }

  .sw-nav__grid,
  .sw-download__boxes,
  .sw-transaction__boxes,
  .sw-category__grid,
  .sw-featured__grid,
  .sw-why__grid,
  .sw-step__grid,
  .sw-post__grid {
    grid-template-columns: 1fr !important;
  }

  .sw-about__trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sw-about__trust-item {
    padding: 12px 10px !important;
  }

  .sw-about__trust-title {
    font-size: 14px !important;
  }

  .sw-about__trust-desc {
    font-size: 11px !important;
  }

  .sw-smart-download-btn {
    animation: swPulse 2s infinite !important;
  }

  /* Mobile Device OS Specific Targeting */
  body.sw-is-android .sw-os-ios-only {
    display: none !important;
  }

  body.sw-is-ios .sw-os-android-only {
    display: none !important;
  }

  .sw-download__boxes,
  .sw-nav__grid {
    grid-template-columns: 1fr !important;
  }

  /* Fixed Mobile Sticky Download Bar (Mobile Only) */
  .sw-mobile-sticky-bar {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(19, 12, 10, 0.95) !important;
    border-top: 1px solid rgba(255, 215, 128, 0.3) !important;
    padding: 10px 16px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
  }

  body {
    padding-bottom: 65px !important;
  }
}