/* Premium Web3 UI Overhaul for PunFu */
:root {
  --primary-gradient: linear-gradient(135deg, #5e70e0 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #ec8ef1 0%, #f05365 100%);
  --accent-gradient: linear-gradient(135deg, #44a2fd 0%, #00e6fe 100%);
  --dark-gradient: linear-gradient(135deg, #1c3568 0%, #264888 100%);
  --gold-gradient: linear-gradient(135deg, #ffce89 0%, #e6ac5c 100%);
  --white-gradient: linear-gradient(185deg, #ffeeee 0%, #ffeeff 100%);
  --cyber-gradient: linear-gradient(135deg, #0f7fff 30%, #ff00ff 60%);

  --glass-bg: rgba(255, 255, 255, 0.0); 
  --glass-border: rgba(255, 255, 255, 0.15); 
  --card-shadow: 0 6px 24px rgba(20, 30, 90, 0.25);
  --hover-shadow: 0 12px 8px rgba(20, 30, 90, 0.35);

  --text-light: #ffffff;
  --text-dark: #0a0f14;
  --text-muted: rgba(240, 244, 248, 0.9);

  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease-in-out;
}

/* Global Premium Overrides */
body {
  background: linear-gradient(135deg, #2a3a75 30%, #3b2b57 100%);
  background-attachment: fixed;
  color: var(--text-light);
  font-family: "Lato", sans-serif;
  text-shadow: 0 0 58px white;
}

a {
color: rgba(240, 244, 248, 1);

}

.glow-text {
  color: white; /* or any base color */
  text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
}


/* Animated Particle Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 15% 75%,
      rgba(100, 110, 180, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 25%,
      rgba(200, 200, 220, 0.05) 0%,
      transparent 35%
    );
  z-index: -1;
  animation: drift 25s ease-in-out infinite alternate;
}

@keyframes drift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(5deg) scale(1.1);
  }
}

/* Premium Border */
.page-border > .top-border,
.page-border > .right-border,
.page-border > .bottom-border,
.page-border > .left-border {
  background: var(--primary-gradient);
  padding: 6px;
  z-index: 9998;
}

#wrapper {
  margin: 0;
  padding: 0;
  position: relative;
}

/* Premium Header */
#header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.3s ease-in-out,
    backdrop-filter 0.3s ease-in-out;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 80px !important;
}

#header.nav-solid {
  background: rgba(10, 15, 20, 0.85);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#header .row {
  padding: 0 20px;
  max-width: 1245px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header .col-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* Logo Positioning */
#logo {
  height: 100%;
  line-height: normal;
  margin-right: 0;
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#logo img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
  max-height: 35px;
  vertical-align: middle;
}

#logo img:hover {
  transform: scale(1.05);
}

/* Logo visibility on scroll */
#header.nav-solid #logo img {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Navigation Container - Flex to align nav and social icons */
.navigation-container {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Navigation Positioning */
#nav-main {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 20px;
}

#nav-main ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  height: 100%;
  margin: 0;
  padding: 0;
}

#nav-main li {
  list-style: none;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

#header nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
  padding: 0 12px;
  height: 100%;
  line-height: normal;
  display: flex;
  align-items: center;
}

#header nav a:hover {
  /* color: #00f2fe;  This was for the non-scrolled, already covered by general hover */
  /* transform: translateY(-2px); Already part of general nav a:hover if desired, or keep at 0 for nav-solid */
}

#header nav a::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cyber-gradient);
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transform: translateX(-50%);
}

#header nav a:hover::after {
  width: calc(100% - 24px);
  /* Background color will be determined by specificity: cyber-gradient by default, accent-gradient if .nav-solid is active */
}

/* Social Icons Header Positioning */
#header aside {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

/* Social Icons Premium Style */
.social-icons {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.social-icons li {
  list-style: none;
  margin: 0 3px;
}

.social-icons a {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
  font-size: 14px;
}

.social-icons a span {
  display: none;
}

.social-icons a:hover {
  background: var(--accent-gradient);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: var(--hover-shadow);
}

/* Social icons on scroll */
#header.nav-solid .social-icons a {
  color: var(--text-light);
}

