/* styles.css */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* You can use black or another color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
  font-family: 'Comic Neue';
}

.loader-logo {
  width: 80px;
  height: 80px;
  animation: pulse 1s infinite ease-in-out;
}

.loader-text {
  margin-top: 10px;
  font-size: 1.2em;
  color: #333;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}


body {
    margin: 0;
    font-family: 'Comic Sans MS', 'Comic Sans';
    background: #f4f4f4;
    color: #222;
    width: 100vw;
    height: 100vh;
}

button {
    font-family: 'Comic Sans MS', 'Comic Sans';
}


header {
    position: relative;
    background: linear-gradient(-45deg, #000000, #222222, #ffffff, #000000);
    background-size: 400% 400%;
    animation: glowBackground 10s ease infinite;
    color: #fff;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 0;
}

.header-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

.logo {
    z-index: 1;
    margin-bottom: 30px; /* Adjust value as needed */
}

.logo img {
    height: 80px; /* Adjust as needed */
    object-fit: contain;
}

@keyframes glowBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
  header {
    height: 250px; /* Increase height if needed for more wave visibility */
  }

  .header-wave svg {
    height: 150px; /* Stretch the wave */
    width: 200%;   /* Makes it stretch wider */
    transform: scaleX(1.2); /* Optional: Stretch horizontally more smoothly */
  }


}

/* Tablets (min-width: 769px to max-width: 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    height: 280px; /* a bit taller than mobile */
  }

  .header-wave svg {
    height: 160px;    /* bigger wave */
    width: 180%;      /* wider wave */
    transform: scaleX(1.1); /* gentle horizontal stretch */
  }

  .logo {
    margin-bottom: 40px; /* slightly more space under logo */
  }

  .logo img {
    height: 90px; /* slightly bigger logo */
  }
}


.intro {
    position: relative;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    flex-direction: column;
    padding: 4rem 2rem;
    background: #fff;
    min-height: 50px;       /* Full screen height */
    text-align: center;
    overflow: hidden;
}

.intro-text {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.6;
}


.intro-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.taglines div {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 2;
}

.metrics {
    display: none; /* Remove the old metric layout */
}

button {
    padding: 20px 28px;
    font-size: 1rem;
    background-color: transparent;    /* Transparent background by default */
    color: black;                     /* Text stays white */
    border: 2px solid black;          /* Black border around the button */
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin: 0;                        /* Remove top margin */
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Stronger glow on hover */
}

button + button {
    margin-top: 1rem;                 /* Adds spacing between buttons */
}

button:hover {
    background-color: black;          /* Full black on hover */
    color: white;                     /* Text stays white */
}

.metrics-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* align all from top */
    gap: 5.5rem;               /* spacing between buttons */
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.metric-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-btn button {
    width: 200px;
    height: 50px;
    font-size: 0.95rem;
    background-color: transparent;
    color: black;
    border: 2px solid black;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-btn button:hover {
    background-color: black;
    color: white;
}


.hero-poke {
    position: absolute;
    bottom: 50px; /* Push it further down */
    left: -60px;   /* Shift slightly left for more dramatic entry */
    width: 300px;  /* Make it full/larger */
    transform: rotate(25deg); /* Tilt it */
    z-index: 1;
    opacity: 0.95;
}


/* 🔹 Phones (<= 768px) */
@media (max-width: 768px) {
  .intro {
    padding: 2rem 1rem;
  }

  .intro-text {
    font-size: 1rem;
    line-height: 1.4;
    gap: 1rem;
    margin-top: 3rem;
  }

  .intro-text h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .metrics-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }

  .metric-btn {
    flex: 1 1 30%;
    min-width: 100px;
  }

  .metric-btn button {
    width: 100%;
    height: auto;
    padding: 8px 12px;
    font-size: 0.75rem;
    white-space: normal;
  }

  .intro-text button {
    margin-bottom: 0.5rem;
  }

  .hero-poke {
    display: none;
  }

}

/* 🔹 Tablets (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .intro {
    padding: 3rem 2rem;
  }

  .intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .intro-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .metrics-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
  }

  .metric-btn {
    flex: 1 1 30%;
    min-width: 160px;
    max-width: 180px;
    display: flex;
    justify-content: center;
  }

  .metric-btn button {
    width: 100%;
    height: 60px;
    padding: 10px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .intro-text button {
    margin-bottom: 1rem;
  }

  .hero-poke {
    display: none;
  }

}

/* 🔹 iPad Mini + Medium Devices (600px – 1280px) */
@media (min-width: 600px) and (max-width: 1280px) {
  .metrics-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
  }

  .metric-btn {
    flex: 1 1 30%;
    min-width: 140px;
    max-width: 200px;
    display: flex;
    justify-content: center;
  }

  .metric-btn button {
    width: 100%;
    height: 60px;
    padding: 0 12px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
}

/* 🔹 Phablets & Foldables (Galaxy S8+, Surface Duo) */
@media (min-width: 360px) and (max-width: 599px) {
  .metrics-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
  }

  .metric-btn {
    flex: 1 1 45%;
    min-width: 140px;
    max-width: 200px;
    display: flex;
    justify-content: center;
  }

  .metric-btn button {
    width: 100%;
    height: 60px;
    padding: 0 12px;
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
}

/* ✅ Nest Hub Max (1280x800) only */
@media (min-width: 1275px) and (max-width: 1285px) and (min-height: 795px) and (max-height: 805px) {
  .hero-poke {
    position: absolute;
    bottom: 50px; /* Push it further down */
    left: -90px;   /* Shift slightly left for more dramatic entry */
    width: 300px;  /* Make it full/larger */
    transform: rotate(25deg); /* Tilt it */
    z-index: 1;
    opacity: 0.95;
  }

}


