/* =========================================
   HILOTHAI1688 - MAIN STYLE
   Theme: Luxury Black & Gold
   Mobile First
========================================= */


/* =========================================
   GLOBAL
========================================= */

body {
  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.08),
      transparent 35%
    ),
    var(--color-bg);

  padding-bottom: calc(
    var(--bottom-nav-height) + env(safe-area-inset-bottom)
  );
}

.site-main {
  width: 100%;
  min-height: 100vh;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);

  width: 100%;
  min-height: var(--header-height);

  background: var(--color-header-bg);

  border-bottom: 1px solid rgba(212, 175, 55, 0.15);

  box-shadow: var(--shadow-sm);
}

.header-container {
  width: 100%;
  max-width: var(--container-width);
  min-height: var(--header-height);

  margin: 0 auto;
  padding: 0 var(--container-padding-mobile);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}


/* =========================================
   LOGO
========================================= */

.site-logo {
  display: inline-flex;
  align-items: center;

  font-size: 30px;
  font-weight: 900;
  line-height: 1;

  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    #fff3a6 0%,
    #d4af37 45%,
    #a67c00 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  text-decoration: none;
}




/* =========================================
   HAMBURGER MENU BUTTON
========================================= */

.menu-toggle {
  width: 46px;
  height: 46px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.03);

  transition:
    background var(--transition-normal),
    border-color var(--transition-normal);
}

.menu-toggle span {
  display: block;

  width: 22px;
  height: 2px;

  background: var(--color-primary);

  border-radius: var(--radius-full);

  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal);
}

.menu-toggle:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-primary);
}


/* Hamburger Active */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;

  padding: var(--space-3) var(--container-padding-mobile)
    var(--space-5);

  display: none;
  flex-direction: column;

  background: rgba(8, 8, 8, 0.98);

  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);

  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  width: 100%;

  padding: 15px 10px;

  color: var(--color-text-secondary);

  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--color-primary);
  padding-left: 16px;
}


/* =========================================
   HERO SECTION
========================================= */

.hero-section {
  position: relative;

  width: 100%;

  padding:
    var(--space-10)
    var(--container-padding-mobile)
    var(--space-8);

  overflow: hidden;
}

.hero-section::before {
  content: "";

  position: absolute;
  top: -150px;
  left: 50%;

  width: 400px;
  height: 400px;

  transform: translateX(-50%);

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12),
    transparent 65%
  );

  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 760px;

  margin: 0 auto;
}


/* =========================================
   HERO HEADING
========================================= */

.hero-heading {
  margin-bottom: var(--space-6);

  text-align: center;
}

.hero-heading h1 {
  margin-bottom: var(--space-2);

  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: var(--font-weight-extra-bold);
  line-height: 1.15;

  color: var(--color-primary);

  text-shadow:
    0 2px 15px rgba(212, 175, 55, 0.25);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);

  color: var(--color-text);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {
  width: 100%;

  margin: var(--space-6) auto;

  overflow: hidden;

  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-xl);

  background: var(--gradient-card);

  box-shadow:
    var(--shadow-lg),
    var(--shadow-gold);
}

.hero-image img {
  width: 100%;
  height: auto;

  object-fit: cover;
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
  margin-top: var(--space-6);

  padding: var(--space-5);

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.hero-content p {
  color: var(--color-text-secondary);

  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}


/* =========================================
   CTA BUTTONS
========================================= */

.cta-buttons {
  width: 100%;

  margin-top: var(--space-6);

  display: flex;
  flex-direction: column;

  gap: var(--space-3);
}

.btn {
  position: relative;

  width: 100%;
  min-height: var(--button-height);

  padding: 0 var(--space-5);

  display: flex;
  align-items: center;

  border-radius: var(--button-radius);

  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);

  overflow: hidden;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 35px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  font-size: 1.5rem;
}

.btn-text {
  flex: 1;

  text-align: center;
}

.btn-arrow {
  width: 35px;

  text-align: right;

  font-size: 2rem;
  font-weight: var(--font-weight-normal);
}


/* Register Button */

.btn-register {
  color: var(--color-text-dark);

  background: var(--gradient-gold-button);

  border: 1px solid var(--color-primary-light);

  box-shadow: var(--shadow-gold);
}

.btn-register:hover {
  box-shadow: var(--shadow-gold-strong);
}


/* Login Button */

.btn-login {
  color: var(--color-text);

  background: var(--gradient-dark);

  border: 1px solid rgba(212, 175, 55, 0.5);

  box-shadow: var(--shadow-md);
}

.btn-login .btn-icon,
.btn-login .btn-arrow {
  color: var(--color-primary);
}

.btn-login:hover {
  border-color: var(--color-primary);

  box-shadow: var(--shadow-gold);
}


/* =========================================
   CONTENT SECTION
========================================= */

.content-section {
  width: 100%;

  padding:
    var(--space-6)
    var(--container-padding-mobile)
    var(--space-12);
}

.content-container {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;
}

.content-container article {
  margin-bottom: var(--space-6);

  padding: var(--space-6);

  background: var(--gradient-card);

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);
}

.content-container article:last-child {
  margin-bottom: 0;
}

.content-container h2 {
  position: relative;

  margin-bottom: var(--space-4);
  padding-left: var(--space-4);

  font-size: var(--font-size-xl);
  line-height: 1.4;

  color: var(--color-primary);
}

