* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

:root {
  --bg-color: #111827;
  --text-color: #f0f0f0;
  --nav-bg: #0b101a;
  --dropdown-bg: #0b101a;
  --border-color: #263447;
  --accent-color: #8c8c8c;
  --hover-bg: #1f2937;
  --icon-bg: #1a2336;
  --secondary-text: #9ca3af;
  --secondary-bg: #0b101a;
  --gradient: linear-gradient(
    to bottom,
    #000,
    var(--tw-gradient-to, rgba(0, 0, 0, 0))
  );
}

body.light {
  --bg-color: #ffffff;
  --text-color: #111111;
  --nav-bg: #fff;
  --dropdown-bg: #ffffff;
  --hover-bg: #f1f7ff;
  --icon-bg: #f8f9fa;
  --secondary-text: #4b5563;
  --border-color: rgba(0, 0, 0, 0.1);
  --gradient: #ffffff4a;
  --icon-bg: #f8f9fa;
  --secondary-bg: #f0f5ff;
  --white-text: #000000;
}
body.dim {
  --bg-color: #151f35;
  --text-color: #ffffff;
  --nav-bg: #111a2e;
  --dropdown-bg: #0b101a;
  --hover-bg: #1f2635;
  --icon-bg: #162138;
  --secondary-text: #667d9e;
  --secondary-bg: #2b3956;
  --border-color: #243040;
  --gradient: linear-gradient(
    to bottom,
    #080b13,
    var(--tw-gradient-to, #151f35)
  );
}

/*--------------------------------*\     
    #HEADER-SECTION
\*--------------------------------*/
.navbar {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 100px;
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 100%;
  max-width: 180px;
  /* width: 24px;
    height: 24px; */
}

.logo span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--white-text);
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: none;
  border: none;
  color: var(--white-text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  opacity: 0.85;
}

.dropdown-btn:hover {
  opacity: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: -120px;
  top: 100%;
  min-width: 400px;
  background-color: var(--dropdown-bg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 12px;
  z-index: 1;
  border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: flex;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  gap: 16px;
  align-items: flex-start;
}

.dropdown-item:hover {
  background-color: var(--hover-bg);
}

.dropdown-icon {
  font-size: 20px;
  line-height: 1;
}

.dropdown-text h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.dropdown-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.7;
}

/* Updated Mode Toggle Styling */
.mode-toggle-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 2rem;
}

#modeToggle {
  padding: 8px;
  opacity: 0.7;
  display: flex;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text);
  background-color: var(--icon-bg);
  border: 1px solid var(--border-color);
}

#modeToggle:hover {
  opacity: 1;
}

#modeToggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.theme-dropdown {
  display: none;
  position: absolute;
  right: 0%;
  top: 100%; /* push dropdown directly below the button */
  width: 120px;
  background-color: var(--dropdown-bg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px;
  z-index: 100;
  border: 1px solid var(--border-color);
}

.mode-toggle-wrapper:hover .theme-dropdown {
  display: block;
}

.theme-option {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 2px;
  gap: 12px;
}

.theme-option:hover {
  background-color: var(--hover-bg);
}

.theme-option svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-text);
}

.theme-option span {
  color: var(--text-color);
  font-size: 15px;
}

.theme-option[data-theme="light"] svg {
  color: #0891b2; /* Highlight the active theme */
}

/* Network Selector Styling */
.network-selector {
  position: relative;
  display: inline-block;
}

.network-btn {
  width: 38px;
  height: 38px;
  padding: 8px;
  opacity: 0.7;
  display: flex;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text);
  background-color: var(--icon-bg);
  border: 1px solid var(--border-color);
}