#header.nav-solid .social-icons a:hover {
  background: var(--accent-gradient);
  color: var(--text-dark);
}

/* Nav link appearance on scroll */
#header.nav-solid nav a {
  color: var(--text-light);
}

#header.nav-solid nav a:hover {
  color: var(--accent-gradient);
}

#header.nav-solid nav a::after {
  background: var(--accent-gradient);
}

/* Enhanced Premium Banner */
#banner {
  background: linear-gradient(
      135deg,
      rgba(26, 32, 44, 0.8) 0%,
      rgba(45, 55, 72, 0) 100%
    ),
    url("../images/banner-images/banner-image-2.png") center/cover;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
}

#banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  z-index: 1;
}

/* Floating orbs for extra premium feel */
#banner::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

#banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 5vh;
  text-align: center;
}

#banner .col-38 {
  margin: 0 auto;
  max-width: 800px;
}

#banner h1 {
  background: var(--white-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
  font-size: 44px;
  line-height: 1.2;
}

#banner h2 {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}










/* Premium Cards */
.icon-block-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Adds space between cards */
}

.icon-block {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 30px;
  /* margin: 15px 0; */ /* Removed individual margin in favor of gap */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  width: calc(50% - 10px); /* Two cards per row with gap */
  box-sizing: border-box; /* Ensure padding and border are included in width */
}

.icon-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.icon-block:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.icon-block:hover::before {
  opacity: 0.1;
}

.icon-block .icon {
  background: var(--accent-gradient);
  border-radius: 50%;
  width: 70px; /* Slightly reduced icon size */
  height: 70px; /* Slightly reduced icon size */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--card-shadow);
}

.icon-block .icon i {
  color: var(--text-light);
  font-size: 1.8rem; /* Adjusted icon font size */
}

.icon-block h4 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px; /* Adjusted heading size */
}

.icon-block p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

/* Responsive adjustments for icon blocks */
@media (max-width: 992px) {
  /* Adjust breakpoint as needed */
  .icon-block {
    width: calc(50% - 10px); /* Still two cards on medium screens */
  }
}

@media (max-width: 767px) {
  .icon-block-container {
    flex-direction: column; /* Stack cards vertically on small screens */
    gap: 30px;
  }
  .icon-block {
    width: 100%; /* Full width for stacked cards */
    margin-bottom: 20px; /* Add margin for stacked cards */
  }
  .icon-block:last-child {
    margin-bottom: 0;
  }
}

/* Premium Section Headings */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h3 {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  background: var(--cyber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 20px;
}

.section-heading h2:after {
  background: var(--cyber-gradient);
  width: 60px;
  height: 4px;
  border-radius: 2px;
}
























/* Premium Gallery */
#gallery.row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Space between gallery items */
  padding: 75px 15px; /* Adjusted padding for the row */
}

#gallery a {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: block;
  width: calc(33.333% - 100px); /* 3 items per row, accounting for gap */
  box-shadow: var(--card-shadow);
}

#gallery a::before {
  background: linear-gradient(
    45deg,
    rgba(102, 126, 234, 0.7),
    rgba(240, 147, 251, 0.7) /* Slightly less opacity */
  );
  border-radius: var(--border-radius);
  opacity: 0; /* Hidden by default, shown on hover */
  transition: var(--transition);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#gallery a:hover::before {
  opacity: 1;
}

#gallery a:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: var(--hover-shadow);
}

#gallery img {
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: block; /* Remove extra space below image */
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}

/* Responsive Gallery */
@media (max-width: 992px) {
  #gallery a {
    width: calc(50% - 7.5px); /* 2 items per row */
  }
}

@media (max-width: 767px) {
  #gallery.row {
    gap: 10px;
    padding: 50px 10px;
  }
  #gallery a {
    width: calc(50% - 5px); /* Keep 2 items for mobile, or 100% for 1 item */
    /* For 1 item per row on mobile: width: 100%; */
  }
}