.content-container h2::before {
  content: "";

  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;

  width: 3px;

  background: var(--gradient-gold);

  border-radius: var(--radius-full);
}

.content-container p {
  color: var(--color-text-secondary);

  line-height: var(--line-height-relaxed);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  width: 100%;

  padding:
    var(--space-8)
    var(--container-padding-mobile);

  text-align: center;

  background: var(--color-bg-dark);

  border-top: 1px solid var(--color-border);
}

.site-footer p {
  color: var(--color-text-muted);

  font-size: var(--font-size-sm);
}


/* =========================================
   STICKY BOTTOM NAVIGATION
========================================= */

.bottom-navigation {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: var(--z-bottom-nav);

  width: 100%;
  min-height: var(--bottom-nav-height);

  padding-bottom: env(safe-area-inset-bottom);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: var(--color-bottom-nav-bg);

  border-top: 1px solid rgba(212, 175, 55, 0.3);

  box-shadow:
    0 -8px 30px rgba(0, 0, 0, 0.65);
}


/* =========================================
   BOTTOM NAV ITEM
========================================= */

.bottom-nav-item {
  position: relative;

  min-width: 0;
  min-height: var(--bottom-nav-height);

  padding: 8px 4px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;

  color: var(--color-text-muted);

  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.bottom-nav-item::after {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: 0;
  height: 2px;

  transform: translateX(-50%);

  background: var(--gradient-gold);

  transition: width var(--transition-normal);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--color-primary);
}

.bottom-nav-item.active::after {
  width: 45%;
}

.bottom-nav-item.active {
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.08),
    transparent
  );
}


/* Bottom Navigation Icon */

.nav-icon {
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-primary);

  font-size: 1.55rem;
  line-height: 1;
}


/* Bottom Navigation Text */

.nav-text {
  max-width: 100%;

  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================
   SAFE AREA - iPhone
========================================= */

@supports (
  padding-bottom: env(safe-area-inset-bottom)
) {

  .bottom-navigation {
    padding-bottom: env(safe-area-inset-bottom);
  }

  body {
    padding-bottom: calc(
      var(--bottom-nav-height) +
      env(safe-area-inset-bottom)
    );
  }

}

/* =========================================
   BOTTOM NAV SVG ICON FIX
========================================= */

.nav-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #D4AF37;
}

.nav-icon svg {
  display: block;

  width: 24px;
  height: 24px;

  fill: none !important;
  stroke: #D4AF37 !important;

  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  overflow: visible;
}

.nav-icon svg path,
.nav-icon svg circle,
.nav-icon svg rect,
.nav-icon svg line,
.nav-icon svg polyline {
  fill: none;
  stroke: #D4AF37;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Active */

.bottom-nav-item.active .nav-icon svg {
  stroke: #FFD76A !important;

  filter: drop-shadow(
    0 0 5px rgba(212, 175, 55, 0.6)
  );
}


/* Active Child Elements */

.bottom-nav-item.active .nav-icon svg path,
.bottom-nav-item.active .nav-icon svg circle,
.bottom-nav-item.active .nav-icon svg rect {
  stroke: #FFD76A;
}


/* =========================================
   PROMOTION PAGE
========================================= */

.promotion-hero {
  position: relative;

  padding:
    var(--space-10)
    var(--container-padding-mobile)
    var(--space-8);

  text-align: center;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.15),
      transparent 55%
    );
}

.promotion-container {
  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
}

.section-label {
  display: inline-block;

  margin-bottom: var(--space-3);

  color: var(--color-primary);

  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);

  letter-spacing: 2px;
}

.promotion-hero h1 {
  margin-bottom: var(--space-4);

  color: var(--color-primary);

  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: var(--font-weight-extra-bold);
}

.promotion-hero p {
  max-width: 650px;

  margin: 0 auto;

  color: var(--color-text-secondary);

  line-height: var(--line-height-relaxed);
}


/* =========================================
   PROMOTION SECTION
========================================= */

.promotion-section {
  padding:
    0
    var(--container-padding-mobile)
    var(--space-12);
}

.promotion-grid {
  display: grid;
  grid-template-columns: 1fr;

  gap: var(--space-6);
}


/* =========================================
   PROMOTION CARD
========================================= */

.promotion-card {
  overflow: hidden;

  background: var(--gradient-card);

  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}


/* Promotion Image */

.promotion-image {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: var(--color-bg-soft);
}

.promotion-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform var(--transition-slow);
}


/* Promotion Content */

.promotion-card-content {
  padding: var(--space-5);
}


/* Badge */

.promotion-badge {
  display: inline-flex;

  margin-bottom: var(--space-3);
  padding: 6px 12px;

  color: var(--color-text-dark);

  background: var(--gradient-gold-button);

  border-radius: var(--radius-full);

  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
}


/* Heading */

.promotion-card h2 {
  margin-bottom: var(--space-3);

  color: var(--color-text);

  font-size: var(--font-size-lg);
  line-height: 1.4;
}


/* Description */

.promotion-card p {
  margin-bottom: var(--space-5);

  color: var(--color-text-secondary);

  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}


/* =========================================
   PROMOTION BUTTON
========================================= */

