:root {
  --blue: #1e347b;
  --deep-blue: #192b70;
  --purple: #2c175f;
  --navy: #17286b;
  --white: #ffffff;
  --muted: #eef1f6;
  --text: #141414;
  --shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  --soft-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  --container: 1580px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 48px 0 20px;
  color: #ffffff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: none;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  transform: rotate(45deg);
  background: #2c5b91;
  border-radius: 4px;
}

.brand-mark span {
  position: absolute;
  right: 4px;
  bottom: -9px;
  width: 24px;
  height: 24px;
  background: #b6b6b6;
  border-radius: 3px;
}

.brand-text {
  line-height: 0.9;
  font-family: Georgia, serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  width: 100%;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.nav-divider {
  opacity: 0.95;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 760px;
  padding: 130px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(85, 49, 139, 0.7), transparent 35%),
    linear-gradient(110deg, #1f377d 0%, #1b2f74 48%, #2b175d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: 245px;
  background: #ffffff;
}

.hero-inner {
  position: relative;
  z-index: 5;
}

.hero-title-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-width: 900px;
  font-size: clamp(74px, 8vw, 174px);
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}

.dots-one {
  top: 0;
  left: 90px;
  width: 1345px;
  height: 43px;
}

.dots-two {
  top: 0;
  right: 58px;
  width: 160px;
  height: 125px;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 4px dotted rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -165px;
  right: -115px;
  width: 950px;
  height: 950px;
}

.orbit-two {
  top: -135px;
  right: -15px;
  width: 104px;
  height: 520px;
  border-radius: 70%;
  transform: rotate(26deg);
}

/* News cards */

.news-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-top: 178px;
}

.news-card {
  position: relative;
  min-height: 620px;
}

.news-image {
  position: relative;
  height: 510px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.soft-shape {
  position: absolute;
  background: #f1f3f8;
  transform: rotate(45deg);
}

.shape-top {
  top: -70px;
  left: 68%;
  width: 170px;
  height: 170px;
}

.shape-left {
  left: 80px;
  bottom: -110px;
  width: 250px;
  height: 250px;
}

.mini-logo {
  position: absolute;
  top: 42px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 0.78;
  color: #9b9b9b;
}

.mini-logo strong {
  color: #2e5a8e;
}

.mini-mark {
  position: relative;
  width: 62px;
  height: 62px;
  transform: rotate(45deg);
  background: #315f94;
  border-radius: 7px;
}

.mini-mark::before {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -17px;
  width: 40px;
  height: 40px;
  background: #b6b6b6;
  border-radius: 5px;
}

.mini-mark::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: -8px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  opacity: 0.9;
}

.card-art {
  position: absolute;
  left: 50%;
  top: 196px;
  width: 288px;
  height: 178px;
  transform: translateX(-50%);
  border-radius: 9px;
  box-shadow: 14px 15px 18px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.purple-card {
  background: #44296d;
}

.card-label {
  position: absolute;
  top: 17px;
  left: 13px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.card-label span {
  margin-left: 4px;
  font-size: 29px;
  font-weight: 900;
}

.chip {
  position: absolute;
  top: 63px;
  left: 29px;
  width: 42px;
  height: 35px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.16) 1px, transparent 1px),
    #e3bc39;
  background-size: 11px 11px;
  border: 2px solid rgba(110, 73, 0, 0.5);
}

.card-wave {
  position: absolute;
  right: 22px;
  bottom: -46px;
  width: 96px;
  height: 240px;
  background: linear-gradient(160deg, #f7d34b, #d89923);
  border-radius: 100% 0 0 100%;
  transform: rotate(26deg);
}

.card-badge {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 70px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  background: rgba(24, 30, 99, 0.8);
}

.black-card {
  background: #050505;
}

.red-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 132px;
  height: 100%;
  background: #dc2b2b;
}

.red-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -30px;
  width: 110px;
  height: 145px;
  background: #dc2b2b;
  border: 10px solid #050505;
  border-top: 0;
  border-radius: 0 0 70px 70px;
}

.seven-badge {
  position: absolute;
  top: 30px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: #ec2632;
  background: #ffffff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 28px;
}