@media (max-width: 480px) {
  #gallery a {
    width: 100%; /* 1 item per row on very small screens */
  }
}

/* Premium Team Members */
.member {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.member:hover::before {
  opacity: 0.1;
}

.member img {
  border-radius: 50%;
  border: 4px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  margin-bottom: 15px;
}

.member:hover img {
  transform: scale(1.1);
}

.member footer {
  color: var(--text-light);
  font-weight: 600;
  margin-top: 20px;
  font-size: 15px;
}

/* Premium Token Section */
#tokens {
  background: linear-gradient(
    135deg,
    rgba(26, 32, 44, 0.9) 0%,
    rgba(45, 55, 72, 0.8) 100%
  );
  border-radius: var(--border-radius-lg);
  padding: 60px 0;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

#tokens::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#tokens .section-heading,
#tokens .col-3 {
  position: relative;
  z-index: 2;
}

#tokens a {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
}

#tokens a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

#tokens a:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--hover-shadow);
}

#tokens a:hover::before {
  opacity: 0.2;
}

#tokens img {
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.token-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 32, 44, 0.9) 0%,
    rgba(102, 126, 234, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
}

.token-overlay span {
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Premium Footer */
#landing-footer {
  background: linear-gradient(
    135deg,
    rgba(26, 32, 44, 0.95) 0%,
    rgba(45, 55, 72, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}

#landing-footer p,
#landing-footer a {
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 13px;
}

#landing-footer a:hover {
  color: var(--text-light);
  text-decoration: none;
}

/* Premium Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-element {
  animation: float 4s ease-in-out infinite;
}

/* Premium Scroll Effects */
.wow {
  visibility: hidden;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* For Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-gradient) rgba(0, 0, 0, 0.05);
}


/* Premium Form Styling */
input,
textarea {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  color: var(--text-light);
  padding: 15px;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

/* Premium Loading Animation */
#preloader {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

#status {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -50px 0 0 -50px;
}

.la-ball-triangle-path > div {
  background-color: var(--text-light);
  width: 20px;
  height: 20px;
}

/* Additional Premium Effects */
.premium-glow {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.premium-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Premium Text Gradients */
.gradient-text {
  background: var(--cyber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Additional Premium Section Styling */
.section-subttle {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 20px 0;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}

.section-subttle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-gradient);
  opacity: 0.1;
  transition: var(--transition);
  z-index: -1;
}

.section-subttle:hover::before {
  opacity: 0.2;
}

.section-subttle b {
  color: var(--cyber-gradient);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Premium Steps Styling */
.section-subttle h2.section-title {
  margin: 30px 0 20px 0;
  font-size: 28px;
}

/* Enhanced wallet addresses styling */
.section-subttle a {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: "Lato", monospace;
  font-size: 13px;
  color: var(--accent-gradient);
  display: inline-block;
  margin: 5px 0;
  transition: var(--transition);
  word-break: break-all;
}

.section-subttle a:hover {
  background: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

/* Premium number styling for steps */
.section-subttle b:first-child {
  background: var(--cyber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

/* Enhanced image styling */
.section-subttle img {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  max-width: 150px;
  height: auto;
  margin: 10px 0;
}

.section-subttle img:hover {
  transform: scale(1.05);
  box-shadow: var(--hover-shadow);
}

/* Premium Buttons */
.button,
input[type="submit"] {
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-weight: 600;
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  font-size: 14px;
}

.button::before,
input[type="submit"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.button:hover::before,
input[type="submit"]:hover::before {
  left: 100%;
}

#banner .button {
  font-size: 15px;
}

/* Premium Sections */
section {
  position: relative;
}

.row {
  position: relative;
}


section:not(#banner) {
  position: relative;
  margin-top: 0;
}

/* First section after banner adjustment */
.introduction {
  padding-top: 100px;
}

/* Ensure proper spacing for all sections */
.row {
  position: relative;
  max-width: 1245px;
  margin: 0 auto;
  padding: 75px 20px;
}

/* Ensure content sections don't overlap with fixed header/borders */
main#content > section:first-child {
  padding-top: 90px;
}

@media (max-width: 768px) {
  main#content > section:first-child {
    padding-top: 100px;
  }
}

/* Roadmap and Token Section Text Alignment */
#roadmap .section-heading,
#tokens .section-heading {
  text-align: left;
}

#roadmap .section-heading h2:after,
#tokens .section-heading h2:after {
  margin-left: 0;
  margin-right: auto;
}

#roadmap .section-subttle,
#tokens .section-subttle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

#roadmap p,
#tokens p {
  font-size: 15px;
  line-height: 1.7;
}