.promotion-button {
  width: 100%;
  min-height: 50px;

  padding: 0 var(--space-4);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--color-text-dark);

  background: var(--gradient-gold-button);

  border-radius: var(--radius-md);

  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-normal);
}

.promotion-button:active {
  transform: scale(0.98);
}


/* =========================================
   PROMOTION HOVER
========================================= */

@media (hover: hover) {

  .promotion-card:hover {
    transform: translateY(-5px);

    border-color: rgba(212, 175, 55, 0.5);

    box-shadow:
      var(--shadow-lg),
      var(--shadow-gold);
  }

  .promotion-card:hover
  .promotion-image img {
    transform: scale(1.05);
  }

  .promotion-button:hover {
    box-shadow: var(--shadow-gold);
  }

}


/* =========================================
   PROMOTION TABLET
========================================= */

@media (min-width: 768px) {

  .promotion-hero {
    padding:
      var(--space-12)
      var(--container-padding-tablet)
      var(--space-10);
  }

  .promotion-section {
    padding:
      0
      var(--container-padding-tablet)
      var(--space-16);
  }

  .promotion-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================
   PROMOTION DESKTOP
========================================= */

@media (min-width: 1024px) {

  .promotion-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .promotion-card-content {
    padding: var(--space-6);
  }

}




/* =========================================
   REGISTER PAGE
========================================= */

.register-page {
  position: relative;

  min-height: calc(
    100vh -
    var(--header-height) -
    var(--bottom-nav-height)
  );

  padding:
    var(--space-12)
    var(--container-padding-mobile);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* Background Glow */

.register-page::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 450px;
  height: 450px;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12),
    transparent 65%
  );

  pointer-events: none;
}


/* =========================================
   REGISTER CONTAINER
========================================= */

.register-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 600px;

  padding:
    var(--space-10)
    var(--space-5);

  text-align: center;

  background: linear-gradient(
    145deg,
    rgba(25, 25, 25, 0.95),
    rgba(8, 8, 8, 0.98)
  );

  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-xl);

  box-shadow:
    var(--shadow-lg),
    var(--shadow-gold);
}


/* =========================================
   REGISTER ICON
========================================= */

.register-icon {
  width: 90px;
  height: 90px;

  margin:
    0
    auto
    var(--space-6);

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(212, 175, 55, 0.07);

  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;

  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.1);
}


/* =========================================
   REGISTER HEADING
========================================= */

.register-container h1 {
  margin-bottom: var(--space-4);

  color: var(--color-primary);

  font-size: clamp(
    2rem,
    9vw,
    3rem
  );

  font-weight:
    var(--font-weight-extra-bold);
}


/* =========================================
   REGISTER DESCRIPTION
========================================= */

.register-description {
  max-width: 450px;

  margin:
    0
    auto
    var(--space-8);

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   MAIN REGISTER BUTTON
========================================= */

.register-main-button {
  width: 100%;
  min-height: 75px;

  padding:
    0
    var(--space-5);

  display: flex;
  align-items: center;

  color:
    var(--color-text-dark);

  background:
    var(--gradient-gold-button);

  border:
    1px solid
    var(--color-primary-light);

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-gold);

  font-size:
    var(--font-size-lg);

  font-weight:
    var(--font-weight-bold);

  transition:
    transform
    var(--transition-fast),
    box-shadow
    var(--transition-normal);
}


/* Icon */

.register-button-icon {
  width: 40px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}


/* Text */

.register-button-text {
  flex: 1;

  text-align: center;
}


/* Arrow */

.register-button-arrow {
  width: 40px;

  text-align: right;

  font-size: 1.8rem;
}


/* Hover */

@media (hover: hover) {

  .register-main-button:hover {
    transform:
      translateY(-3px);

    box-shadow:
      var(--shadow-gold-strong);
  }

}


/* Active */

.register-main-button:active {
  transform:
    scale(0.98);
}


/* =========================================
   REGISTER NOTE
========================================= */

.register-note {
  margin-top:
    var(--space-5);

  color:
    var(--color-text-muted);

  font-size:
    var(--font-size-xs);
}


/* =========================================
   TABLET / DESKTOP
========================================= */

@media (min-width: 768px) {

  .register-container {
    padding:
      var(--space-12)
      var(--space-10);
  }

  .register-main-button {
    min-height: 80px;

    font-size:
      var(--font-size-xl);
  }

}


/* =========================================
   LOGIN PAGE
========================================= */

.login-page {
  position: relative;

  min-height: calc(
    100vh -
    var(--header-height) -
    var(--bottom-nav-height)
  );

  padding:
    var(--space-12)
    var(--container-padding-mobile);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* Background Glow */

.login-page::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 450px;
  height: 450px;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12),
    transparent 65%
  );

  pointer-events: none;
}


/* =========================================
   LOGIN CONTAINER
========================================= */

.login-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 600px;

  padding:
    var(--space-10)
    var(--space-5);

  text-align: center;

  background: linear-gradient(
    145deg,
    rgba(25, 25, 25, 0.95),
    rgba(8, 8, 8, 0.98)
  );

  border: 1px solid rgba(212, 175, 55, 0.25);

  border-radius: var(--radius-xl);

  box-shadow:
    var(--shadow-lg),
    var(--shadow-gold);
}


/* =========================================
   LOGIN ICON
========================================= */

