:root {
  --bg-color: #f5f7e9;
  --accent-color: #5A8C5B;
  --secondary-color: #f6fbe7;
  --font-color: #333;
  --border-color: #ddd;
  --highlight: #e0f4df;
  --heading-font: 'Patrick Hand', cursive;
  --body-font: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background: var(--bg-color);
  margin: 0;
  padding: 0;
  color: var(--font-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.3s;
}
a {
  cursor: pointer;
}
/* ----- HEADER ----- */
header {
  background: #ffffffee;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1em;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.logo img {
  width: 40px;
  margin-right: 0.5em;
  border-radius: 50%;
}

.claim-airdrop {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
}
.mw160 {
  max-width: 161px;
}

.claim-airdrop:hover {
  background: #4e7a4f;
}

/* ----- HERO SECTION ----- */
.hero {
  text-align: center;
  padding: 3em 1em;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  max-width: 1000px;
  margin: 0 auto;
}

.hero img {
  width: 250px;
  margin-bottom: 1em;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.05));
  border-radius: 50%;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  color: var(--accent-color);
  margin-top: 0;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}

.social-icons {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 50%;
  background: transparent;
}

.social-icons a:hover {
  background: var(--highlight);
  transform: translateY(-2px);
  color: #4e7a4f;
}

.social-icons a svg {
  width: 24px;
  height: 24px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-top: 1.5em;
  flex-wrap: wrap;
}

.hero-claim-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--body-font);
  font-size: 1em;
}

.hero-claim-btn:hover {
  background: #4e7a4f;
}

.hero-check-btn {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 0.8em 2em;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--body-font);
  font-size: 1em;
}

.hero-check-btn:hover {
  background: var(--highlight);
  border-color: #4e7a4f;
  color: #4e7a4f;
}

/* ----- AIRDROP PROGRESS ----- */
.airdrop-progress {
  padding: 2em 1em;
  background: var(--secondary-color);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.progress-container {
  background: #fff;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.progress-container h2 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 1.8em;
}

.progress-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.progress-label {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
}

.progress-value {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--accent-color);
}

.progress-bar-wrapper {
  margin-bottom: 2em;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: var(--highlight);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 15px;
  transition: width 0.3s ease;
  width: 0%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9em;
}

.progress-text {
  text-align: center;
  margin-top: 0.5em;
  font-weight: 600;
  color: var(--accent-color);
}

.countdown {
  text-align: center;
}

.countdown-label {
  display: block;
  font-size: 1em;
  color: #666;
  margin-bottom: 1em;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--highlight);
  padding: 1em 1.5em;
  border-radius: 10px;
  min-width: 80px;
}

.timer-item span:first-child {
  font-size: 2em;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1;
}

.timer-label {
  font-size: 0.8em;
  color: #666;
  margin-top: 0.5em;
  text-transform: uppercase;
}

/* ----- CORE MENUS (HOME) ----- */
.core-menus {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 2em 1em;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.menu-card {
  background: #fff;
  border-radius: 10px;
  padding: 2em;
  flex: 1 1 250px;
  max-width: 300px;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s;
  text-align: center;
}

.menu-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.menu-card h2 {
  margin-bottom: 1em;
}

.menu-card p {
  margin-bottom: 1.5em;
}

.menu-card a {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.3s;
}

.menu-card a:hover {
  background: #4e7a4f;
}

/* ----- CTA SECTION ----- */
.cta-section {
  padding: 3em 1em;
  background: var(--bg-color);
  max-width: 1000px;
  margin: 0 auto;
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 3em;
  background: #fff;
  border-radius: 10px;
  padding: 3em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-size: 2em;
  margin-bottom: 1em;
  color: var(--accent-color);
}

.cta-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1em;
  color: var(--font-color);
}

.cta-subtitle {
  font-size: 0.95em;
  color: #666;
  font-style: italic;
}

.cta-button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--body-font);
  font-size: 1em;
  margin-top: 1em;
}

.cta-button:hover {
  background: #4e7a4f;
}

.cta-video {
  flex: 1;
  max-width: 500px;
}

.cta-video video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* ----- ADDITIONAL LINKS SECTION (HOME) ----- */
.additional-links {
  padding: 2em 1em;
  background: var(--secondary-color);
  text-align: center;
}

.additional-links h2 {
  margin-bottom: 1em;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  max-width: 1000px;
  margin: 0 auto;
}