.about {
  position: relative;
  padding: 4rem 0 10rem;
  background: linear-gradient(-45deg, #000, #222, #838383, #000);
  background-size: 400% 400%;
  animation: glowBackground 10s ease infinite;
  color: #fff;
  overflow: visible;
  min-height: 1200px;

  display: flex;
  flex-direction: column;
}

.about-text {
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.about-box {
  flex: 1 1 100%;
  max-width: 970px; /* You can change this to 300px, 600px, etc. */
  min-height: 900px;
  width: 105%;
  padding: 2rem;
  background: white; /* start as white like .box */
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid black;
  color: black;
  margin: 0 auto;
  margin-top: 50px;  /* Move it down */
}

.about-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.about-box p,
.about-box ul,
.about-box li {
  margin-bottom: 1.5rem; /* Add spacing between elements */
}

.about-box h2,
.about-box p,
.about-box ul,
.about-box li {
  transition: color 0.3s ease;
}

.about-box:hover h2,
.about-box:hover p,
.about-box:hover ul,
.about-box:hover li {
  color: white;
}

.about-box h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-box ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.about-wave-top,
.about-wave {
  position: absolute;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.about-wave-top {
  top: 0;
  left: 0;
  transform: rotate(180deg);
}

.about-wave-top svg,
.about-wave svg {
  display: block;
  width: 100%;
  height: 300px;
}

.about-wave {
  bottom: 0;
  left: 0;
}

.about-poke {
  position: absolute;
  bottom: 100px; /* Push it further down */
  right: -250px;  /* Shift slightly left for more dramatic entry */
  width: 500px;   /* Make it full/larger */
  transform: rotate(25deg); /* Tilt it */
  z-index: 1;
  opacity: 0.95;
}


@keyframes glowBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🔹 Phones (<= 768px) */
@media (max-width: 768px) {
  .about {
    padding: 2rem 1rem 5rem;
    min-height: auto; /* Let it shrink */
  }

  .about-text {
    margin-top: 40px;
    padding: 0 1rem;
  }

  .about-box {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding: 1.5rem;
    margin-top: 30px;
    font-size: 0.9rem;
  }

  .about-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .about-wave-top svg,
  .about-wave svg {
    height: 150px;
    width: 120%;
  }

  .about-poke {
    display: none; /* Hide image on phones */
  }
}

/* 🔹 Tablets (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .about {
    padding: 3rem 2rem 7rem;
    min-height: auto;
  }

  .about-text {
    margin-top: 60px;
    padding: 0 1.5rem;
  }

  .about-box {
    max-width: 90%;
    width: 100%;
    min-height: 700px;
    padding: 2rem;
    margin-top: 40px;
    font-size: 1rem;
  }

  .about-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
  }

  .about-wave-top svg,
  .about-wave svg {
    height: 200px;
    width: 110%;
  }

  .about-poke {
    display: none; /* Hide image on tablets */
  }
}

/* 🔹 iPad Mini + Medium Devices (600px – 1280px) */
@media (min-width: 600px) and (max-width: 1280px) {
  .about-text {
    padding: 0 2rem;
  }

  .about-box {
    max-width: 95%;
    width: 100%;
    min-height: 800px;
    font-size: 1.05rem;
  }

  .about-box h2 {
    font-size: 3.75rem;
  }

  .about-wave-top svg,
  .about-wave svg {
    width: 105%;
    height: 220px;
  }
}

/* 🔹 Phablets & Foldables (360px – 599px) */
@media (min-width: 360px) and (max-width: 599px) {
  .about {
    padding: 2rem 1rem 5rem;
  }

  .about-text {
    margin-top: 40px;
    padding: 0 1rem;
  }

  .about-box {
    max-width: 100%;
    min-height: auto;
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  .about-box h2 {
    font-size: 2.75rem;
  }

  .about-wave-top svg,
  .about-wave svg {
    width: 120%;
    height: 160px;
  }

  .about-poke {
    display: none;
  }
}

/* ✅ Nest Hub Max (1280x800) only */
@media (min-width: 1275px) and (max-width: 1285px) and (min-height: 795px) and (max-height: 805px) {
  .about-poke {
    display: none;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1365px) {
  .hero-poke,
  .about-poke {
    display: none !important;
  }
}

/* Main container section */
.buy-sell {
  position: relative;
  background-color: #fff;
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Comic Neue', sans-serif;
  text-align: center;
  overflow-x: hidden;
}

/* Row of boxes */
.how-to {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;            /* This allows "HOW TO BUY" and "HOW TO SELL" to match height */
  flex-wrap: wrap;
  gap: 6rem;
  margin-top: 1rem;
  padding-left: 0.5rem;
}

/* Base box style */
.howto-box {
  flex: 1 1 300px;                 /* ✅ Keep equal width across all boxes */
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid black;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

/* ✅ Let "WHERE TO BUY/SELL" grow to its own content height */
.howto-box.center-box {
  align-self: flex-start;         /* Prevent height stretching */
  height: auto;                   /* Only as tall as its own content */
}

/* Hover effect */
.howto-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Smooth transition for text color */
.howto-box h3,
.howto-box p {
  transition: color 0.3s ease;
}

/* Maintain white text on hover */
.howto-box:hover h3,
.howto-box:hover p {
  color: white;
}

/* Consistent spacing */
.howto-box p,
.howto-box h3,
.howto-box li {
  margin-bottom: 1.5rem;
}


/* Sliding warning bar (scrolling marquee style) */
.sliding-warning {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: linear-gradient(90deg, #ff8c00, #ffcc00);
  color: #000;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;                /* ✅ Hides overflowing text to prevent scrollbar */
  line-height: 3rem;              /* Vertical alignment of text */
  z-index: 10;
}

/* Sliding text animation using pseudo-element */
.sliding-warning::before {
  content: attr(data-text);
  display: inline-block;
  padding-left: 100%;             /* Start from offscreen right */
  animation: slidein 30s linear infinite;
}

/* Animation keyframes */
@keyframes slidein {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* 📱 Phones and small tablets */
@media (max-width: 768px) {
  .how-to {
    flex-direction: column;        /* Stack boxes vertically */
    align-items: center;
    gap: 2rem;
  }

  .howto-box,
  .howto-box.center-box {
    width: 90%;                    /* Make all boxes same width */
    align-self: auto;              /* Reset flex-start for stacking */
  }

  .buy-sell {
    padding-bottom: 6rem;          /* Prevent overlap with footer/slider */
  }

  .howto-box:last-child {
    margin-bottom: 2rem;
  }
}

/* 💊 Tablets and medium screens */
@media (min-width: 600px) and (max-width: 1024px) {
  .how-to {
    justify-content: center;
    gap: 3rem;
    flex-direction: column;
    align-items: center;
  }

  .howto-box,
  .howto-box.center-box {
    width: 320px;
    max-width: 90vw;
    align-self: auto;              /* Reset for vertical stacking */
  }

  .buy-sell {
    padding-bottom: 6rem;
  }
}

/* 🖥️ Nest Hub Max or small desktop layout */
@media (min-width: 1200px) and (max-width: 1320px) and (max-height: 850px) {
  .how-to {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .howto-box,
  .howto-box.center-box {
    width: 320px !important;
    max-width: 90vw !important;
    align-self: auto !important;
  }

  .buy-sell {
    padding-bottom: 6rem !important;
  }
}

/* ===========================
   TOKENOMICS SECTION
   =========================== */
.tokenomics {
  position: relative;
  background: linear-gradient(-45deg, #000, #222, #838383, #000);
  background-size: 400% 400%;
  animation: glowBackground 10s ease infinite;
  padding: 6rem 2rem 10rem;
  min-height: 100vh;
  font-family: 'Comic Neue', sans-serif;
  color: white;
  overflow: hidden;
}

@keyframes glowBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===========================
   MAIN WHITE BOX
   =========================== */
.tokenomics-container {
  background: white;
  color: black;
  border-radius: 20px;
  border: 3px solid black;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  padding: 4rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

/* ===========================
   TOKENOMICS CONTAINER HOVER (INVERT COLORS)
   =========================== */
.tokenomics-container:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

/* Ensure the title also turns white */
.tokenomics-container:hover .tokenomics-title {
  color: white !important;
}

/* Keep distribution label white too */
.tokenomics-container:hover .distribution-label {
  color: white !important;
}


/* ===========================
   TITLES (TOKENOMICS + TOKEN DETAILS)
   =========================== */
.tokenomics-title,
.details-label {
  width: 100%;
  text-align: center;
  font-size: 4.5rem; /* same large size */
  font-weight: bold;
  margin-bottom: 2rem;
  color: black;
  text-transform: uppercase;
}

/* ===========================
   DISTRIBUTION LABEL
   =========================== */
.distribution-label {
  display: block;
  text-align: left;
  background: none;
  color: black;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 2rem;
  margin-left: 1rem;
  border: none;
  padding: 0;
}

/* ===========================
   TOKEN BOXES
   =========================== */
.Tokenom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.token-box {
  flex: 1 1 250px;
  max-width: 350px;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid black;
  text-align: center;
  color: black;
  min-height: 400px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.token-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.token-box h3, .token-box p {
  transition: color 0.3s ease;
}

.token-box:hover h3, .token-box:hover p {
  color: white;
}

.img-placeholder {
  width: 80px;
  height: 80px;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: lightgray;
  color: black;
  font-weight: bold;
}

/* ===========================
   TOKEN DETAILS BOX (MATCH SIZE + STYLE)
   =========================== */
.token-details-container:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

/* Keep the title white on hover */
.token-details-container:hover h2 {
  color: white !important;
}



/* TOKEN DETAILS BOX (Improved spacing and readability) */
.token-details-box {
  text-align: left;
  font-size: 1.6rem;
  line-height: 2.6rem;
  color: inherit; /* inherits white or black depending on hover */
  padding: 1rem 3rem 2rem;
}

/* Adequate spacing between each detail line */
.token-details-box p {
  margin-bottom: 2.5rem;
}

/* Bold labels */
.token-details-box strong {
  font-weight: 700;
}

/* Copy icon */
.copy-icon {
  display: inline-block;
  margin-left: 0.8rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: inherit;
  transition: color 0.3s ease;
  user-select: none;
}

.copy-icon:hover {
  color: #777;
}

/* ===========================
   WAVE STYLING
   =========================== */
.tokenomics-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.tokenomics-wave svg {
  display: block;
  width: 100%;
  height: 200px;
}

/* ✅ MOBILE FIX — Phones ≤768px */
@media (max-width: 768px) {
  /* Section background and spacing */
  .tokenomics {
    padding: 2rem 1rem 6rem;
    overflow-x: hidden; /* prevent horizontal scroll */
  }

  /* Ensure main white boxes have spacing and expand properly */
  .tokenomics-container {
    width: 100%;
    margin: 2rem auto;
    padding: 2rem 1.5rem 3rem;
    overflow: visible;            /* let inner boxes expand */
    box-sizing: border-box;
  }

  /* Titles */
  .tokenomics-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 2rem;
    word-break: break-word;
  }

  /* Distribution label */
  .distribution-label {
    text-align: left;
    font-size: 1rem;
    margin: 1rem 0 1rem 0.5rem;
    width: auto;
  }

  /* Stack boxes vertically */
  .Tokenom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  /* Token boxes */
.token-box {
  width: 90%;
  max-width: 380px;
  padding: 1.8rem 1.2rem;
  background: white;
  border: 2px solid black;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  min-height: auto;       /* ✅ Remove fixed height */
  height: auto;           /* ✅ Allow to expand naturally */
  overflow: visible;      /* ✅ Ensure inner text can flow */
}


  .token-box h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .token-box p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* Responsive images */
  .img-placeholder {
    width: 50%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 1rem auto;
    display: block;
  }

  /* Token details box */
  .token-details-box {
    background: white;
    color: black;
    border: 2px solid black;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: left;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    font-size: 1rem;
    line-height: 1.6rem;
    width: 90%;
    margin: 0 auto;
  }

  .token-details-box p {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .token-details-box strong {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
  }

  .token-details-box .copy-text {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
  }

  .copy-icon {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.5rem;
    cursor: pointer;
  }

  .copy-icon:hover {
    color: #000;
  }

  /* Title spacing */
  .token-details-container .tokenomics-title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
  }

  /* Wave */
  .tokenomics-wave {
    width: 100%;
    height: 120px;
    overflow: hidden;
  }

  .tokenomics-wave svg {
    width: 100%;
    height: 100%;
    transform: scaleX(2);
    transform-origin: center;
  }
}


/* 🔹 Phablets (360px–599px) */
@media (min-width: 360px) and (max-width: 599px) {
  .tokenomics-title {
    font-size: 2.4rem;
  }

  .token-box,
  .token-details-box {
    width: 95%;
  }

  .img-placeholder {
    width: 50%;
    max-width: 100px;
  }
}

/* 🔹 Tablets (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .tokenomics {
    padding: 3rem 2rem 8rem;
  }

  .tokenomics-title {
    font-size: 3.6rem;
  }

  /* Stack vertically but slightly wider */
  .Tokenom {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .token-box {
    width: 90%;
    max-width: 750px;
    padding: 2.5rem;
  }

  .token-box h3 {
    font-size: 1.8rem;
  }

  .token-box p {
    font-size: 1.1rem;
  }

  .img-placeholder {
    width: 30%;
    max-width: 140px;
    height: auto;
  }

  .distribution-label,
  .details-label {
    font-size: 1.6rem;
    text-align: center;
    margin: 2rem auto 1rem;
  }

  .distribution-label {
    text-align: left !important;
    font-size: 1rem !important;
    margin-left: 0.5rem !important;
    width: auto !important;
  }

  .token-details-box {
    width: 90%;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8rem;
  }
}

/* 🔹 Medium Devices (1025px–1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .tokenomics {
    padding: 4rem 3rem 10rem;
  }

  .Tokenom {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .token-box {
    width: 85%;
    max-width: 900px;
  }

  .img-placeholder {
    width: 25%;
    max-width: 150px;
    height: auto;
  }

  .distribution-label,
  .details-label {
    text-align: center;
    margin: 2rem auto;
    font-size: 1.8rem;
  }

  .distribution-label {
    text-align: left !important;
    font-size: 1rem !important;
    margin-left: 0.5rem !important;
    width: auto !important;
  }

  .token-details-box {
    width: 85%;
    max-width: 900px;
    font-size: 1.1rem;
  }
}

/* ✅ Nest Hub Max (1280x800) */
@media (min-width: 1275px) and (max-width: 1285px) and (min-height: 795px) and (max-height: 805px) {
  .tokenomics {
    padding-bottom: 12rem;
  }

  .Tokenom {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .token-box,
  .token-details-box {
    width: 85%;
    max-width: 880px;
    padding: 2rem;
  }

  .img-placeholder {
    width: 25%;
    max-width: 140px;
    height: auto;
  }

  .distribution-label,
  .details-label {
    font-size: 1.8rem;
    text-align: center;
    margin: 3rem auto 1rem;
  }

  .distribution-label {
    text-align: left !important;
    font-size: 1rem !important;
    margin-left: 0.5rem !important;
    width: auto !important;
  }
}

/* ✅ Galaxy Z Fold 5 (Folded Portrait) & very narrow screens */
@media (min-width: 340px) and (max-width: 380px) {
  .tokenomics-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .tokenomics-title {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
  }

  .tokenomics {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


/* ===========================
   SOCIALS SECTION
   =========================== */
.socials-section {
  position: relative;
  background: white; /* ✅ Clean white background */
  padding: 6rem 2rem 10rem;
  min-height: 100vh;
  font-family: 'Comic Neue', sans-serif;
  color: black;
  overflow: hidden;
}

/* ===========================
   MAIN CONTAINER (like Tokenomics)
   =========================== */
.socials-container {
  background: white;
  color: black;
  border-radius: 20px;
  border: 3px solid black;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
  padding: 4rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Hover effect — invert colors like Tokenomics */
.socials-container:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.socials-container:hover .socials-title {
  color: white;
}

/* ===========================
   SECTION TITLE
   =========================== */
.socials-title {
  width: 100%;
  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: black;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* ===========================
   SOCIAL GRID LAYOUT
   =========================== */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   INDIVIDUAL SOCIAL CARD
   =========================== */
.social-card {
  flex: 0 0 calc(50% - 30px);
  max-width: 400px;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid black;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: black;
  text-decoration: none;
  min-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.social-card h3,
.social-card p,
.social-card strong {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ===========================
   ICON IMAGE INSIDE CARD
   =========================== */
.social-img {
  width: 80px;
  height: 80px;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: lightgray;
  border-radius: 8px;
  object-fit: contain;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Phones (≤768px) */
@media (max-width: 768px) {
  .socials-section {
    padding: 3rem 1rem 6rem;
    min-height: auto;
  }

  .socials-title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    padding: 1rem;
  }

  .social-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0;
  }

  .social-card {
    width: 90%;
    min-height: 320px;
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  .social-img {
    width: 60px;
    height: 60px;
  }
}

/* Tablets — keep centered and constrained */
@media (min-width: 600px) and (max-width: 1024px) {
  .social-grid {
    justify-content: center;
    gap: 3rem;
  }

  .social-card {
    width: 280px;
    max-width: 90vw;
  }
}

/* Small tablets (600–800px) — stack vertically */
@media (max-width: 800px) {
  .social-grid {
    flex-direction: column;
    align-items: center;
  }

  .social-card {
    width: 90%;
  }
}

/* Mid-range devices (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .social-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .social-card {
    width: 320px;
    max-width: 90vw;
  }
}

/* Large but short screens (Nest Hub Max, etc.) */
@media (min-width: 1200px) and (max-width: 1320px) and (max-height: 850px) {
  .social-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .social-card {
    width: 320px !important;
    max-width: 90vw !important;
  }
}

/* ===========================
   OPTIONAL WAVE AT BOTTOM
   =========================== */
.socials-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.socials-wave svg {
  display: block;
  width: 100%;
  height: 200px;
}

/* ===========================
   MISSION SECTION
   =========================== */
.mission {
  position: relative;
  background: linear-gradient(-45deg, #000, #222, #838383, #000);
  background-size: 400% 400%;
  animation: glowBackground 10s ease infinite;
  color: white;
  padding: 6rem 2rem 10rem;
  min-height: 100vh;
  font-family: 'Comic Neue', sans-serif;
  overflow: hidden;
  z-index: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@keyframes glowBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===========================
   MAIN WHITE CONTAINER
   =========================== */
.mission-container {
  background: white;
  color: black;
  border-radius: 20px;
  border: 3px solid black;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  padding: 4rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  z-index: 5;
  overflow: visible;
  box-sizing: border-box;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===========================
   Hover Effects
   =========================== */
.mission-container:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.mission-container:hover .mission-title {
  color: white !important;
}

/* ===========================
   TITLE
   =========================== */
.mission-title {
  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: black;
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===========================
   BOX LAYOUT (Desktop)
   =========================== */
.MissionBoxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;   /* Align like buy-sell section */
  align-items: stretch;          /* Make all boxes same height */
  gap: 3rem;
  margin-top: 2rem;
}

.mission-box {
  flex: 1 1 250px;
  max-width: 350px;
  min-height: 400px;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid black;
  text-align: left;
  color: black;
  line-height: 2;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Optional: prevent height stretching for a special box */
.mission-box.center-box {
  align-self: flex-start;
  height: auto;
}

.mission-box:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.mission-box h3,
.mission-box p {
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mission-box:hover h3,
.mission-box:hover p {
  color: white;
}

/* ===========================
   LIST FIX (✔️ ITEMS)
   =========================== */
.mission-box ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.mission-box li {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8rem;
  color: inherit;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===========================
   WAVES
   =========================== */
.mission-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 0;
}

.mission-wave-top svg,
.mission-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mission-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  line-height: 0;
  z-index: 1;
}

/* ===========================
   MOBILE (≤768px)
   =========================== */
@media (max-width: 768px) {
  .mission {
    padding: 2rem 1rem 6rem;
    overflow-x: hidden;
  }

  .mission-container {
    width: 100%;
    margin: 2rem auto;
    padding: 2rem 1.5rem 3rem;
  }

  .mission-title {
    font-size: 2.6rem;
    margin-bottom: 2rem;
  }

  .MissionBoxes {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .mission-box {
    width: 90%;
    max-width: 380px;
    min-height: auto;
    padding: 1.8rem 1.2rem;
  }

  .mission-box h3 {
    font-size: 1.4rem;
  }

  .mission-box p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .mission-box li {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .mission-wave,
  .mission-wave-top {
    height: 120px;
  }

  .mission-wave svg,
  .mission-wave-top svg {
    transform: scaleX(2);
    transform-origin: center;
  }
}

/* ===========================
   PHABLETS (360px–599px)
   =========================== */
@media (min-width: 360px) and (max-width: 599px) {
  .mission-title {
    font-size: 2.4rem;
  }

  .mission-box {
    width: 95%;
    min-height: auto; /* ✅ FIX: allow box to grow with content */
    padding: 2rem 1.5rem; /* ✅ FIX: add breathing room */
  }
}

/* ===========================
   TABLETS (769px–1024px)
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .mission {
    padding: 3rem 2rem 8rem;
  }

  .mission-title {
    font-size: 3.6rem;
  }

  .MissionBoxes {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .mission-box {
    width: 90%;
    max-width: 800px;  /* ✅ FIX: give wider room for text */
    padding: 3rem 2rem; /* ✅ FIX: more inner padding */
    min-height: auto;   /* ✅ FIX: prevent cutoff text */
  }

  .mission-box h3 {
    font-size: 1.8rem;
  }

  .mission-box p {
    font-size: 1.1rem;
    line-height: 1.7rem; /* ✅ FIX: better readability */
  }

  .mission-wave,
  .mission-wave-top {
    height: 150px;
  }
}

/* ===========================
   MEDIUM DEVICES (1025px–1280px)
   =========================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  .mission {
    padding: 4rem 3rem 10rem;
  }

  .MissionBoxes {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 3rem;
  }

  .mission-box {
    width: 340px; /* ✅ FIX: slightly wider boxes */
    min-height: auto; /* ✅ FIX: flexible height for longer text */
    padding: 2.5rem;  /* ✅ FIX: keep consistent layout */
  }

  .mission-wave,
  .mission-wave-top {
    height: 180px;
  }
}

/* ===========================
   SMALL SCREENS (Galaxy Fold etc)
   =========================== */
@media (min-width: 340px) and (max-width: 380px) {
  .mission-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .mission-title {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .mission {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
  position: relative;
  background: white;
  background-size: 400% 400%;
  padding: 4rem 2rem 10rem;
  font-family: 'Comic Neue', sans-serif;
  color: black;
  overflow: hidden;
  min-height: 800px;
  text-align: center;
}

/* ===========================
   CONTAINER
   =========================== */
.features-container {
  background: white;
  color: black;
  border-radius: 20px;
  border: 3px solid black;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  padding: 4rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  z-index: 5;
  overflow: visible;
  text-align: center;
  transition: all 0.3s ease;
}

.features-container:hover {
  background: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

/* ===========================
   TITLE (now inside container, clean style)
   =========================== */
.features-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: black;
  margin-bottom: 4rem;
  text-align: center;
  transition: color 0.3s ease;
}

.features-container:hover .features-title {
  color: white;
}

/* ===========================
   MAIN FEATURE BLOCK
   =========================== */
.feature-main {
  width: 90%;               /* Makes it wide and horizontal */
  max-width: 1100px;        /* Prevents it from stretching too far */
  margin: 0 auto;           /* Centers it */
  background: white;
  color: black;
  border: 2px solid black;  /* Thin, clean border */
  border-radius: 12px;      /* Smooth corners */
  padding: 2rem 3rem;       /* Nice breathing space */
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;       /* Centers the text like in your image */
  box-shadow: none;         /* No shadow */
}

.feature-main:hover {
  background-color: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* ===========================
   FEATURE LIST
   =========================== */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-box {
  flex: 1 1 250px;
  max-width: 350px;
  min-height: 300px;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 2px solid black;
  color: black;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  line-height: 1.7;
}

.feature-box:hover {
  background-color: black;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.feature-box:hover h3,
.feature-box:hover p {
  color: white;
}

/* ===========================
   MOBILE (≤768px)
   =========================== */
@media (max-width: 768px) {
  .features {
    padding: 2rem 1rem 6rem;
    overflow-x: hidden;
  }

  .features-container {
    width: 100%;
    margin: 2rem auto;
    padding: 2rem 1.5rem 3rem;
  }

  .features-title {
    font-size: 2.6rem;
    margin-bottom: 2rem;
  }

  .feature-main {
    width: 95%;
    max-width: 600px;
    padding: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .feature-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .feature-box {
    width: 90%;
    max-width: 380px;
    min-height: auto;
    padding: 1.8rem 1.2rem;
  }

  .feature-box p {
    font-size: 1rem;
    line-height: 1.6rem;
  }
}

/* ===========================
   PHABLETS (360px–599px)
   =========================== */
@media (min-width: 360px) and (max-width: 599px) {
  .features-title {
    font-size: 2.4rem;
  }

  .feature-main {
    width: 95%;
    padding: 1.5rem;
    font-size: 1.3rem;
  }

  .feature-box {
    width: 95%;
    min-height: auto;
    padding: 2rem 1.5rem;
  }
}

/* ===========================
   TABLETS (769px–1024px)
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .features {
    padding: 3rem 2rem 8rem;
  }

  .features-title {
    font-size: 3.6rem;
  }

  .feature-main {
    width: 90%;
    max-width: 900px;
    padding: 3rem 2rem;
    font-size: 1.5rem;
    line-height: 1.7;
  }

  .feature-list {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .feature-box {
    width: 90%;
    max-width: 800px;
    padding: 3rem 2rem;
    min-height: auto;
  }

  .feature-box p {
    font-size: 1.1rem;
    line-height: 1.7rem;
  }
}

/* ===========================
   MEDIUM DEVICES (1025px–1280px)
   =========================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  .features {
    padding: 4rem 3rem 10rem;
  }

  .feature-list {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 3rem;
  }

  .feature-box {
    width: 340px;
    min-height: auto;
    padding: 2.5rem;
  }

  .feature-main {
    max-width: 1000px;
  }
}

/* ===========================
   SMALL SCREENS (Galaxy Fold etc)
   =========================== */
@media (min-width: 340px) and (max-width: 380px) {
  .features-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .features-title {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .features {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* === FOOTER BASE STYLING === */
footer { 
  position: relative;
  background: linear-gradient(-45deg, #000, #222, #838383, #000);
  background-size: 400% 400%;
  animation: glowBackground 10s ease infinite;
  color: #fff;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 200px;
  z-index: 0;
}

@keyframes glowBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 0;
}

.footer-wave-top svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* === TOP FOOTER (logo + socials + links) === */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 3rem auto;
  z-index: 1;
}

/* LEFT SIDE (logo + text) */
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-left: -90px;
}

.footer-logo {
  width: 50px;
  height: auto;
}

.footer-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

.footer-copy {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 0.25rem;
}

/* MIDDLE (socials) */
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 1rem;
  transform: translateX(400px);
}

.footer-socials p {
  margin: 3px 0;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-socials a:hover {
  color: #d3d3d3;
}

/* RIGHT SIDE (terms/links) */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-top: 1rem;
  margin-right: -90px;
}

.footer-links p {
  margin: 3px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #d3d3d3;
}

/* === CONTACT BOX === */
.contact-box {
  background: #fff;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 10px;
  width: 700px;
  margin: 2rem 0 0 1rem;
  padding: 1.5rem 2rem;
  box-shadow: none;
  z-index: 1;
  align-self: flex-start;
}

/* Heading */
.contact-box h3 {
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

/* Labels */
.contact-box label {
  display: block;
  font-size: 0.9rem;
  text-align: left;
  margin: 0.8rem 0 0.3rem;
}

/* Inputs and textarea */
.contact-box input,
.contact-box textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #000;
  padding: 5px 0;
  font-size: 0.9rem;
  background: transparent;
  outline: none;
  resize: none;
}

/* Checkbox row */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  text-align: left;
}

.checkbox-row input[type="checkbox"] {
  width: 13px;
  height: 13px;
  border: 1px solid #000;
  accent-color: #000;
}

/* Send button */
.send-btn {
  background: #fff;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 6px 18px;
  margin-top: 1.2rem;
  cursor: pointer;
  font-size: 0.9rem;
  float: right;
}

.send-btn:hover {
  background: #f3f3f3;
}

/* === RESPONSIVE LAYOUT FIXES === */

/* --- MOBILE (Phones) --- */
@media (max-width: 600px) {
  footer {
    flex-wrap: nowrap;
    justify-content: center;
    padding: 4rem 1.5rem 6rem;
    min-height: 340px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .footer-left img {
    margin-bottom: 0.5rem;
  }

  .footer-socials {
    align-items: center;
    text-align: center;
    transform: none;
  }

  .footer-links {
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .footer-links a,
  .footer-socials a {
    font-size: 0.9rem;
  }

  .contact-box {
    width: 90%;
    margin: 2rem auto 0;
    align-self: center;
  }

  .footer-wave-top svg {
    transform: scaleX(6);
    transform-origin: center;
  }
}

/* --- TABLETS & MID DEVICES (iPad Air, Pro, Surface Pro, Nest Hub, etc.) --- */
@media (min-width: 601px) and (max-width: 1300px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: flex-start;
    justify-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
  }

  .footer-left,
  .footer-socials,
  .footer-links {
    margin: 0;
    transform: none;
  }

  .footer-left {
    justify-content: center;
  }

  .footer-links {
    align-items: flex-end;
    text-align: right;
  }

  .footer-socials {
    align-items: center;
    text-align: center;
  }

  .contact-box {
    width: 80%;
    margin: 2rem auto 0;
    align-self: center;
  }
}


@media (max-width: 768px) {
  body,
  .intro,
  .about,
  .intro-text,
  .about-text,
  .about-box,
  .midnight-timer,
  .intro button,
  .footer-text,
  .footer-links,
  .footer-links a,
  .terms-box,
  .disclaimer-box,
  .blog-box,
  .back-link a {
    font-family: 'Comic Neue', sans-serif !important;
  }
}

/* css/termsofuse.css */
.terms-section {
  position: relative;
  padding: 4rem 0 10rem;
  background: #fff; /* Clean white background */
  color: #000;
  min-height: 1200px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.terms-box {
  flex: 1 1 100%;
  max-width: 970px;
  width: 105%;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid black;
  color: black;
  margin-top: 50px;
}

.terms-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.terms-box h1,
.terms-box h2,
.terms-box p,
.terms-box ul,
.terms-box li {
  transition: color 0.3s ease;
}

.terms-box:hover h1,
.terms-box:hover h2,
.terms-box:hover p,
.terms-box:hover ul,
.terms-box:hover li {
  color: white;
}

.terms-box h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.terms-box h2 {
  font-size: 2rem;
  margin-top: 2rem;
  color: inherit;
}

.terms-box p {
  margin-top: 1rem;
  line-height: 1.8;
}

.terms-box ul {
  padding-left: 2rem;
}

.terms-box ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.back-link {
  align-self: flex-start;
  margin-bottom: 1rem;
  margin-top: -2rem;
  padding-left: 2rem;
}

.back-link a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #d3d3d3;
  text-decoration: none;
}

/* 🔹 Phones (<= 768px) */
@media (max-width: 768px) {
  .terms-section {
    padding: 2rem 1rem 5rem;
    min-height: auto;
  }

  .terms-box {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }

  .terms-box h1 {
    font-size: 2.5rem;
  }

  .terms-box h2 {
    font-size: 1.5rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1rem;
  }

  .back-link a {
    font-size: 1rem;
  }
}

/* 🔹 Tablets (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .terms-section {
    padding: 3rem 2rem 7rem;
    min-height: auto;
  }

  .terms-box {
    max-width: 90%;
    width: 100%;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 1rem;
  }

  .terms-box h1 {
    font-size: 3rem;
  }

  .terms-box h2 {
    font-size: 1.75rem;
  }

  .back-link {
    padding-left: 1.5rem;
  }

  .back-link a {
    font-size: 1.1rem;
  }
}

/* 🔹 iPad Mini + Medium Devices (600px – 1280px) */
@media (min-width: 600px) and (max-width: 1280px) {
  .terms-box {
    max-width: 95%;
    font-size: 1.05rem;
  }

  .terms-box h1 {
    font-size: 3.5rem;
  }

  .terms-box h2 {
    font-size: 1.85rem;
  }
}

/* 🔹 Phablets & Foldables (360px – 599px) */
@media (min-width: 360px) and (max-width: 599px) {
  .terms-section {
    padding: 2rem 1rem 4rem;
  }

  .terms-box {
    max-width: 100%;
    padding: 1.25rem;
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  .terms-box h1 {
    font-size: 2.25rem;
  }

  .terms-box h2 {
    font-size: 1.4rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1.5rem;
  }

  .back-link a {
    font-size: 0.95rem;
  }
}

/* ✅ Nest Hub Max (1280x800) only */
@media (min-width: 1275px) and (max-width: 1285px) and (min-height: 795px) and (max-height: 805px) {
  .terms-box {
    font-size: 1.05rem;
  }
}

/* css/disclaimer.css */
.disclaimer-section {
  position: relative;
  padding: 4rem 0 10rem;
  background: #fff;
  color: #000;
  min-height: 1200px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.disclaimer-box {
  flex: 1 1 100%;
  max-width: 970px;
  width: 105%;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid black;
  color: black;
  margin-top: 50px;
}

.disclaimer-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.disclaimer-box h1,
.disclaimer-box h2,
.disclaimer-box p,
.disclaimer-box ul,
.disclaimer-box li {
  transition: color 0.3s ease;
}

.disclaimer-box:hover h1,
.disclaimer-box:hover h2,
.disclaimer-box:hover p,
.disclaimer-box:hover ul,
.disclaimer-box:hover li {
  color: white;
}

.disclaimer-box h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.disclaimer-box h2 {
  font-size: 2rem;
  margin-top: 2rem;
  color: inherit;
}

.disclaimer-box p {
  margin-top: 1rem;
  line-height: 1.8;
}

.disclaimer-box ul {
  padding-left: 2rem;
}

.disclaimer-box ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.back-link {
  align-self: flex-start;
  margin-bottom: 1rem;
  margin-top: -2rem;
  padding-left: 2rem;
}

.back-link a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #d3d3d3;
  text-decoration: none;
}

/* Responsive Styles */

/* Phones (<= 768px) */
@media (max-width: 768px) {
  .disclaimer-section {
    padding: 2rem 1rem 5rem;
    min-height: auto;
  }

  .disclaimer-box {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }

  .disclaimer-box h1 {
    font-size: 2.5rem;
  }

  .disclaimer-box h2 {
    font-size: 1.5rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1rem;
  }

  .back-link a {
    font-size: 1rem;
  }
}

/* Tablets (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .disclaimer-section {
    padding: 3rem 2rem 7rem;
    min-height: auto;
  }

  .disclaimer-box {
    max-width: 90%;
    width: 100%;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 1rem;
  }

  .disclaimer-box h1 {
    font-size: 3rem;
  }

  .disclaimer-box h2 {
    font-size: 1.75rem;
  }

  .back-link {
    padding-left: 1.5rem;
  }

  .back-link a {
    font-size: 1.1rem;
  }
}

/* iPad Mini + Medium Devices (600px – 1280px) */
@media (min-width: 600px) and (max-width: 1280px) {
  .disclaimer-box {
    max-width: 95%;
    font-size: 1.05rem;
  }

  .disclaimer-box h1 {
    font-size: 3.5rem;
  }

  .disclaimer-box h2 {
    font-size: 1.85rem;
  }
}

/* Phablets & Foldables (360px – 599px) */
@media (min-width: 360px) and (max-width: 599px) {
  .disclaimer-section {
    padding: 2rem 1rem 4rem;
  }

  .disclaimer-box {
    max-width: 100%;
    padding: 1.25rem;
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  .disclaimer-box h1 {
    font-size: 2.25rem;
  }

  .disclaimer-box h2 {
    font-size: 1.4rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1.5rem;
  }

  .back-link a {
    font-size: 0.95rem;
  }
}

/* Nest Hub Max (1280x800) only */
@media (min-width: 1275px) and (max-width: 1285px) and (min-height: 795px) and (max-height: 805px) {
  .disclaimer-box {
    font-size: 1.05rem;
  }
}

/* css/blog.css */
.blog-section {
  position: relative;
  padding: 4rem 0 10rem;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 1000px;
}

.blog-box {
  flex: 1 1 100%;
  max-width: 970px;
  width: 105%; /* restored original width */
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid black;
  color: black;
  margin-top: 50px;
  text-align: center;
}

.blog-box:hover {
  transform: translateY(-5px);
  background-color: black;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.blog-box h1,
.blog-box p {
  transition: color 0.3s ease;
}

.blog-box:hover h1,
.blog-box:hover p {
  color: white;
}

.blog-box h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.intro-text {
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.15rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.no-posts {
  font-weight: bold;
  margin-top: 2rem;
  color: #444;
  text-align: center;
  font-size: 1.15rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Revert back link to left-aligned */
.back-link {
  align-self: flex-start; /* Restored */
  margin-bottom: 1rem;
  margin-top: -2rem;
  padding-left: 2rem;
}

.back-link a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #d3d3d3;
}

/* ---------- Responsive Design ---------- */

@media (max-width: 768px) {
  .blog-section {
    padding: 2rem 1rem 5rem;
    min-height: auto;
  }

  .blog-box {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
  }

  .blog-box h1 {
    font-size: 2.5rem;
  }

  .intro-text,
  .no-posts {
    font-size: 1rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1rem;
  }

  .back-link a {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-section {
    padding: 3rem 2rem 7rem;
    min-height: auto;
  }

  .blog-box {
    max-width: 90%;
    width: 100%;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 1rem;
  }

  .blog-box h1 {
    font-size: 3rem;
  }

  .intro-text,
  .no-posts {
    font-size: 1.05rem;
  }

  .back-link {
    padding-left: 1.5rem;
  }

  .back-link a {
    font-size: 1.1rem;
  }
}

@media (min-width: 600px) and (max-width: 1280px) {
  .blog-box {
    max-width: 95%;
    font-size: 1.05rem;
  }

  .blog-box h1 {
    font-size: 3.5rem;
  }

  .intro-text,
  .no-posts {
    font-size: 1.1rem;
  }
}

@media (min-width: 360px) and (max-width: 599px) {
  .blog-section {
    padding: 2rem 1rem 4rem;
  }

  .blog-box {
    max-width: 100%;
    padding: 1.25rem;
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  .blog-box h1 {
    font-size: 2.25rem;
  }

  .intro-text,
  .no-posts {
    font-size: 0.95rem;
  }

  .back-link {
    padding-left: 1rem;
    margin-top: -1.5rem;
  }

  .back-link a {
    font-size: 0.95rem;
  }
}


html, body {

  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  cursor: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'>\
      <rect x='1' y='1' width='22' height='22' fill='white' stroke='black' stroke-width='2'/>\
    </svg>") 12 12, auto;
}

/* -------- Tablet (up to 1024px) -------- */
@media (max-width: 1024px) {
  .features-container,
  .MissionBoxes {
    flex-direction: column;
    align-items: center;
  }

  .feature-box,
  .mission-box {
    width: 90%;
    max-width: 600px;
  }

  .features-title,
  .mission-title {
    font-size: 2.5rem;
  }
}

/* -------- Mobile (up to 768px) -------- */
@media (max-width: 768px) {
  .features-title,
  .mission-title {
    font-size: 2rem;
    padding: 1rem;
  }

  .feature-box,
  .mission-box {
    padding: 1rem;
    font-size: 1rem;
  }

  .social-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .social-card {
    width: 90%;
    max-width: 400px;
  }

  h1, h2, h3, p {
    text-align: center;
  }
}