.login-icon {
  width: 90px;
  height: 90px;

  margin:
    0
    auto
    var(--space-6);

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(212, 175, 55, 0.07);

  border:
    1px solid
    rgba(212, 175, 55, 0.3);

  border-radius: 50%;

  box-shadow:
    0 0 30px
    rgba(212, 175, 55, 0.1);
}


/* =========================================
   LOGIN HEADING
========================================= */

.login-container h1 {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-primary);

  font-size:
    clamp(
      2rem,
      9vw,
      3rem
    );

  font-weight:
    var(--font-weight-extra-bold);
}


/* =========================================
   DESCRIPTION
========================================= */

.login-description {
  max-width: 450px;

  margin:
    0
    auto
    var(--space-8);

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   LOGIN MAIN BUTTON
========================================= */

.login-main-button {
  width: 100%;
  min-height: 75px;

  padding:
    0
    var(--space-5);

  display: flex;
  align-items: center;

  color:
    var(--color-text-dark);

  background:
    var(--gradient-gold-button);

  border:
    1px solid
    var(--color-primary-light);

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-gold);

  font-size:
    var(--font-size-lg);

  font-weight:
    var(--font-weight-bold);

  transition:
    transform
    var(--transition-fast),
    box-shadow
    var(--transition-normal);
}


.login-button-icon {
  width: 40px;

  display: flex;
  align-items: center;
}


.login-button-text {
  flex: 1;

  text-align: center;
}


.login-button-arrow {
  width: 40px;

  text-align: right;

  font-size: 1.8rem;
}


.login-main-button:active {
  transform: scale(0.98);
}


@media (hover: hover) {

  .login-main-button:hover {
    transform:
      translateY(-3px);

    box-shadow:
      var(--shadow-gold-strong);
  }

}


/* =========================================
   REGISTER LINK
========================================= */

.login-register {
  margin-top:
    var(--space-6);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: var(--space-2);

  font-size:
    var(--font-size-sm);
}


.login-register p {
  color:
    var(--color-text-secondary);
}


.login-register a {
  color:
    var(--color-primary);

  font-weight:
    var(--font-weight-bold);
}


.login-register a:hover {
  text-decoration: underline;
}


/* =========================================
   LOGIN NOTE
========================================= */

.login-note {
  margin-top:
    var(--space-4);

  color:
    var(--color-text-muted);

  font-size:
    var(--font-size-xs);
}


/* =========================================
   TABLET / DESKTOP
========================================= */

@media (min-width: 768px) {

  .login-container {
    padding:
      var(--space-12)
      var(--space-10);
  }

  .login-main-button {
    min-height: 80px;

    font-size:
      var(--font-size-xl);
  }

}

/* =========================================
   ABOUT PAGE
========================================= */

.about-hero {
  position: relative;

  padding:
    var(--space-12)
    var(--container-padding-mobile)
    var(--space-8);

  text-align: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.14),
      transparent 55%
    );
}


.about-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1000px;

  margin: 0 auto;
}


.about-hero h1 {
  margin-bottom: var(--space-4);

  color: var(--color-primary);

  font-size: clamp(
    2rem,
    9vw,
    3.2rem
  );

  font-weight:
    var(--font-weight-extra-bold);
}


.about-hero-description {
  max-width: 650px;

  margin: 0 auto;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
  padding:
    0
    var(--container-padding-mobile)
    var(--space-12);
}


/* =========================================
   ABOUT MAIN CARD
========================================= */

.about-main-card {
  padding: var(--space-6);

  background:
    var(--gradient-card);

  border:
    1px solid
    rgba(212, 175, 55, 0.2);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-md);
}


.about-icon {
  width: 70px;
  height: 70px;

  margin-bottom:
    var(--space-5);

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(212, 175, 55, 0.07);

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius: 50%;
}


.about-main-content h2 {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-xl);
}


.about-main-content p {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.about-main-content p:last-child {
  margin-bottom: 0;
}


/* =========================================
   ABOUT FEATURES
========================================= */

.about-features {
  margin-top:
    var(--space-6);

  display: grid;

  grid-template-columns:
    1fr;

  gap:
    var(--space-4);
}


.about-feature-card {
  padding:
    var(--space-6);

  text-align: center;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-lg);

  transition:
    transform
    var(--transition-normal),
    border-color
    var(--transition-normal);
}


.about-feature-icon {
  width: 60px;
  height: 60px;

  margin:
    0
    auto
    var(--space-4);

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(212, 175, 55, 0.07);

  border-radius: 50%;
}


.about-feature-card h3 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-md);
}


.about-feature-card p {
  color:
    var(--color-text-secondary);

  font-size:
    var(--font-size-sm);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   ABOUT CONTENT CARDS
========================================= */

.about-content-card {
  margin-top:
    var(--space-6);

  padding:
    var(--space-6);

  display: flex;

  gap:
    var(--space-5);

  background:
    var(--gradient-card);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-lg);
}


.about-number {
  flex-shrink: 0;

  color:
    var(--color-primary);

  font-size:
    var(--font-size-2xl);

  font-weight:
    var(--font-weight-extra-bold);

  opacity: 0.7;
}


.about-content-card h2 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-lg);
}


.about-content-card p {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   ABOUT CTA
========================================= */

.about-cta {
  margin-top:
    var(--space-8);

  padding:
    var(--space-8)
    var(--space-5);

  text-align: center;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.12),
      transparent 65%
    ),
    var(--gradient-card);

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-md);
}