.link-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.8em 1.2em;
  text-decoration: none;
  color: var(--font-color);
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
}

.link-item:hover {
  background: var(--accent-color);
  color: #fff;
}

/* ----- CONTENT SECTIONS ----- */
.content-section {
  padding: 2em 1em;
  max-width: 1000px;
  margin: 0 auto;
}

.content-section h1, .content-section h2 {
  margin-bottom: 0.5em;
}

.content-section p {
  line-height: 1.6em;
  max-width: 700px;
  margin-bottom: 1.5em;
}

.content-section ul {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  max-width: 700px;
}

.content-section li {
  margin-bottom: 0.5em;
}

/* ----- FLEX GRID FOR CARDS ----- */
.flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-top: 1.5em;
  max-width: 1000px;
  margin: 1.5em auto 0 auto;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5em;
  flex: 1 1 calc(33% - 3em);
  min-width: 250px;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s;
  /* Links near top, no forced bottom alignment */
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.card p {
  margin-bottom: 1em;
}

.card a {
  display: inline-block;
  margin-top: 0.5em;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  padding: 0.4em 1em;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.3s;
}

.card a:hover {
  background: #4e7a4f;
}

td {
  max-width: 700px;
}

/* ----- TABS ----- */
.tabs {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  flex-wrap: wrap;
  /* Add horizontal scrolling on small screens */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-link {
  background: var(--accent-color);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 0.8em 1.5em;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s, border-bottom 0.3s;
  white-space: nowrap; /* Keep text from wrapping */
  margin-bottom: -1px; /* Slight overlap for a smooth bottom border line */
}

.tab-link:hover {
  background: #4e7a4f;
}

.tab-link.active {
  background: #3a5a3d;
  border-bottom: 1px solid var(--bg-color);
}

.tab-content {
  display: none;
  padding: 1em;
  border: 1px solid var(--border-color);
  border-top: none;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  margin-top: 0.5em;
}

/* ----- DOWNLOAD BUTTON ----- */
.download-button {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.3s;
  margin-top: 1em;
}

.download-button:hover {
  background: #4e7a4f;
}

.download-button.disabled,
a.disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  color: #666;
}

.download-button.disabled:hover,
a.disabled:hover {
  background: #ccc;
}

/* ----- FOOTER ----- */
footer {
  text-align: center;
  padding: 2em 1em;
  margin-top: auto;
  font-size: 0.9em;
  color: #666;
  background: #ffffff99;
  backdrop-filter: blur(10px);
}

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 900px) {
  .claim-airdrop {
    font-size: 0.9em;
    padding: 0.5em 1em;
  }

  .hero {
    max-width: 95%;
    margin: 0 auto;
    padding: 3em 1em;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-claim-btn,
  .hero-check-btn {
    width: 100%;
    max-width: 300px;
    padding: 0.7em 1.5em;
  }

  .cta-section {
    padding: 2em 20px;
    max-width: 100%;
  }

  .cta-container {
    flex-direction: column;
    padding: 2em 1.5em;
    gap: 2em;
  }

  .cta-content {
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.5em;
  }

  .cta-content p {
    font-size: 1em;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .cta-video {
    max-width: 100%;
  }

  .airdrop-progress {
    padding: 2em 20px;
    max-width: 100%;
  }

  .progress-container {
    padding: 1.5em;
  }

  .progress-info {
    flex-direction: column;
    gap: 1.5em;
  }

  .progress-item {
    width: 100%;
  }

  .countdown-timer {
    gap: 1em;
  }

  .timer-item {
    min-width: 60px;
    padding: 0.8em 1em;
  }

  .timer-item span:first-child {
    font-size: 1.5em;
  }

  .core-menus {
    flex-direction: column;
    align-items: center;
    max-width: 95%;
  }

  .menu-card {
    max-width: 90%;
  }

  .flex-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    flex: 1 1 100%;
  }

  /* Keep tabs in a horizontal scroll layout on mobile */
  .tabs {
    justify-content: flex-start; /* left-align tabs on smaller screens */
    flex-wrap: nowrap; /* no vertical wrap */
  }

  .tab-link {
    width: auto;
    margin-bottom: 0; /* remove negative margin for a simpler stacked effect if desired */
    margin-right: 0.5em; /* small gap on the right */
    margin-left: 0.5em;
  }
}