.network-dropdown {
  display: none;
  position: absolute;
  right: 0%;
  top: 100%; /* push dropdown directly below the button */
  width: 120px;
  background-color: var(--dropdown-bg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px;
  z-index: 100;
  border: 1px solid var(--border-color);
}

.network-selector:hover .network-dropdown {
  display: block;
}

.network-option {
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
}

.network-option:hover {
  background-color: var(--hover-bg);
}

/* Default fallback */
.theme-link {
  text-decoration: none;
  color: white;
}

/* Light mode */
body.light-mode .theme-link {
  color: #000; /* or any color that fits your light theme */
}

/* Dark mode */
body.dark-mode .theme-link {
  color: #fff;
}

/* Dim mode (optional) */
body.dim-mode .theme-link {
  color: #cccccc;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: 10px;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 1px;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.rightHeaderBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media (max-width: 992px) {
  .navbar {
    padding: 12px 20px;
    background-color: #0e1528;
  }

  .hamburger-btn {
    display: block;
  }

  .actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0e1528;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .actions.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links a,
  .dropdown-btn {
    padding: 12px 0;
    width: 100%;
    opacity: 1;
    border-bottom: 1px solid var(--border-light-color, rgba(128, 128, 128, 0.1));
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .dropdown-btn {
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light-color, rgba(128, 128, 128, 0.1));
  }

  .dropdown-content,
  .theme-dropdown,
  .network-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 10px 0 10px 20px;
    background-color: transparent;
    display: none;
    border-top: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-item {
    gap: 12px;
  }

  #modeToggle {
    align-self: flex-start;
    padding: 10px 0;
    width: 100%;
    justify-content: flex-start;
  }

  .network-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
    border: none;
    border-radius: 0;
    height: auto;
  }

  .rightHeaderBox {
    gap: 5px;
  }

  .hamburger-btn {
    margin-left: 0px;
  }
}

@media (max-width: 480px) {
  .rightHeaderBox {
    margin-left: 10px;
  }
}

.dropdownMore {
  display: none;
}

@media (max-width: 1224px) {
  .dropdownMore {
    display: block;
  }
  .a {
    display: none;
  }
}
@media (max-width: 992px) {
  .dropdownMore {
    display: none;
  }
  .a {
    display: block;
  }
}

/*--------------------------------*\     
    #HERO-SECTION 
\*--------------------------------*/
/* CSS for particles background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-section {
  padding: 3rem 20px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-main-container {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.hero-top-container {
  gap: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}

.hero-left-container {
  width: 100%;
  height: 350px;
  display: flex;
  max-width: 350px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image-box {
  height: 350px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-item-1 {
  width: 100%;
  max-width: 350px;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-img-item-2 {
  position: absolute;
  width: 60px;
  z-index: 3;
  bottom: 0%;
  left: 20%;
  transform: translateX(-50%);
}

.hero-img-item-3 {
  position: absolute;
  width: 50px;
  z-index: 3;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation: item3 3s infinite linear alternate;
}

.hero-img-item-4 {
  position: absolute;
  width: 40px;
  z-index: 3;
  top: 40%;
  right: 5%;
  animation: item4 5s linear infinite;
  animation-direction: alternate;
}

.hero-img-item-5 {
  position: absolute;
  width: 40px;
  z-index: 3;
  top: 20%;
  left: 5%;
  animation: item5 linear infinite 2s alternate;
}

.hero-img-item-6 {
  position: absolute;
  width: 30px;
  z-index: 1;
  bottom: 10%;
  right: 30%;
}

.hero-img-item-7 {
  position: absolute;
  width: 25px;
  z-index: 1;
  top: 20%;
  right: 15%;
  animation: rotate 2s linear infinite;
}

.hero-img-item-8 {
  position: absolute;
  width: 25px;
  z-index: 1;
  bottom: 30%;
  left: 5%;
  animation: rotate 1s linear infinite;
}

.hero-right-container {
  display: flex;
  flex-direction: column;
}

.hero-right-title-box {
  display: flex;
  flex-direction: column;
}

.hero-right-title-box span {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 300;
}

.hero-right-title-box span:nth-child(2) {
  color: rgba(110, 231, 183);
  font-family: "Courier New", Courier, monospace;
  font-weight: 500;
  position: relative;
  height: 70px;
  overflow: hidden;
}

.typing-text {
  position: relative;
  display: inline-block;
}

.typing-text::after {
  content: "|";
  position: absolute;
  right: -15px;
  animation: blink 0.7s infinite;
}

.hero-bottom-container {
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  border-radius: 20px;
  padding: 25px 40px;
}

.hero-bottom-title-box {
  gap: 8px;
  display: flex;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.hero-bottom-title-box h1 {
  font-size: 28px;
  font-weight: 500;
}

.hero-bottom-title-box img {
  width: 100%;
  max-width: 250px;
}

.hero-bottom-title-box p:last-of-type {
  gap: 8px;
  display: flex;
  font-size: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-bottom-title-box p button {
  width: 32px;
  height: 32px;
  padding: 8px;
  opacity: 0.7;
  display: flex;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: 0.2s linear;
  color: var(--secondary-text);
  background-color: var(--icon-bg);
  border: 1px solid var(--border-color);
}

.hero-bottom-title-box p button:hover {
  transform: translateY(-3px);
}

.hero-bottom-title-box p button svg {
  width: 16px;
}

.hero-bottom-title-box p button img {
  width: 18px;
}

.hero-bottom-title-box p button:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-top-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle-box {
    padding: 0px;
    margin: 20px 0;
    text-align: center;
  }
}

/* Animations */
@keyframes movedown {
  0% {
    top: 45%;
  }
  100% {
    top: 55%;
  }
}