/* Wallet addresses clarity */
#tokens .section-subttle a {
  padding: 10px 15px;
  margin: 8px 0;
}

/* Footer Adjustments */
#landing-footer .row {
  padding: 30px 20px;
}

#landing-footer p {
  text-align: center;
  width: 100%;
}

/* Mobile Footer Adjustments */
@media (max-width: 767px) {
  #landing-footer .row {
    padding: 25px 15px;
  }

  #landing-footer p {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* Roadmap Section Styling - Simplified Vertical Flow */
#roadmap .section-heading {
  margin-bottom: 40px;
  text-align: center; /* Center roadmap title */
}

#roadmap .section-heading h2:after {
  margin-left: auto; /* Center underline */
  margin-right: auto;
}

.roadmap-phases-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center phases */
  gap: 25px;
}

.roadmap-phase {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 700px; /* Consistent max width for phases */
  display: flex;
  align-items: flex-start;
  gap: 25px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.roadmap-phase:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--hover-shadow);
}

.roadmap-phase .phase-icon {
  background: var(--accent-gradient);
  color: var(--text-dark);
  border-radius: 50%;
  width: 55px; /* Adjusted size */
  height: 55px; /* Adjusted size */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px; /* Adjusted size */
  flex-shrink: 0;
}

.roadmap-phase .phase-content h3 {
  color: var(--cyber-gradient);
  font-size: 20px; /* Adjusted size */
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.roadmap-phase .phase-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.roadmap-arrow {
  font-size: 28px; /* Adjusted arrow icon size */
  color: var(--cyber-gradient);
  padding: 5px 0; /* Reduced padding */
  text-align: center;
  width: 100%;
  line-height: 1; /* Ensure icon is centered */
}

.roadmap-arrow i {
  display: inline-block;
  transform: rotate(90deg); /* Point FontAwesome arrow downwards */
}

/* Hide the last arrow */
.roadmap-arrow:last-of-type {
  display: none;
}

/* Remove complex desktop-specific arrow/layout rules from previous attempt */
@media (min-width: 992px) {
  /* Remove or comment out previous horizontal layout attempts */
  /* .roadmap-phases-container { flex-direction: row; ... } */
  /* .roadmap-phase { width: calc(33.333% - 40px); ... } */
  /* .roadmap-arrow { writing-mode: ... } */
  /* .roadmap-arrow::before { ... } */
}

/* Premium Token Section - Layout Adjustments */
#tokens .row {
  display: flex;
  flex-direction: column; /* Stack content and images by default */
  align-items: center; /* Center items */
  gap: 30px;
}

#tokens .col-3, /* Text content area */
#tokens .col-2-3.token-links-container /* Image links container */ {
  width: 100%; /* Full width on mobile */
  max-width: 800px; /* Max width for readability/layout */
}

#tokens .section-heading {
  text-align: center; /* Center heading text */
}

#tokens .section-heading h2:after {
  margin-left: auto; /* Center underline */
  margin-right: auto;
}

#tokens .section-subttle {
  text-align: left; /* Ensure main description text is left-aligned */
  line-height: 1.8; /* Increased line height for readability */
  font-size: 16px; /* Slightly larger base font size for this section */
}

/* Container for the token image links */
.token-links-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping if many links */
  justify-content: center; /* Center links */
  gap: 20px;
  padding-top: 20px; /* Space above links */
}

