* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #fffbf7;
  --gold: #efc794;
  --gold-dark: #d4a96a;
  --brown: #6a3d29;
  --brown-dark: #4a2a1a;
  --brown-mid: #8b5e3c;
  --brown-light: #c49a6c;
  --white: #ffffff;
  --text-dark: #2c1a0e;
  --text-mid: #6a3d29;
  --text-muted: #a07850;
  --border: #e8d5b8;
}

html,
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

nav {
  background: #fff;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 80px;
  margin-top: 10px;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-separator {
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
}

.lang-menu {
  position: relative;
}

#lang-toggle {
  display: none;
}

.lang-btn {
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-dark);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.lang-btn:hover {
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: 28px;
  left: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lang-dropdown a {
  padding: 10px 12px;
  text-decoration: none;
  color: #000;
  font-size: 13px;
  transition: 0.2s;
}

.lang-dropdown a:hover {
  background: #f5f5f5;
}

#lang-toggle:checked+.lang-btn+.lang-dropdown {
  display: flex;
}

.lang-item .cn {
  display: none;
}

.lang-item:hover .en {
  display: none;
}

.lang-item:hover .cn {
  display: inline;
}

.flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50px;
}

.lang-btn,
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.lang-name {
  font-size: 13px;
  font-weight: 500;
}

.lang-pronounce {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  height: 100%;
  margin: 0;
}

.nav-links>li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links>li>a {
  color: var(--brown);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
}

.nav-links>li>a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links>li:hover>a,
.nav-links>li>a:hover {
  color: var(--gold-dark);
}

.nav-links>li:hover>a:after {
  transform: scaleX(1);
}

.nav-links>li.has-mega>a:before {
  content: '';
  display: none;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  transition: transform 0.2s;
  margin-top: -2px;
}

.nav-links>li.has-mega:hover>a:before {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 200%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px;
  padding: 28px 32px;
  box-shadow: 0 12px 40px rgba(74, 42, 26, 0.12);
  z-index: 999;
  min-width: 240px;
  animation: megaFade 0.18s ease;
}

.has-mega.partner .megamenu {
  left: 50%;
}

@keyframes megaFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-links>li:hover .megamenu {
  display: flex;
  gap: 40px;
}

.megamenu.single-col {
  flex-direction: column;
  gap: 0;
  min-width: 220px;
}

.mega-col {
  min-width: 160px;
}

.mega-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.18s;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.mega-col a:hover {
  color: var(--gold-dark);
}

.mega-col a .link-icon {
  width: 28px;
  height: 28px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.18s;
}

.mega-col a:hover .link-icon {
  background: #fdf0e0;
}

.mega-col a::after {
  content: '➔';
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: 10px;
}

.mega-col a:hover::after {
  opacity: 1;
  transform: translateX(5px);
}

.mega-divider {
  width: 1px;
  background: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}

.nav-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--brown-dark);
  color: var(--brown-dark);
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