.about-cta h2 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-2xl);
}


.about-cta p {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.about-cta-buttons {
  margin-top:
    var(--space-6);

  display: flex;
  flex-direction: column;

  gap:
    var(--space-3);
}


/* =========================================
   ABOUT TABLET
========================================= */

@media (min-width: 768px) {

  .about-hero {
    padding:
      var(--space-16)
      var(--container-padding-tablet)
      var(--space-10);
  }


  .about-section {
    padding:
      0
      var(--container-padding-tablet)
      var(--space-16);
  }


  .about-main-card {
    padding:
      var(--space-8);
  }


  .about-features {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }


  .about-cta {
    padding:
      var(--space-10);
  }


  .about-cta-buttons {
    max-width: 600px;

    margin-left: auto;
    margin-right: auto;

    flex-direction: row;
  }


  .about-cta-buttons .btn {
    width: 50%;
  }

}


/* =========================================
   ABOUT HOVER
========================================= */

@media (hover: hover) {

  .about-feature-card:hover {
    transform:
      translateY(-4px);

    border-color:
      rgba(212, 175, 55, 0.4);
  }

}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-hero {
  position: relative;

  padding:
    var(--space-12)
    var(--container-padding-mobile)
    var(--space-8);

  text-align: center;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.14),
      transparent 55%
    );
}


.contact-container {
  width: 100%;
  max-width: 800px;

  margin: 0 auto;
}


.contact-hero h1 {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-primary);

  font-size:
    clamp(
      2rem,
      9vw,
      3.2rem
    );

  font-weight:
    var(--font-weight-extra-bold);
}


.contact-hero p {
  max-width: 600px;

  margin: 0 auto;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
  padding:
    0
    var(--container-padding-mobile)
    var(--space-12);
}


/* =========================================
   CONTACT MAIN CARD
========================================= */

.contact-main-card {
  padding:
    var(--space-8)
    var(--space-5);

  text-align: center;

  background:
    var(--gradient-card);

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-lg),
    var(--shadow-gold);
}


/* =========================================
   CONTACT MAIN ICON
========================================= */

.contact-main-icon {
  width: 90px;
  height: 90px;

  margin:
    0
    auto
    var(--space-5);

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(212, 175, 55, 0.07);

  border:
    1px solid
    rgba(212, 175, 55, 0.3);

  border-radius: 50%;
}


/* =========================================
   CONTACT HEADING
========================================= */

.contact-main-card h2 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-2xl);
}


.contact-description {
  margin-bottom:
    var(--space-8);

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   CONTACT BUTTONS
========================================= */

.contact-buttons {
  display: flex;
  flex-direction: column;

  gap:
    var(--space-4);
}


.contact-button {
  width: 100%;
  min-height: 75px;

  padding:
    var(--space-3)
    var(--space-5);

  display: flex;
  align-items: center;

  color:
    var(--color-text-dark);

  background:
    var(--gradient-gold-button);

  border:
    1px solid
    var(--color-primary-light);

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-gold);

  text-align: left;

  transition:
    transform
    var(--transition-fast),
    box-shadow
    var(--transition-normal);
}


/* Dark Contact Button */

.contact-button-dark {
  color:
    var(--color-text);

  background:
    var(--gradient-dark);

  border-color:
    rgba(212, 175, 55, 0.5);

  box-shadow:
    var(--shadow-md);
}


/* =========================================
   CONTACT BUTTON ICON
========================================= */

.contact-button-icon {
  width: 45px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
}


/* =========================================
   CONTACT BUTTON CONTENT
========================================= */

.contact-button-content {
  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 2px;
}


.contact-button-content strong {
  font-size:
    var(--font-size-md);
}


.contact-button-content small {
  font-size:
    var(--font-size-xs);

  opacity: 0.75;
}


.contact-button-arrow {
  width: 35px;

  text-align: right;

  font-size: 1.8rem;
}


/* =========================================
   CONTACT BUTTON INTERACTION
========================================= */

.contact-button:active {
  transform:
    scale(0.98);
}


@media (hover: hover) {

  .contact-button:hover {
    transform:
      translateY(-3px);

    box-shadow:
      var(--shadow-gold-strong);
  }

}


/* =========================================
   CONTACT NOTE
========================================= */

.contact-note {
  margin-top:
    var(--space-6);

  padding:
    var(--space-4);

  display: flex;
  align-items: center;
  justify-content: center;

  gap:
    var(--space-2);

  color:
    var(--color-text-muted);

  background:
    rgba(255, 255, 255, 0.025);

  border-radius:
    var(--radius-md);

  font-size:
    var(--font-size-xs);
}


.contact-note svg {
  flex-shrink: 0;

  color:
    var(--color-primary);
}


/* =========================================
   CONTACT HELP
========================================= */

.contact-help {
  margin-top:
    var(--space-6);

  padding:
    var(--space-6);

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-lg);
}


.contact-help h2 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-lg);
}