#tokens .token-links-container a.col-3 {
  /* Individual link styling */
  width: calc(50% - 10px); /* Two links per row, accounting for gap */
  max-width: 300px; /* Max width for each link block */
  /* background, backdrop-filter, etc. already defined in #tokens a */
}

/* Desktop adjustments for token section */
@media (min-width: 992px) {
  #tokens .row {
    /* Can revert to row if desired, but column with centering is also clean */
    /* flex-direction: row; */
    /* align-items: flex-start; */
    /* justify-content: space-between; */
  }

  #tokens .col-3 {
    /* Text content area */
    /* If row layout: width: 60%; */
    /* If column layout (current): max-width will apply */
  }

  .token-links-container {
    /* If row layout: width: 35%; */
    /* If column layout (current): max-width will apply */
    justify-content: center; /* Keep centered for column layout */
  }

  #tokens .token-links-container a.col-3 {
    width: calc(50% - 10px); /* Ensure they don't get too wide */
  }
}

/* Styling for "How to buy?" section within tokens */
#tokens .section-subttle h2.section-title {
  /* Styles are already defined in premium-style.css, can adjust if needed */
  margin-top: 40px; /* Add space before "How to buy?" */
  text-align: center; /* Center this specific heading */
  font-size: 32px;
}

#tokens .section-subttle h2.section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* Emphasis for key token information */
#tokens .section-subttle strong, /* Using <strong> for semantic emphasis in HTML */
#tokens .section-subttle b {
  /* `b` tag is already styled by .section-subttle b from premium-style.css */
  /* We can add more specific styling if needed, or use a class */
  color: var(--cyber-gradient); /* Make it stand out */
  font-weight: 700;
}

.token-ca,
.token-marketing-wallet,
.token-ticker {
  display: inline-block; /* Or block if preferred for more emphasis */
  background: rgba(255, 255, 255, 0.05); /* Subtle background */
  border: 1px solid var(--glass-border);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  margin: 5px 0;
  font-family: "Lato", monospace; /* Monospace for addresses */
  color: var(--accent-gradient);
  font-weight: 600;
  word-break: break-all; /* Prevent overflow */
  font-size: 15px;
}

.token-ca:hover,
.token-marketing-wallet:hover,
.token-ticker:hover {
  background: var(--accent-gradient);
  color: var(--text-dark);
  box-shadow: var(--card-shadow);
}

/* Styling for "How to buy?" numerical list */
#tokens .section-subttle ol {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

#tokens .section-subttle ol li {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--cyber-gradient);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  position: relative;
  counter-increment: how-to-buy-counter;
}

#tokens .section-subttle ol li::before {
  /* Custom styled numbers */
  content: counter(how-to-buy-counter);
  position: absolute;
  left: -20px; /* Position outside the border */
  top: 50%;
  transform: translateY(-50%);
  background: var(--cyber-gradient);
  color: var(--text-dark);
  font-weight: 700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
}

#tokens .section-subttle ol li strong {
  display: block; /* Step title on its own line */
  margin-bottom: 8px;
  color: var(--text-light); /* Brighter for step titles */
  font-size: 17px;
}

#tokens .section-subttle ol li img {
  float: right; /* Float Solflare logo to the right */
  margin-left: 15px;
  margin-top: 5px;
  max-width: 120px; /* Control logo size */
}

/* Clear float for content after the image in the list item */
#tokens .section-subttle ol li::after {
  content: "";
  display: table;
  clear: both;
}


@media (max-width: 1024px) {
nav#nav-mobile ul:after {
    display: none;
}

  #nav-trigger {
    display: block !important;
  }

  #nav-trigger span {
    color: white !important;
    font-size: 26px !important;
    line-height: 71px !important;
  }

  nav#nav-mobile {
    display: block !important;
  }

  nav#nav-mobile ul {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    border-radius: 12px;
    margin-top: 10px;
    z-index: 10000;
  }

  nav#nav-mobile li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav#nav-mobile a {
    color: white !important;
    padding: 12px 20px !important;
  }

  nav#nav-mobile a:hover {
    background: var(--accent-gradient);
    color: var(--text-dark) !important;
  }

}




