@font-face {
  font-family: SaranaiGame;
  src: url("../image/SaranaiGame-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: #050505;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

/* partners.css sets huge padding on every h2 — keep headings usable */
h2 {
  padding: 0 !important;
  margin-bottom: 0.75rem !important;
  font-size: inherit;
}

.section-title {
  font-family: SaranaiGame, sans-serif;
  color: #ffc107;
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

.section-lead {
  font-family: SaranaiGame, sans-serif;
  color: #fff;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ---------- header / nav ---------- */
.site-top {
  position: relative;
  z-index: 20;
}

.site-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo img {
  display: block;
  max-height: 72px;
  width: auto;
}

.site-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-social li {
  display: inline-flex;
}

.site-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.site-social .bttn2 {
  margin-left: 0 !important;
  font-size: 18px !important;
  padding: 6px 12px 8px !important;
  line-height: 1.2 !important;
}

.site-nav.navbar {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.72) !important;
}

.site-nav .navbar-toggler {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.site-nav .navbar-nav {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  background: transparent !important;
}

.site-nav .navbar-nav > li > a,
.navbar-nav > li > a {
  padding: 10px 16px !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.site-nav .navbar-nav .nav-link {
  color: #fff !important;
}

.site-nav .dropdown-menu {
  background: #1a140c;
  border: 1px solid #ff9900;
}

.site-nav .dropdown-item {
  color: #fff !important;
}

.site-nav .ants-icon {
  height: 18px;
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
}

.page-banner {
  background: url("../image/banner11.jpg") center / cover no-repeat;
  padding: 1rem 1rem 1.5rem;
}

/* ---------- hero ---------- */
#banner.hero {
  position: relative;
  height: auto !important;
  min-height: min(100vh, 860px);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#banner.hero #videobcg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.25rem 2.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-copy {
  margin-top: auto;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 0 0;
}

.hero-copy h1 {
  font-family: SaranaiGame, sans-serif;
  color: #ffc107;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  font-family: SaranaiGame, sans-serif;
  color: #fff;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.store-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-row li,
.hero-actions li {
  display: block;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #040e46cc;
  color: #fff !important;
  border: 3px solid #fff;
  border-radius: 0 0 28px 28px;
  padding: 12px 22px;
  font-family: SaranaiGame, sans-serif;
  font-size: 14px;
  min-width: 180px;
  line-height: 1.3;
}

.store-btn:hover {
  background: #ff9900;
  color: #111 !important;
  text-decoration: none !important;
}

.contract-box {
  margin: 1.25rem auto 0;
  max-width: 640px;
  text-align: center;
}

.contract-box p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contract-link {
  display: inline-block;
  background: url("../image/ant1.png") center / cover no-repeat;
  color: #fff !important;
  padding: 0.85rem 1.1rem;
  word-break: break-all;
  overflow-wrap: anywhere;
  font-size: clamp(11px, 2.4vw, 15px);
  line-height: 1.4;
  border: none;
  max-width: 100%;
}

/* ---------- media embeds ---------- */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  min-height: 320px;
}

#piechart {
  width: 100% !important;
  height: 420px !important;
}

.tokenomics-section {
  background: #000;
  padding: 2.5rem 1rem 3rem;
}

.tokenomics-note {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

.token-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ---------- timeline ---------- */
.timeline {
  max-width: 720px !important;
}

.timeline-container {
  padding: 2rem 1rem 3rem;
}

/* ---------- team ---------- */
.team-section {
  padding: 2.5rem 1rem 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.team-grid .column,
.team-grid .card,
.team-grid .leadership,
.team-grid .leader {
  float: none !important;
  width: 100% !important;
  max-width: 280px;
  padding-right: 0 !important;
  margin: 0 auto;
  display: block !important;
}

.leadership {
  display: block !important;
}

.leadership .leader {
  max-width: 280px !important;
  margin: 0 auto !important;
}

.leadership .leader__name h2 {
  font-size: 1rem !important;
  font-family: SaranaiGame, sans-serif !important;
}

.mr {
  margin: 0 0 12px !important;
  padding: 0;
}

.powered-section,
.twitter-section {
  padding: 2rem 1rem;
  text-align: center;
}

.powered-section img {
  max-width: 280px;
  margin: 0 auto;
  display: block;
}

.twitter-section .scrollable-div {
  width: min(700px, 100%) !important;
  height: 480px;
  margin: 0 auto;
  display: block !important;
}

.units-cta {
  padding: 2rem 1.25rem 3rem !important;
}

.units-cta .row {
  align-items: center;
  height: auto !important;
}

.units-cta .hero-actions {
  justify-content: flex-start;
}

.legal-page {
  background: #0c0228;
  color: #eee;
  padding: 1.5rem 1rem 3rem;
}

.legal-page .container {
  max-width: 900px;
}

.units-frame {
  width: 100%;
  min-height: 70vh;
  height: min(1000px, 85vh);
  border: 0;
  background: #111;
}

.about-block img.im4 {
  width: min(300px, 100%);
  height: auto !important;
}

.feature-panel img.im3 {
  width: 100%;
  height: auto !important;
  max-height: 420px;
  object-fit: cover;
}

.tablink {
  width: 100% !important;
  margin: 6px 0 !important;
}

.footer-site {
  padding: 2rem 1rem !important;
}

.footer-site .row {
  height: auto !important;
}

.footer-site .ftr li,
.footer-social li {
  display: inline-block;
}

.footer-site .ftr {
  padding-left: 0;
}

.footer-social {
  padding-left: 0;
  margin: 0;
}

.copyright-bar {
  background: #111;
  color: #ccc;
  padding: 0.75rem 1rem;
}

.copyright-bar p {
  margin: 0;
}

.page-content {
  padding: 1.5rem 1rem 2.5rem;
}

/* Hide desktop-only rail on small screens; keep header socials */
@media (max-width: 767.98px) {
  .float-sm {
    display: none !important;
  }

  .disply {
    display: block !important;
  }

  .hero-overlay,
  .page-banner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy {
    padding: 1rem 0.25rem 1.5rem;
  }

  .store-btn {
    min-width: min(260px, 100%);
    width: 100%;
    max-width: 280px;
    font-size: 15px;
    padding: 14px 18px;
  }

  .site-social a {
    min-width: 48px;
    min-height: 48px;
  }

  .site-top-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-social {
    justify-content: center;
  }

  .site-logo img {
    max-height: 64px;
  }

  .site-nav.navbar {
    border-radius: 0;
  }

  .site-nav .navbar-nav {
    background-color: rgba(0, 0, 0, 0.92) !important;
    text-align: center;
    padding: 0.5rem 0 0.75rem;
  }

  .navbar-light .navbar-nav .nav-link,
  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .active > .nav-link {
    color: #fff !important;
  }

  #banner.hero {
    min-height: 100svh;
  }

  .m1,
  .m2 {
    margin-top: 0 !important;
  }

  .p-5 {
    padding: 1.25rem !important;
  }

  .mt-5 {
    margin-top: 1.5rem !important;
  }

  .timeline {
    max-width: 100% !important;
  }

  .timeline-item {
    width: 100% !important;
    padding: 0 12px 80px 56px !important;
    transform: none;
  }

  .timeline-item::before {
    font-size: 14px !important;
    top: 8px !important;
    left: 0 !important;
    width: auto !important;
  }

  .units-cta .hero-actions,
  .units-cta .t1 {
    justify-content: center;
    text-align: center !important;
  }

  .bckimg {
    height: auto !important;
  }

  #piechart {
    height: 360px !important;
  }
}

@media (min-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .site-logo img {
    max-height: 88px;
  }

  .units-cta .t1 {
    text-align: left !important;
  }

  .acc,
  .legal-page,
  .team-section,
  .units-cta,
  .tokenomics-section,
  .page-content {
    padding-right: 3.25rem;
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #piechart {
    height: 500px !important;
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .team-grid .column,
  .team-grid .leader,
  .leadership .leader {
    max-width: 220px;
  }
}

@media (min-width: 768px) and (max-width: 1349px) {
  .p-5 {
    padding: 1.5rem !important;
  }

  .mt-5 {
    margin-top: 2rem !important;
  }

  .lef {
    margin-top: 0 !important;
    text-align: right !important;
  }
}