.black-card-text {
  position: absolute;
  left: 0;
  bottom: 42px;
  color: #e52929;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -4px;
}

.small-number {
  position: absolute;
  left: 33px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.card-badge.tiny {
  width: 36px;
  height: 25px;
  right: 13px;
  bottom: 10px;
  font-size: 8px;
  border-width: 2px;
}

.image-caption {
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 90%;
  margin: 0;
  transform: translateX(-50%);
  font-size: 27px;
  font-weight: 800;
  text-align: center;
  color: #121212;
}

.news-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  z-index: 4;
  min-height: 190px;
  padding: 26px 24px 26px;
  color: #ffffff;
  background: #1c2d71;
}

.news-content h2 {
  margin: 0 0 12px;
  max-width: calc(100% - 70px);
  font-size: 31px;
  line-height: 1.25;
  font-weight: 900;
}

.news-content p {
  margin: 15px 0 0;
  font-size: 19px;
  font-weight: 600;
}

.accent-line {
  display: block;
  width: 45px;
  height: 4px;
  background: #ffffff;
}

.arrow-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 40px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(3px);
}

/* Promotion */

.promotion {
  position: relative;
  overflow: hidden;
  padding: 48px 0 86px;
  background: #ffffff;
}

.promo-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 74px;
  opacity: 0.55;
  background-image: radial-gradient(#9ca3af 1.5px, transparent 1.5px);
  background-size: 7px 7px;
}

.promo-inner {
  position: relative;
  z-index: 3;
}

.promo-inner h2 {
  margin: 0 0 34px;
  color: rgba(60, 64, 74, 0.38);
  font-size: clamp(60px, 7vw, 118px);
  line-height: 0.9;
  font-weight: 900;
}

.all-button {
  position: absolute;
  top: 2px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  border: 3px solid #d7d7d7;
  color: #ffffff;
  background: rgba(31, 52, 123, 0.66);
  font-size: 24px;
  font-weight: 700;
}

.all-button span {
  font-size: 32px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.promo-card {
  padding: 30px;
  min-height: 210px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(25, 43, 112, 0.13);
  border: 1px solid #edf0f7;
}

.promo-date {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--deep-blue);
  font-size: 16px;
  font-weight: 800;
}

.promo-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  color: #15255f;
}

.promo-card p {
  margin: 0;
  color: #5b6274;
  font-size: 17px;
  line-height: 1.7;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #14245d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

/* Responsive */

@media (max-width: 1280px) {
  .main-nav {
    gap: 26px;
    font-size: 21px;
  }

  .news-grid {
    gap: 30px;
  }

  .news-content h2 {
    font-size: 26px;
  }

  .news-content p {
    font-size: 17px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: fixed;
    padding: 16px 0;
    background: rgba(24, 38, 101, 0.94);
    backdrop-filter: blur(10px);
  }

  .brand {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: auto;
    padding: 24px;
    border-radius: 18px;
    background: #1b2d72;
    box-shadow: var(--shadow);
    font-size: 20px;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-divider {
    display: none;
  }

  .hero {
    padding-top: 110px;
    min-height: auto;
  }

  .hero::after {
    height: 130px;
  }

  .hero-title-bg {
    top: 18px;
    font-size: 82px;
    letter-spacing: -4px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .news-card {
    min-height: 590px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .all-button {
    position: static;
    margin-bottom: 26px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-title-bg {
    font-size: 62px;
  }

  .news-grid {
    padding-top: 105px;
  }

  .news-card {
    min-height: 560px;
  }

  .news-image {
    height: 450px;
    border-radius: 16px;
  }

  .mini-logo {
    top: 28px;
    font-size: 21px;
  }

  .mini-mark {
    width: 48px;
    height: 48px;
  }

  .card-art {
    top: 160px;
    width: 250px;
    height: 155px;
  }

  .image-caption {
    bottom: 34px;
    font-size: 20px;
  }

  .news-content {
    left: 10px;
    right: 10px;
    min-height: 178px;
    padding: 22px 18px;
  }

  .news-content h2 {
    font-size: 22px;
  }

  .news-content p {
    font-size: 15px;
  }

  .promo-inner h2 {
    font-size: 58px;
  }
}