.contact-help p {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   CONTACT TABLET / DESKTOP
========================================= */

@media (min-width: 768px) {

  .contact-hero {
    padding:
      var(--space-16)
      var(--container-padding-tablet)
      var(--space-10);
  }


  .contact-section {
    padding:
      0
      var(--container-padding-tablet)
      var(--space-16);
  }


  .contact-main-card {
    padding:
      var(--space-10);
  }


  .contact-buttons {
    max-width: 600px;

    margin:
      0
      auto;
  }

}

/* =========================================
   PAGE TEMPLATE
========================================= */

.page-container {
  width: 100%;
  max-width: 900px;

  margin: 0 auto;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
  padding:
    var(--space-12)
    var(--container-padding-mobile)
    var(--space-8);

  text-align: center;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.14),
      transparent 55%
    );
}


.page-hero h1 {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-primary);

  font-size:
    clamp(2rem, 9vw, 3.2rem);

  font-weight:
    var(--font-weight-extra-bold);
}


.page-hero p {
  max-width: 650px;

  margin: 0 auto;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   PAGE CONTENT
========================================= */

.page-content-section {
  padding:
    0
    var(--container-padding-mobile)
    var(--space-12);
}


/* =========================================
   ARTICLE
========================================= */

.page-article {
  padding:
    var(--space-6);

  background:
    var(--gradient-card);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-md);
}


.page-article h2 {
  margin:
    var(--space-8)
    0
    var(--space-4);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-xl);
}


.page-article h2:first-child {
  margin-top: 0;
}


.page-article h3 {
  margin:
    var(--space-6)
    0
    var(--space-3);

  color:
    var(--color-primary-light);

  font-size:
    var(--font-size-lg);
}


.page-article p {
  margin-bottom:
    var(--space-4);

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.page-article p:last-child {
  margin-bottom: 0;
}


/* =========================================
   PAGE CONTACT
========================================= */

.page-contact-card {
  margin-top:
    var(--space-6);

  padding:
    var(--space-8)
    var(--space-5);

  background:
    var(--gradient-card);

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-md);

  text-align: center;
}


.page-contact-icon {
  width: 75px;
  height: 75px;

  margin:
    0
    auto
    var(--space-4);

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(212, 175, 55, 0.07);

  border-radius: 50%;
}


.page-contact-header h2 {
  margin-bottom:
    var(--space-3);

  color:
    var(--color-primary);
}


.page-contact-header p {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* Contact Buttons */

.page-contact-buttons {
  margin-top:
    var(--space-6);

  display: flex;
  flex-direction: column;

  gap:
    var(--space-3);
}


.page-contact-button {
  min-height: 70px;

  padding:
    var(--space-3)
    var(--space-4);

  display: flex;
  align-items: center;

  color:
    var(--color-text-dark);

  background:
    var(--gradient-gold-button);

  border-radius:
    var(--radius-lg);

  text-align: left;

  transition:
    transform
    var(--transition-fast),
    box-shadow
    var(--transition-normal);
}


.page-contact-button-dark {
  color:
    var(--color-text);

  background:
    var(--gradient-dark);

  border:
    1px solid
    rgba(212, 175, 55, 0.4);
}


.page-contact-button-icon {
  width: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
}


.page-contact-button-text {
  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 2px;
}


.page-contact-button-text strong {
  font-size:
    var(--font-size-base);
}


.page-contact-button-text small {
  font-size:
    var(--font-size-xs);

  opacity: 0.7;
}


.page-contact-arrow {
  font-size: 1.5rem;
}


/* =========================================
   HELP CARD
========================================= */

.page-help-card {
  margin-top:
    var(--space-6);

  padding:
    var(--space-6);

  display: flex;

  gap:
    var(--space-4);

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-lg);
}


.page-box-icon {
  flex-shrink: 0;
}


.page-help-card h2 {
  margin-bottom:
    var(--space-2);

  color:
    var(--color-primary);

  font-size:
    var(--font-size-lg);
}


.page-help-card p {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   KEYWORDS + RELATED
========================================= */

.popular-keywords-card,
.related-articles-card {
  margin-top:
    var(--space-6);

  padding:
    var(--space-6);

  background:
    var(--gradient-card);

  border:
    1px solid
    var(--color-border);

  border-radius:
    var(--radius-lg);
}


.page-section-heading {
  margin-bottom:
    var(--space-5);

  display: flex;
  align-items: center;

  gap:
    var(--space-3);
}


.page-heading-icon {
  display: flex;

  color:
    var(--color-primary);
}


.page-section-heading h2 {
  color:
    var(--color-primary);

  font-size:
    var(--font-size-xl);
}


/* =========================================
   KEYWORDS
========================================= */

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.keyword-list span {
  display: inline-flex;
  align-items: center;

  padding: 8px 14px;

  color: var(--color-primary);

  background: rgba(212, 175, 55, 0.07);

  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);

  font-size: var(--font-size-sm);
  line-height: 1.4;
}

/* =========================================
   RELATED ARTICLES
========================================= */

.related-article-list {
  display: flex;
  flex-direction: column;

  gap:
    var(--space-2);
}


.related-article-item {
  min-height: 70px;

  padding:
    var(--space-3);

  display: flex;
  align-items: center;

  gap:
    var(--space-3);

  background:
    rgba(255, 255, 255, 0.025);

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

  border-radius:
    var(--radius-md);

  transition:
    background
    var(--transition-fast),
    border-color
    var(--transition-fast),
    transform
    var(--transition-fast);
}


