body, html {
    margin:0; padding:0;
    font-family: 'Poppins', sans-serif;
    background:#0a0f24; color:#eef2f7;
    scroll-behavior: smooth;
    position: relative;
  }
  .container { width:90%; max-width:1100px; margin:auto;  padding: 0 1rem;  position: relative;
  z-index: 1;}

  header {
    position:sticky; top:0; z-index:100;
    background:rgba(2, 4, 11, 0.94); padding:1rem 0;
    border-bottom:1px solid #223;
    display:flex; justify-content:space-between; align-items:center;
      z-index: 1;

  }
  header a { margin: 0 0.8rem; color:#80c7ff; font-weight:600;}
  header a:hover { color:#a1d4ff;}

  /* Hero */
  #hero { text-align:center; padding:4rem 0;}
  #hero h1 { font-size:3rem; margin-bottom:0.6rem; }
  #hero p { font-size:1.15rem; opacity:0.85; margin-bottom:1.6rem; }
  #connectBtn {
    background:#3a8dff; border:none; color:white;
    padding:0.8rem 1.6rem; font-size:1rem;
    border-radius:6px; cursor:pointer;
    transition:0.3s;
  }
  #connectBtn:hover { background:#2970cc; }

  /* Sections */
  section { padding:4rem 0;  position: relative;
  z-index: 1;}
  .title { text-align:center; font-size:2rem; font-weight:700; margin-bottom:2.5rem; margin-top:3.5rem;  position: relative;
  z-index: 1; }

  .steps {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:1.8rem;
  }
  .step {
    background:#112033; border-radius:10px;
    padding:1.4rem; text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,0.3);
    transition:0.3s transform;
  }
  .step:hover { transform:scale(1.05); }

  iframe { border:none; border-radius:8px; }

  footer { text-align:center; padding:1rem 0; opacity:0.6; font-size:0.85rem; border-top:1px solid #223; position: relative;
  z-index: 1;}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.roadmap-card {
  background: #141b2d;
  padding: 1.6rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: 0.3s ease;
  border-left: 4px solid #3a8dff;
}
.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: #58b2ff;
}
.roadmap-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #3a8dff;
}
.roadmap-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.4;
}


  /* Scroll animation */
  [data-anim] { opacity:0; transform:translateY(18px); transition:0.7s ease-out; }
  [data-anim].visible { opacity:1; transform:translateY(0); }

  /* Fullscreen Hero Section */
#hero.homepage {
  position: relative;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#hero {
  padding: 4rem 0;
  height: auto;
  display: block;
}

/* Fullscreen Video */
#hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Header on top of video */
#hero header {
  position: relative;
  background: transparent;
  border-bottom: none;
  padding: 2rem;
  z-index: 2;
}

#hero header a {
  color: white;
}

/* Hero Text on top */
#hero h1, #hero p, #hero a {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

#hero h1 {
  margin-top: auto;
  margin-bottom: 0.5rem;
}

#hero p {
  margin-bottom: 1rem;
}

#hero a#connectBtn {
  margin: 0.5rem;
}

/* Container inside hero to stop overlap */
#hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding: 1rem;
}


#intro {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: black;
  overflow: hidden;
}

#intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide scroll during intro */
body.intro-active {
  overflow: hidden;
}


.back-button {
  display: inline-block;
  margin: 2rem 0 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #3a8dff;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.back-button:hover {
  background-color: #2970cc;
}
.spacing-above {
  margin-top: 2.5rem; /* Adjust spacing as needed */
}

#contract-address .contract-box {
  background-color: #112033;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  font-family: monospace;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

#contract-text {
  font-size: 0.95rem;
  color: #aaf;
  overflow-wrap: anywhere;
}

#copy-btn {
  background-color: #3a8dff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
#copy-btn:hover {
  background-color: #2970cc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-card {
  background: #141b2d;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-left: 4px solid #3a8dff;
  transition: 0.3s ease;
  cursor: pointer;
}

.faq-card:hover {
  transform: translateY(-5px);
  border-color: #58b2ff;
}

.faq-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #3a8dff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  padding-top: 0;
}

.faq-card.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-top: 0.5rem;
}

.partnership-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  align-items: flex-start;
}

.partnership-image {
  flex: 1 1 260px;
  max-width: 300px;
}

.partnership-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin-top: 2rem;
}

.partnership-content {
  flex: 2 1 600px;
}

.partnership-columns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .partnership-columns {
    flex-direction: row;
    justify-content: space-between;
  }

  .partnership-columns > div {
    flex: 1;
    padding-right: 2rem;
  }
}

.partnership-content h2, h3 {
  margin-top: 1.5rem;
  color: #3a8dff;
}

.partnership-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1rem;
}

@media screen and (max-width: 600px) {
  #hero h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  #hero p {
    font-size: 1rem;
    padding: 0 1.2rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  header nav {
    margin-top: 0.5rem;
  }
}


.staking-section .staking-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.staking-section ul {
  flex: 1 1 400px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.staking-section .staking-image img {
  max-width: 100%;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.staking-section .staking-image {
  max-width: 500px;
  width: 100%;
}


@media (max-width: 768px) {
  .staking-section .staking-content {
    flex-direction: column;
  }
}
.lock-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.lock-text {
  flex: 1 1 400px;
}

.lock-image {
  flex: 1 1 350px;
  max-width: 400px;
}

.lock-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .lock-content {
    flex-direction: column;
  }
}
.flag-angle {
  position: fixed;
  top: 0;
  width: 350px;
  height: 100vh;
  background-size: contain;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.flag-left {
  left: -1px;
    background: url('pics/transparentflag.png') no-repeat center;
  transform: rotate(10deg);
}

.flag-right {
  right: -1px;
    background: url('pics/flag2.png') no-repeat center;
  transform: rotate(-10deg);
}

.buy-guide {
  margin-top: 4rem;
}

.step-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: #141b2d;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #3a8dff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
  transition: transform 0.3s ease;
}

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

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: #3a8dff;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.9rem;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Ensure flags are BEHIND all content */

/* Hide the right flag on mobile */
@media (max-width: 768px) {
  .flag-right {
    display: none !important;
  }
}


.roadmap-section {
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.roadmap-subtitle {
  text-align: center;
  font-weight: 600;
  color: #ccc;
  margin-top: 0.5rem;
}

.roadmap-desc {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #aaa;
}

.roadmap-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #141b2d;
  border-left: 4px solid #3a8dff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.roadmap-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.roadmap-block ul {
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #ccc;
}

.dual-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.dual-column > div {
  flex: 1 1 300px;
}

.roadmap-core {
  text-align: center;
  margin: 2rem 0 1rem;
}

.roadmap-core h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.roadmap-core p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: bold;
  color: #eee;
}

.roadmap-disclaimer {
  font-size: 0.8rem;
  text-align: center;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

.image-quote-section {
  text-align: center;
  margin: 3rem auto;
}

.image-wrapper img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.image-caption {
  margin-top: 1rem;
  font-style: italic;
  color: #ccc;
  font-size: 1.1rem;
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 85vw;    /* smaller than 100vw */
  height: 85vh;   /* smaller than 100vh */
  transform: translate(-50%, -50%); /* center horizontally & vertically */
  background: url('pics/transparentflag.png') no-repeat center;
  background-size: contain; /* ensures entire image fits */
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.merch-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
}