.btn-fill {
  padding: 8px 18px;
  border: 1.5px solid var(--gold);
  color: var(--brown-dark);
  background: var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-fill:hover {
  background: var(--gold-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 20px 5%;
  border-top: 2px solid var(--gold);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-dark);
  cursor: pointer;
}

.mobile-nav-title .m-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.mobile-nav-title.expanded .m-chevron {
  transform: rotate(-135deg);
}

.mobile-submenu {
  display: none;
  padding: 0 0 14px 12px;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu-section {
  margin-bottom: 14px;
}

.mobile-submenu-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.mobile-submenu a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
}

.mobile-submenu a:hover {
  color: var(--gold-dark);
}

.mobile-simple-link {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-dark);
  display: block;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-cta {
  display: flex;
  gap: 10px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.mobile-cta button {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  padding: 0 10%;
}

.slide.active {
  opacity: 1;
}

.slide-1 {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 30%, #ffb95f 100%);
}

.bg-img-1 {
  position: absolute;
  right: 1%;
  top: 40%;
  transform: translateY(-50%);
  margin-top: 100px;
  z-index: 1;
  width: 60%;
  mix-blend-mode: screen;
}

.bg-img-2 {
  position: absolute;
  right: 8%;
  top: 40%;
  transform: translateY(-50%);
  margin-top: 100px;
  z-index: 1;
  width: 60%;
  mix-blend-mode: screen;
}

.bg-img-3 {
  position: absolute;
  right: 2.5%;
  top: 40%;
  transform: translateY(-50%);
  margin-top: 100px;
  z-index: 1;
  width: 69%;
  mix-blend-mode: soft-light;
}

.front-img-1 {
  position: absolute;
  z-index: 2;
  width: 75%;
  right: 0;
  margin-top: 40px;
}

.front-img-2 {
  position: absolute;
  z-index: 2;
  width: 43%;
  right: 15%;
  margin-top: 40px;
}

.front-img-3 {
  position: absolute;
  z-index: 2;
  width: 43%;
  right: 15%;
  margin-top: 40px;
}

.slide-2 {
  background: linear-gradient(135deg, #1a2a3a 0%, #345b77 60%, #345b77 100%);
}

.slide-3 {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 30%, #ffb95f 100%);
}

.slide-content {
  position: relative;
  z-index: 1;
}

.slide-badge {
  display: inline-block;
  background: rgba(239, 199, 148, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.slide-content h1 span {
  color: var(--gold);
}

.slide-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 13px 28px;
  background: var(--gold);
  color: var(--brown-dark);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.hero-btn-primary:hover {
  background: var(--gold-dark);
}

.hero-btn-secondary {
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}

.hero-btn-secondary:hover {
  border-color: #fff;
}

.slide-visual {
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 220px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}

.slide-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.ticker-bar {
  background: var(--brown);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  white-space: nowrap;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.tick-sym {
  font-weight: 700;
  color: var(--gold);
}

.tick-up {
  color: #7ee8a2;
}

.tick-dn {
  color: #f4857a;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

section {
  padding: 72px 10%;
}

.section-tag {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3vw;
}

.divider {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 3px;
  margin: 18px 0 36px;
  transform-origin: left;
  animation: expandLine 1.5s ease forwards;
}

@keyframes expandLine {
  0% {
    transform: scaleX(1);
  }

  50% {
    transform: scaleX(2);
  }

  100% {
    transform: scaleX(1);
  }
}

.promo-strip {
  background: var(--brown-dark);
  padding: 48px 10%;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(239, 199, 148, 0.15);
  border: 1px solid rgba(239, 199, 148, 0.15);
  border-radius: 8px;
  overflow: visible;
}

.promo-card {
  background: var(--brown-dark);
  padding: 32px 28px;
  position: relative;
}

.promo-card:hover {
  background: rgba(239, 199, 148, 0.05);
}

.promo-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.promo-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.promo-icon-bg {
  position: absolute;
  top: -25px;
  right: 25px;
  width: 50px;
  height: 75px;
  background: var(--brown-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-icon-bg img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.promo-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.platforms-section {
  background: url("../img/homepage/p2bg1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  padding: 72px 10%;
}

.platform-chips {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  justify-content: center;
}

.platform_img {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.chip {
  padding: 12px 22px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip:hover,
.chip.active {
  background: var(--brown-dark);
  color: var(--gold);
  border-color: var(--brown-dark);
}

.chip-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-dark);
}

.chip-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.earn-section {
  background: var(--cream);
  padding: 72px 10%;
}

.earn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}

.earn-tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.tier {
  padding: 16px 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier.active-tier {
  border-color: var(--gold);
  background: #fffbf5;
}

.tier-range {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

.tier-rate {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-dark);
}

.calc-box {
  background: var(--brown-dark);
  border-radius: 10px;
  padding: 36px;
  color: #fff;
}

.calc-box label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 10px;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(239, 199, 148, 0.3);
  border-radius: 6px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.calc-input-wrap span {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.calc-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 10px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-box {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 16px;
}

.result-box .r-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-box .r-val {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.result-box.big {
  grid-column: span 2;
  background: rgba(239, 199, 148, 0.12);
  border: 1px solid rgba(239, 199, 148, 0.25);
}

.result-box.big .r-val {
  font-size: 36px;
}

.wallet-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #49281c 100%);
  padding: 72px 10%;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.wallet-visual {
  position: relative;
  height: 300px;
}

.wallet-front-img {
  position: absolute;
  top: -100px;
  right: -25%;
  width: 450px;
  z-index: 5;
  pointer-events: none;
}

.wallet-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 199, 148, 0.2);
  border-radius: 14px;
  padding: 24px;
}

.wallet-card.main {
  width: 320px;
  top: 0;
  right: 35%;
}

.wallet-card.mini {
  width: 220px;
  top: 10px;
  right: 20%;
  background: rgba(239, 199, 148, 0.08);
}

.wc-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wc-addr {
  font-size: 11px;
  font-family: monospace;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.wc-bal {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 4px;
}

.wc-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.wallet-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.5;
}

.wf-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 199, 148, 0.15);
  border: 1px solid rgba(239, 199, 148, 0.25);
  border-radius: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.wf-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ai-section {
  background: #fff;
  padding: 72px 10%;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.ai-events {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
}

.event-row:first-child {
  border-color: var(--gold);
  background: #fffbf5;
}

.event-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 40px;
}

.event-flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.event-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

.event-impact {
  margin-left: auto;
  display: flex;
  gap: 3px;
}

.dot-imp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-dark);
}

.dot-imp.low {
  background: var(--border);
}

.ai-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 14px;
}

.ai-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.community-section {
  background: var(--cream);
  padding: 72px 10%;
}

.pelican-card {
  background: url("../img/homepage/p6bg.png");
  background-size: cover;
  background-position: bottom;
  border-radius: 12px;
  padding: 48px;
  display: flex;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: nowrap;
}

.pelican-icon {
  width: 100px;
  height: 100px;
  background: rgba(239, 199, 148, 0.12);
  border: 2px solid rgba(239, 199, 148, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

.pelican-icon img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.pelican-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.pelican-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 70px;
  width: 50%;
}

.pelican-btn {
  padding: 12px 28px;
  background: var(--gold);
  color: var(--brown-dark);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.cta-section {
  background: url("../img/homepage/p7bg.png");
  background-size: cover;
  background-position: center;
  padding: 72px 10%;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--brown-dark);
  margin-bottom: 30px;
}

.cta-section p {
  font-size: 17px;
  color: var(--brown);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  padding: 15px 36px;
  background: var(--brown-dark);
  color: var(--gold);
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}

.cta-primary:hover {
  background: var(--brown);
}

.cta-secondary {
  padding: 15px 36px;
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}

.cta-secondary:hover {
  background: rgba(106, 61, 41, 0.08);
}

.open_img {
  display: block;
  margin: 0 auto;
  height: 600px;
  max-width: 100%;
  object-fit: contain;
}

.reg-section {
  padding: 40px 0;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.reg-chip {
  border: 1px solid rgba(239, 199, 148, 0.2);
  border-radius: 6px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reg-badge {
  width: 50px;
  height: 50px;
  overflow: hidden;
  display: flex;
}

.reg-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reg-name {
  font-size: 14px;
  color: var(--brown-dark);
}

footer {
  background: var(--cream);
  padding: 56px 10% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--brown-dark);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--brown-dark);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--brown-dark);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  height: 80px;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.footer-category-title {
  margin-top: 25px;
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}

.footer-menu-hr {
  display: block;
  margin: 10px 0;
  border: none;
  height: 1px;
  background-color: var(--brown-dark);
}

.risk-warn {
  background: rgba(74, 42, 26, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 32px;
}

.risk-warn p {
  font-size: 13px;
  color: var(--brown-dark);
  line-height: 1.7;
}

.risk-warn strong {
  color: var(--brown-dark);
}

@media (max-width: 1214px) {
  .nav-links>li>a {
    padding: 0 10px;
    font-size: 13.5px;
  }

  nav {
    padding: 0 4%;
  }

  .nav-links {
    gap: 0;
  }
}

@media (max-width: 1024px) {
  nav {
    padding: 0 4%;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links>li>a {
    padding: 0 10px;
    font-size: 13.5px;
  }

  .btn-outline,
  .btn-fill {
    padding: 7px 12px;
    font-size: 12px;
  }

  .slide-content h1 {
    font-size: 40px;
  }

  .slide-visual {
    font-size: 160px;
    opacity: 0.09;
  }

  section {
    padding: 56px 5%;
  }

  .promo-strip {
    padding: 40px 5%;
  }

  .platforms-section {
    padding: 56px 5%;
  }

  .earn-section {
    padding: 56px 5%;
  }

  .wallet-section {
    padding: 56px 5%;
  }

  .ai-section {
    padding: 56px 5%;
  }

  .community-section {
    padding: 56px 5%;
  }

  .cta-section {
    padding: 56px 5%;
  }

  .reg-section {
    padding: 32px 5%;
  }

  footer {
    padding: 48px 5% 28px;
  }

  .section-title {
    font-size: 32px;
  }

  .earn-grid {
    gap: 36px;
  }

  .wallet-grid {
    gap: 40px;
  }

  .ai-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 4;
  }

  .footer-col h4.empty-header {
    display: none;
  }

  .reg-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .promo-card h3 {
    font-size: 24px;
  }

  .pelican-card {
    padding: 32px;
    gap: 32px;
  }

  .open_img {
    height: 440px;
  }

  .bg-img-1 {
    top: 70%;
    width: 100%;
  }

  .front-img-1,
  .front-img-2,
  .front-img-3 {
    position: relative;
  }

  .slide-1 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .front-img-1 {
    bottom: 0;
    right: 50%;
    width: 160%;
  }

  .bg-img-2 {
    top: 70%;
    width: 100%;
  }

  .front-img-2 {
    bottom: 0;
    right: 0;
    width: 100%;
  }

  .bg-img-3 {
    top: 70%;
    width: 100%;
  }

  .front-img-3 {
    bottom: 0;
    right: 10%;
    width: 120%;
  }

  .slide-content {
    margin-top: 100px;
  }

  .slide:not(.active) {
    display: none;
  }

  .slide.active {
    position: relative;
    display: grid;
    opacity: 1;
  }

  .slide {
    padding: 60px 5% 80px;
    position: relative;
  }

}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav {
    padding: 0 5%;
    height: 60px;
  }

  .mobile-menu {
    top: 60px;
  }

  .hero {
    height: auto;
    min-height: 520px;
  }

  .slide-visual {
    font-size: 100px;
    right: 4%;
    opacity: 0.07;
  }

  .slide-content h1 {
    font-size: 34px;
  }

  .slide-content p {
    font-size: 15px;
  }

  .slide-actions {
    flex-direction: column;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .slide-dots {
    bottom: 20px;
  }

  .ticker-item {
    font-size: 13px;
    padding: 0 20px;
  }

  .promo-strip {
    padding: 32px 5%;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    padding: 24px 20px;
  }

  .promo-card h3 {
    font-size: 22px;
  }

  section,
  .platforms-section,
  .earn-section,
  .wallet-section,
  .ai-section,
  .community-section,
  .cta-section {
    padding: 48px 5%;
  }

  .section-title {
    font-size: 28px;
  }

  .section-sub {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .earn-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calc-box {
    padding: 24px;
  }

  .result-box .r-val {
    font-size: 22px;
  }

  .result-box.big .r-val {
    font-size: 28px;
  }

  .wallet-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .wallet-visual {
    height: 260px;
  }

  .wallet-card.main {
    width: 100%;
    max-width: 300px;
  }

  .wallet-card.mini {
    width: 190px;
    left: auto;
    right: 0;
    top: 120px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .event-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pelican-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
  }

  .pelican-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .pelican-text h3 {
    font-size: 22px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .open_img {
    height: 280px;
  }

  .cta-btns {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .platform-chips {
    gap: 10px;
  }

  .chip {
    padding: 10px 16px;
    font-size: 13px;
  }

  .reg-section {
    padding: 24px 5%;
  }

  .reg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  footer {
    padding: 40px 5% 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tier {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tier-rate {
    font-size: 18px;
  }

  .wallet-front-img {
    position: absolute;
    top: -47px;
    right: -10%;
    width: 220px;
    z-index: 5;
    pointer-events: none;
  }

  .pelican-text p {
    width: 100%;
  }

  .pelican-icon img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 28px;
  }


  .section-title {
    font-size: 24px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  /*.wallet-card.mini {
    display: none;
  }

  .wallet-visual {
    height: 200px;
  }*/

  .wallet-card.main {
    width: 65%;
  }

  .ai-text h3 {
    font-size: 22px;
  }
}

.live-clock-box {
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  color: var(--gold);
  text-align: center;
  margin: 0 auto;
}

.clock-time {
  font-weight: bold;
  color: var(--cream);
  margin: 0 5px;
}

.timezone {
  margin-left: 10px;
  font-size: 12px;
  color: var(--gold);
}

.live-icon img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