.related-article-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color:
    var(--color-primary);

  background:
    rgba(212, 175, 55, 0.08);

  border-radius:
    var(--radius-md);
}


.related-article-content {
  min-width: 0;

  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 3px;
}


.related-article-content strong {
  color:
    var(--color-text);

  font-size:
    var(--font-size-sm);
}


.related-article-content small {
  color:
    var(--color-text-muted);

  font-size:
    var(--font-size-xs);
}


.related-article-arrow {
  color:
    var(--color-primary);

  font-size: 1.6rem;
}


/* =========================================
   HOVER
========================================= */

@media (hover: hover) {

  .page-contact-button:hover {
    transform:
      translateY(-2px);

    box-shadow:
      var(--shadow-gold);
  }


  .keyword-list a:hover {
    background:
      rgba(212, 175, 55, 0.15);

    border-color:
      var(--color-primary);
  }


  .related-article-item:hover {
    transform:
      translateX(4px);

    background:
      rgba(212, 175, 55, 0.05);

    border-color:
      rgba(212, 175, 55, 0.3);
  }

}


/* =========================================
   TABLET
========================================= */

@media (min-width: 768px) {

  .page-hero {
    padding:
      var(--space-16)
      var(--container-padding-tablet)
      var(--space-10);
  }


  .page-content-section {
    padding:
      0
      var(--container-padding-tablet)
      var(--space-16);
  }


  .page-article {
    padding:
      var(--space-8);
  }


  .page-contact-card {
    padding:
      var(--space-10);
  }


  .page-contact-buttons {
    max-width: 650px;

    margin-left: auto;
    margin-right: auto;
  }

}



/* =========================================
   HOME PAGE V2
========================================= */

/*
  Container กลางของหน้าแรก
  ทุก Section ใช้ความกว้างเดียวกัน
*/

.home-container {
  width: 100%;
  max-width: 1000px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 16px;
  padding-right: 16px;

  box-sizing: border-box;
}


/* =========================================
   HOME SECTIONS
========================================= */

.home-hero,
.home-content-section,
.home-related-section,
.home-faq-section,
.home-final-cta {
  width: 100%;

  padding-top: 16px;
  padding-bottom: 16px;

  box-sizing: border-box;
}


/* =========================================
   GLOBAL HOME CARD
========================================= */

.home-card {
  width: 100%;

  box-sizing: border-box;

  padding: 24px;

  background:
    var(--gradient-card);

  border:
    1px solid
    rgba(212, 175, 55, 0.20);

  border-radius:
    var(--radius-xl);

  box-shadow:
    var(--shadow-md);
}


/* =========================================
   HERO CARD
========================================= */

.hero-card {
  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.15),
      transparent 50%
    ),
    var(--gradient-card);

  border-color:
    rgba(212, 175, 55, 0.30);
}


/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
  position: relative;

  z-index: 1;

  width: 100%;
}


.hero-content h1 {
  margin-top: 8px;
  margin-bottom: 18px;

  color:
    var(--color-primary);

  font-size:
    clamp(
      2rem,
      8vw,
      3.5rem
    );

  font-weight:
    var(--font-weight-extra-bold);

  line-height: 1.25;
}


/* =========================================
   HERO INTRO
========================================= */

.hero-intro {
  margin-bottom: 28px;

  color:
    var(--color-text-secondary);

  font-size:
    var(--font-size-base);

  line-height:
    var(--line-height-relaxed);
}


.hero-intro p {
  margin: 0;
}


/* =========================================
   HERO BUTTONS

   MOBILE
   บน -> ล่าง
========================================= */

.hero-buttons {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 12px;
}


/* =========================================
   HERO BUTTON
========================================= */