@keyframes item3 {
  0% {
    top: -5%;
  }
  100% {
    top: 5%;
  }
}

@keyframes item4 {
  0% {
    top: 40%;
    right: -5%;
  }
  50% {
    top: 45%;
    right: 5%;
  }
  100% {
    top: 50%;
    right: -5%;
  }
}

@keyframes item5 {
  0% {
    top: 15%;
    left: -5%;
  }
  100% {
    top: 20%;
    left: 10%;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/*--------------------------------*\     
    #CARDS-SECTION
\*--------------------------------*/
.headline-section {
  padding: 0 20px;
}

.headline-container {
  width: 100%;
  display: flex;
  padding: 20px;
  margin: 3rem auto;
  max-width: 1200px;
  align-items: center;
  border-radius: 12px;
  justify-content: center;
  backdrop-filter: blur(8px);
  background-color: var(--nav-bg);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.headline-left-contant,
.headline-right-contant {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.headline-left-contant img {
  width: 100%;
  max-width: 280px;
  animation: 6s token linear infinite;
}

@keyframes token {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.headline-section h1 {
  font-size: 32px;
}

.headline-section button {
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  margin-top: 12px;
  padding: 12px 22px;
  border-radius: 5px;
  transition: 0.3s linear;
  background-color: #a5b4fc;
}

.headline-section button:hover {
  transform: scale(1.06);
  background-color: #e0e7ff;
}

@media (max-width: 768px) {
  .headline-container {
    padding: 30px 20px;
    text-align: center;
    flex-direction: column;
  }
}

/*--------------------------------*\     
    #ABOUT-SECTION
\*--------------------------------*/
.about-section {
  gap: 20px;
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  padding: 3rem 20px;
  align-items: center;
}

.about-container-1,
.about-container-2 {
  flex: 1 1 100%;
}

.about-title h1 {
  font-size: 32px;
  font-weight: 500;
}

.about-subtitle p {
  width: 100%;
  font-size: 14px;
  line-height: 25px;
  margin: 18px 0;
  text-align: justify;
  color: var(--secondary-text);
}

.about-image-box {
  gap: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.about-image-box img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.about-image-box button {
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  padding: 12px 22px;
  border-radius: 5px;
  transition: 0.3s linear;
  background-color: #a5b4fc;
}

.about-image-box button:hover {
  transform: scale(1.06);
  background-color: #e0e7ff;
}

@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
  }
  .about-title h1 {
    text-align: center;
  }
}

/*------------------------------*\
    #DRISTIBUTION-SECTION
/*------------------------------*/
.latest-container {
  gap: 3rem;
  display: flex;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1200px;
}

.latest-left-container,
.latest-right-container {
  flex: 1 1 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.latest-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}

.view-all {
  background-color: var(--button-purple);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}

.view-all:hover {
  opacity: 0.9;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.video-container {
  display: flex;
  gap: 20px;
}

.video-container .video-card {
  width: 100%;
}

.video-card {
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  display: block;
}

.video-img {
  height: 300px;
}

.video-info {
  padding: 15px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  color: var(--secondary-text);
  font-size: 14px;
}

/* App grid styles */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-card {
  display: flex;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s;
}

.app-card:hover {
  transform: translateY(-5px);
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 15px;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-info {
  flex: 1;
}

.app-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.app-developer {
  color: var(--secondary-text);
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .latest-container {
    gap: 20px;
    flex-direction: column;
  }
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  }
}

@media (max-width: 768px) {
  .content-grid {
    display: flex;
    flex-direction: column;
  }
  .video-img {
    height: auto;
  }
}

@media (max-width: 480px) {
  .video-container {
    flex-direction: column;
  }
  .app-grid {
    display: flex;
    flex-direction: column;
  }
}

/*------------------------------*\
    #DRISTIBUTION-SECTION
/*------------------------------*/
.distribution-section {
  gap: 20px;
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  padding: 3rem 20px;
  color: var(--text-color);
}

.Distribution-container-1,
.Distribution-container-2 {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
}

.Distribution-container-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-title h2 {
  font-size: 16px;
  font-weight: 400;
}

.Distribution-title h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 5px 0 15px 0;
}

.Distribution-subtitle p {
  width: 100%;
  max-width: 450px;
  font-size: 14px;
  line-height: 25px;
}

.Distribution-container-1 ul {
  list-style: none;
  line-height: 30px;
  margin-top: 10px;
}

.Distribution-container-1 ul li {
  margin: 5px 0 5px 40px;
  position: relative;
}

.Distribution-container-1 ul li::before {
  content: "";
  left: -40px;
  top: 0;
  position: absolute;
  width: 27px;
  height: 27px;
  border-radius: 50%;
}

#container {
  overflow: visible !important;
}
.highcharts-container {
  overflow: visible !important;
}

.Distribution-container-1 ul li:nth-child(1)::before {
  background-color: #f85d77;
}
.Distribution-container-1 ul li:nth-child(2)::before {
  background-color: #5ad6f8;
}
.Distribution-container-1 ul li:nth-child(3)::before {
  background-color: #f8c04e;
}
.Distribution-container-1 ul li:nth-child(4)::before {
  background-color: #ac56f7;
}
.Distribution-container-1 ul li:nth-child(5)::before {
  background-color: #61f89f;
}
.Distribution-container-1 ul li:nth-child(6)::before {
  background-color: #f66f97;
}
.Distribution-container-1 ul li:nth-child(7)::before {
  background-color: #f27f16;
}
.Distribution-container-1 ul li:nth-child(8)::before {
  background-color: #fa2256;
}

.Distribution-image-box img {
  max-width: 450px;
  width: 100%;
}
@media (max-width: 1030px) {
  .distribution-section {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 755px) {
  .Distribution-container-1 {
    padding-left: 40px;
    width: 100%;
    max-width: 500px;
  }
  .Distribution-title {
    width: 450px;
  }
  .Distribution-title h1 {
    font-size: 35px;
    width: 450px;
  }
  .Distribution-subtitle p {
    max-width: 400px;
  }
  .Distribution-container-1 ul {
    width: 300px;
  }
  .Distribution-image-box img {
    max-width: 360px;
  }
}

@media (max-width: 530px) {
  .Distribution-container-1 {
    padding-left: 0px;
    width: 100%;
    max-width: 400px;
  }
  .Distribution-title {
    width: 300px;
  }
  .Distribution-title h1 {
    font-size: 35px;
    width: 300px;
  }
  .Distribution-subtitle p {
    max-width: 400px;
  }
  .Distribution-image-box img {
    max-width: 300px;
  }
}

/*--------------------------------*\     
    #TIMELINE-SECTION
\*--------------------------------*/
.timeline-section {
  background-color: var(--secondary-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--bg-color);
  border-radius: 0 0 50% 50%;
  transform: scaleX(1.5);
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--bg-color);
  border-radius: 50% 50% 0 0;
  transform: scaleX(1.5);
}

.timeline-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  z-index: 10;
}

.timeline-header h1 {
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.timeline-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.timeline-logo-container img {
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.3));
}

.timeline-logo-text {
  color: #cdb01e;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.timeline-logo-subtext {
  color: #cdb01e;
  font-size: 18px;
}

.timeline-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  overflow: hidden;
  z-index: 10;
}

.timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 4px;
  background-color: var(--bg-color);
}

.timeline-arrow-left,
.timeline-arrow-right {
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 12;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-arrow-left:hover,
.timeline-arrow-right:hover {
  background-color: var(--bg-color);
}

.timeline-slider {
  position: relative;
  width: calc(100% - 80px);
  overflow: hidden;
  margin: 0 20px;
  padding: 20px 0;
}

.timeline-content {
  display: flex;
  transition: transform 0.5s ease;
}

.timeline-point {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.point-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 4px solid #3f72af;
  margin-bottom: 20px;
  margin-top: -18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-marker.completed {
  background-color: var(--bg-color);
  border-color: #3f72af;
}

.point-marker.completed::after {
  content: "✓";
  font-size: 20px;
}

.point-card {
  background-color: var(--bg-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.point-date {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.point-text {
  font-size: 14px;
}

.hidden {
  display: none;
}

/* Existing .navbar styles (ensure these are your base styles) */
.navbar {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  display: flex; /* Ensures flex behavior */
  justify-content: space-between; /* Key for logo left, controls right */
  align-items: center;
  padding: 12px 100px; /* Desktop padding */
  position: relative;
  z-index: 1000;
}

/* ... (rest of your existing CSS) ... */

/* Existing @media (max-width: 992px) - I'll note where 768px will override */
@media (max-width: 992px) {
  .navbar {
    padding: 12px 20px;
    background-color: var(
      --nav-bg
    ); /* This is hardcoded, consider var(--nav-bg) if themes should apply */
  }

  .hamburger-btn {
    display: block;
  }

  /* AT 992px, .actions becomes the main dropdown panel */
  .actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0e1528; /* Same as navbar bg at this size */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
    gap: 15px; /* Gap for items like nav-links, mode-toggle-wrapper, network-selector when stacked */
    border-top: 1px solid var(--border-color);
    max-height: calc(
      100vh - 70px
    ); /* Adjust 70px if navbar height is different */
    overflow-y: auto;
  }

  .actions.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links a,
  .dropdown-btn {
    /* These are items within .nav-links or direct children of .actions */
    padding: 12px 0;
    width: 100%;
    opacity: 1; /* Reset from desktop */
    border-bottom: 1px solid var(--border-light-color, rgba(128, 128, 128, 0.1));
  }
  /* Also apply to mode-toggle and network-selector if they are direct children of .actions behaving as list items */
  .actions > .mode-toggle-wrapper > #modeToggle, /* If #modeToggle is styled directly */
    .actions > .network-selector > .network-btn {
    /* If .network-btn is styled directly */
    /* This styling makes them look like full-width list items */
    padding: 12px 0;
    width: 100%;
    justify-content: flex-start; /* Align icon/text left */
    border-bottom: 1px solid var(--border-light-color, rgba(128, 128, 128, 0.1));
  }
  /* Ensure the wrappers take full width if their children are styled as full-width items */
  .actions > .mode-toggle-wrapper,
  .actions > .network-selector {
    width: 100%;
    margin-left: 0; /* Reset desktop margin if any */
  }

  .nav-links a:last-child,
  .dropdown:last-of-type > .dropdown-btn {
    /* Corrected selector for last dropdown button */
    border-bottom: none;
  }
  /* If mode-toggle and network are last items in .actions, they also shouldn't have a bottom border */
  .actions > *:last-child > button, /* General case for last wrapper's button */
    .actions > *:last-child {
    /* General case for last wrapper if it carries the border */
    border-bottom: none;
  }

  /* Dropdowns (Learn/Play content, Theme options, Network options) become accordion-style */
  .dropdown-content,
  .theme-dropdown,
  .network-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 10px 0 10px 20px; /* Indent content */
    background-color: transparent;
    display: none; /* Handled by .active or JS */
    border-top: none; /* Remove any top border from desktop */
  }
  /* If JS adds 'active' class for accordion: */
  .mode-toggle-wrapper.active .theme-dropdown,
  .network-selector.active .network-dropdown {
    display: block;
  }

  /* Specific styling for modeToggle button when it's a list item */
  #modeToggle {
    align-self: flex-start; /* Stretches if .actions is align-items:stretch */
    /* padding: 10px 0; Is now covered by the generic .actions > .mode-toggle-wrapper > #modeToggle rule */
    /* width: 100%; */
    /* justify-content: flex-start; */
    /* border: none; */ /* Remove icon border */
    /* border-radius: 0; */ /* Remove icon border-radius */
  }

  /* Specific styling for network-btn when it's a list item */
  .network-btn {
    /* width: 100%; */ /* Covered by generic rule */
    /* justify-content: flex-start; */ /* Covered by generic rule */
    /* padding: 12px 0; */ /* Covered by generic rule */
    border: none; /* Remove icon border */
    border-radius: 0; /* Remove icon border-radius */
    height: auto; /* Allow height to be determined by padding */
  }
}

/* Styles for mobile screens (max-width: 768px) */
/* This rule should be placed AFTER the (max-width: 992px) rule */
@media (max-width: 992px) {
  /* .actions div is no longer the main dropdown panel. */
  /* It becomes a container for mode-toggle, network-selector in the header bar. */
  .actions {
    display: flex !important; /* Crucial: Override display:none from 992px. Ensure it's visible. */
    position: static; /* Override position:absolute */
    width: auto; /* Override width:100% */
    background-color: transparent; /* Override panel background */
    box-shadow: none; /* Override panel shadow */
    flex-direction: row; /* Items arranged horizontally */
    padding: 0; /* Override panel padding */
    gap: 8px; /* Reduced gap for header bar icons. Adjust as needed. Original desktop was 16px. */
    border-top: none; /* Override panel border */
    max-height: none; /* Override panel max-height */
    overflow-y: visible; /* Override panel overflow */
    order: 1; /* Ensures .actions comes before .hamburger-btn if needed, though default order is fine */
  }

  .hamburger-btn {
    order: 2; /* Ensure hamburger is last on the right, after .actions items */
  }

  /* .nav-links (Learn, Play, News) becomes the actual dropdown panel */
  .actions .nav-links {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Below the navbar. Assumes parent .navbar is not position static. */
    /* If navbar height is fixed, e.g., 60px, you can use top: 60px; */
    left: 0;
    width: 100%;
    background-color: #0e1528; /* Panel background, same as 992px rule */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
    gap: 0; /* Individual items will have padding/borders */
    border-top: 1px solid var(--border-color);
    z-index: 999;
    max-height: calc(
      100vh - 60px
    ); /* Adjust 60px to actual navbar height at this size */
    overflow-y: auto;
  }

  /* When hamburger is active (JS adds 'active' class to .actions div) */
  .actions.active .nav-links {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0d1425b3;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
    gap: 0;
    border-top: 1px solid var(--border-color);
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding-top: 80px;
    backdrop-filter: blur(10px);
  }

  /* Restore mode-toggle-wrapper and network-selector to be compact icon containers */
  .actions .mode-toggle-wrapper,
  .actions .network-selector {
    width: auto; /* Not full-width list items */
    margin-left: 0; /* Reset from desktop if any specific margin was there */
    border-bottom: none; /* Remove list-item-like border */
  }

  /* Restore #modeToggle and .network-btn to their icon appearance */
  .actions #modeToggle,
  .actions .network-btn {
    width: 38px; /* Original icon width */
    height: 38px; /* Original icon height */
    padding: 8px; /* Original icon padding */
    justify-content: center; /* Center the icon */
    border: 1px solid var(--border-color); /* Restore icon border */
    border-radius: 8px; /* Restore icon border-radius */
    /* Ensure no bottom border from list-item style */
    border-bottom: 1px solid var(--border-color); /* This is part of the button's own border */
    /* If it inherited a specific list-item border-bottom, that needs to be reset first */
  }
  .actions .network-btn {
    /* Specific height for network btn */
    height: 38px;
  }
  /* Clear any inherited full-width list item specific padding from .actions > .mode-toggle-wrapper > #modeToggle */
  .actions > .mode-toggle-wrapper > #modeToggle,
  .actions > .network-selector > .network-btn {
    padding: 8px; /* Force icon padding */
  }

  /* Restore dropdowns for Theme and Network to be absolute positioned pop-ups */
  .actions .mode-toggle-wrapper .theme-dropdown {
    position: absolute;
    right: -10px;
    top: 95%;
    width: 120px;
    background-color: var(--dropdown-bg); /* From original */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* From original */
    border-radius: 8px; /* From original */
    padding: 8px; /* From original */
    border: 1px solid var(--border-color); /* From original */
    z-index: 100; /* From original */
  }

  .actions .network-selector .network-dropdown {
    position: absolute;
    top: 95%;
    right: -10px;
    width: 120px;
    background-color: var(--dropdown-bg); /* From original */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* From original */
    border-radius: 8px; /* From original */
    padding: 8px; /* From original */
    border: 1px solid var(--border-color); /* From original */
    z-index: 100; /* From original */
  }

  /* Styles for items within the .actions .nav-links dropdown panel */
  .actions .nav-links a,
  .actions .nav-links .dropdown .dropdown-btn {
    padding: 12px 0; /* Full width list items */
    width: 100%;
    border-bottom: 1px solid var(--border-light-color, rgba(128, 128, 128, 0.1));
  }

  .actions .nav-links a:last-child,
  .actions .nav-links .dropdown:last-of-type .dropdown-btn {
    border-bottom: none;
  }

  /* Dropdown content (Learn, Play) within the .nav-links panel should remain accordion-style */
  .actions .nav-links .dropdown .dropdown-content {
    position: static; /* Accordion behavior */
    box-shadow: none;
    border: none;
    width: 100%;
    min-width: unset;
    padding: 10px 0 10px 20px; /* Indented content */
    background-color: transparent;
    display: none; /* Toggle with .active class on .dropdown */
  }
  .actions .nav-links .dropdown.active .dropdown-content {
    display: block;
  }
}

/*--------------------------------*\     
    #FOOTER-SECTION
\*--------------------------------*/
footer {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  background-color: var(--nav-bg);
  margin-top: 3rem;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 5rem;
}

.footer-left {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.language-selector-wrapper {
  position: relative;
  display: inline-block;
  align-self: flex-start;
}

.dropdown-arrow {
  font-size: 12px;
  color: #8b949e;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-metamask {
  display: inline-flex;
  align-items: center;
  border: 1px solid #30363d;
  padding: 8px 15px;
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  background-color: transparent;
  align-self: flex-start;
  transition: 0.2s ease;
}

.btn-metamask:hover {
  background-color: var(--hover-bg);
}

.btn-metamask i {
  margin-right: 5px;
}

.community-info p {
  margin: 0 0 5px 0;
  color: #5865f2;
  font-weight: bold;
}

.dropdown-arrow-small {
  font-size: 10px;
  color: #4555ec;
  margin-left: 5px;
  vertical-align: middle;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.social-icons a i {
  font-size: 1.5rem;
  color: #555;
  transition: color 0.3s ease;
}

/* Active Discord Icon */
.social-icons a.discord-active i.fa-discord {
  color: #5865f2;
}

/* Hover effect for all icons */
.social-icons a:hover i {
  color: #ffffff;
}

.site-credits p {
  color: var(--secondary-text);
}

.footer-right {
  flex: 1 1 60%;
}

.footer-right {
  gap: 20px;
  display: flex;
  justify-content: space-around;
}

/* Footer Columns */
.footer-column {
  line-height: 2.5rem;
}

.footer-column h4 {
  margin-bottom: 10px;
  color: var(--secondary-text);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: var(--text-color);
}

.footer-divider {
  border-color: var(--border-color);
}

/* Bottom Footer */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  color: var(--secondary-text);
}

.footer-bottom .disclaimer {
  font-size: 12px;
  margin-top: 30px;
  color: var(--secondary-text);
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-main {
    flex-direction: column;
    gap: 40px;
  }
  .language-selector-wrapper2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .language-selector2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .btn-metamask {
    margin: 0 auto;
  }
}

.scroll-down-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: transparent; /* Or your preferred color */
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 999;
  transition: opacity 0.3s ease;
}

.scroll-down-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 30px;
}

.scroll-down-btn:hover:before {
  opacity: 1;
}

.scroll-text {
  position: relative;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.scroll-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 12px;
  animation: pulse 2s infinite;
}

.scroll-down-btn:hover .scroll-icon {
  animation: none;
  background: rgba(255, 255, 255, 0.25);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

/* Dark mode adjustments */
:root.dark .scroll-down-btn {
  background: linear-gradient(
    135deg,
    rgba(0, 170, 105, 0.9),
    rgba(0, 77, 138, 0.9)
  );
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

:root.dark .scroll-down-btn:before {
  background: linear-gradient(
    135deg,
    rgba(0, 77, 138, 0.9),
    rgba(0, 170, 105, 0.9)
  );
}

:root.dark .scroll-down-btn:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive styles */
@media (max-width: 768px) {
  .scroll-icon {
    padding: 6px;
  }

  .scroll-icon svg {
    width: 30px;
    height: 30px;
  }
}

/*--------------------------------*\
    #ABOUT-PAGE EXTRA DETAILS
\*--------------------------------*/
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 3rem 20px;
  background-color: var(--secondary-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-color);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-color);
}

.feature-card p {
  font-size: 15px;
  color: var(--secondary-text);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 3rem 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--icon-bg);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--border-color);
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 14px;
}

.team-card .bio {
  font-size: 14px;
  color: var(--secondary-text);
  line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
  padding: 4rem 20px;
  background-color: var(--secondary-bg);
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 18px;
  color: var(--secondary-text);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: #a5b4fc;
  color: #111;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e0e7ff;
  transform: scale(1.05);
}