.hero-btn {
  width: 100%;
  min-height: 72px;

  box-sizing: border-box;

  padding:
    12px
    16px;

  display: flex;
  align-items: center;

  gap: 14px;

  border-radius:
    var(--radius-lg);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


/* =========================================
   REGISTER BUTTON
========================================= */

.hero-btn-register {
  color: #111;

  background:
    var(--gradient-gold-button);

  border:
    1px solid
    var(--color-primary-light);

  box-shadow:
    var(--shadow-gold);
}


/* =========================================
   LOGIN BUTTON
========================================= */

.hero-btn-login {
  color:
    var(--color-text);

  background:
    var(--gradient-dark);

  border:
    1px solid
    rgba(212, 175, 55, 0.45);

  box-shadow:
    var(--shadow-md);
}


/* =========================================
   BUTTON ICON
========================================= */

.hero-btn-icon {
  width: 46px;
  height: 46px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(0, 0, 0, 0.12);
}


.hero-btn-icon svg {
  display: block;
}


.hero-btn-login .hero-btn-icon {
  color:
    var(--color-primary);

  background:
    rgba(212, 175, 55, 0.08);

  border:
    1px solid
    rgba(212, 175, 55, 0.18);
}


/* =========================================
   BUTTON TEXT
========================================= */

.hero-btn-text {
  min-width: 0;

  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 3px;
}


.hero-btn-text strong {
  font-size: 16px;

  font-weight:
    var(--font-weight-bold);

  line-height: 1.3;
}


.hero-btn-text small {
  font-size: 12px;

  opacity: 0.72;

  line-height: 1.3;
}


/* =========================================
   BUTTON ARROW
========================================= */

.hero-btn-arrow {
  flex-shrink: 0;

  font-size: 24px;

  line-height: 1;
}


/* =========================================
   SEO CONTENT
========================================= */

.home-content-section
.home-container {
  display: flex;
  flex-direction: column;

  gap: 16px;
}


.seo-section {
  margin: 0;
}


.seo-section h2 {
  margin:
    0
    0
    16px;

  color:
    var(--color-primary);

  font-size:
    var(--font-size-xl);

  line-height: 1.4;
}


.seo-text {
  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.seo-text p {
  margin: 0;
}


/* =========================================
   SECTION HEADING
========================================= */

.home-section-heading {
  margin-bottom: 24px;
}


.home-section-heading h2 {
  margin:
    8px
    0
    8px;

  color:
    var(--color-primary);

  font-size:
    var(--font-size-2xl);

  line-height: 1.4;
}


.home-section-heading p {
  margin: 0;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


/* =========================================
   RELATED ARTICLES
========================================= */

.related-article-list {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 10px;
}


.related-article-item {
  width: 100%;
  min-height: 72px;

  box-sizing: border-box;

  padding: 12px;

  display: flex;
  align-items: center;

  gap: 12px;

  background:
    rgba(255, 255, 255, 0.025);

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

  border-radius:
    var(--radius-md);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}


/* Article Icon */

.related-article-icon {
  width: 44px;
  height: 44px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color:
    var(--color-primary);

  background:
    rgba(212, 175, 55, 0.08);

  border:
    1px solid
    rgba(212, 175, 55, 0.12);

  border-radius:
    var(--radius-md);
}


/* Article Content */

.related-article-content {
  min-width: 0;

  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 4px;
}


.related-article-content strong {
  color:
    var(--color-text);

  font-size:
    var(--font-size-sm);

  line-height: 1.4;
}


.related-article-content small {
  color:
    var(--color-text-muted);

  font-size:
    var(--font-size-xs);

  line-height: 1.4;
}


/* Article Arrow */

.related-article-arrow {
  flex-shrink: 0;

  color:
    var(--color-primary);

  font-size: 26px;
}


/* =========================================
   FAQ
========================================= */

.faq-list {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: 10px;
}


.faq-item {
  width: 100%;

  overflow: hidden;

  box-sizing: border-box;

  background:
    rgba(255, 255, 255, 0.025);

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

  border-radius:
    var(--radius-md);
}


.faq-item summary {
  position: relative;

  padding:
    18px
    50px
    18px
    18px;

  color:
    var(--color-text);

  font-weight:
    var(--font-weight-bold);

  line-height: 1.5;

  cursor: pointer;

  list-style: none;
}


.faq-item summary::-webkit-details-marker {
  display: none;
}


.faq-item summary::after {
  content: "+";

  position: absolute;

  top: 50%;
  right: 18px;

  transform:
    translateY(-50%);

  color:
    var(--color-primary);

  font-size: 24px;

  font-weight: 400;
}


.faq-item[open]
summary::after {
  content: "−";
}


.faq-answer {
  padding:
    0
    18px
    18px;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.faq-answer p {
  margin: 0;
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta-card {
  text-align: center;

  background:
    radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.15),
      transparent 60%
    ),
    var(--gradient-card);

  border-color:
    rgba(212, 175, 55, 0.30);
}


.final-cta-card h2 {
  margin:
    8px
    0
    12px;

  color:
    var(--color-primary);

  font-size:
    var(--font-size-2xl);

  line-height: 1.4;
}


.final-cta-card > p {
  margin: 0;

  color:
    var(--color-text-secondary);

  line-height:
    var(--line-height-relaxed);
}


.final-cta-buttons {
  margin-top: 24px;

  text-align: left;
}


/* =========================================
   HOVER EFFECTS
========================================= */

@media (hover: hover) {

  .hero-btn:hover {
    transform:
      translateY(-3px);
  }


  .hero-btn-register:hover {
    box-shadow:
      var(--shadow-gold-strong);
  }


  .hero-btn-login:hover {
    border-color:
      var(--color-primary);
  }


  .related-article-item:hover {
    transform:
      translateX(4px);

    background:
      rgba(212, 175, 55, 0.05);

    border-color:
      rgba(212, 175, 55, 0.30);
  }

}


/* =========================================
   DESKTOP / TABLET
========================================= */

@media (min-width: 768px) {


  /* Container */

  .home-container {
    padding-left: 24px;
    padding-right: 24px;
  }


  /* Section Spacing */

  .home-hero,
  .home-content-section,
  .home-related-section,
  .home-faq-section,
  .home-final-cta {
    padding-top: 24px;
    padding-bottom: 24px;
  }


  /* Cards */

  .home-card {
    padding: 40px;
  }


  /* =========================================
     DESKTOP BUTTONS
     ซ้าย -> ขวา
  ========================================= */

  .hero-buttons {
    flex-direction: row;

    align-items: stretch;

    gap: 16px;
  }


  .hero-btn {
    flex: 1;

    width: 50%;
  }


  /* SEO Content Gap */

  .home-content-section
  .home-container {
    gap: 24px;
  }


  /* Final CTA */

  .final-cta-buttons {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;
  }

}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1200px) {

  .home-container {
    max-width: 1100px;
  }


  .home-card {
    padding: 44px;
  }

}
