: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;
}

/* ----- HEADER ----- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.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%;
}

nav {
  display: flex;
  gap: 1em;
}

nav a {
  text-decoration: none;
  color: var(--font-color);
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 20px;
  transition: background 0.3s;
}

nav a:hover {
  background: var(--highlight);
}

.hamburger {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--font-color);
}

/* ----- 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;
}

/* ----- AIRDROP SECTION ----- */
.airdrop-section {
  background: linear-gradient(135deg, #5A8C5B 0%, #4e7a4f 100%);
  padding: 3em 1em;
  margin: 2em 0;
  position: relative;
  overflow: hidden;
}

.airdrop-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.airdrop-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.airdrop-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5em;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.airdrop-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff9a56, #ff6b9d);
  color: white;
  padding: 0.5em 1.5em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 1em;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.airdrop-container h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: var(--accent-color);
}

.airdrop-amount {
  margin: 1.5em 0;
  padding: 1em;
  background: linear-gradient(135deg, #f6fbe7, #e0f4df);
  border-radius: 15px;
  border: 2px solid var(--accent-color);
}

.token-count {
  display: block;
  font-size: 3em;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  line-height: 1;
}

.token-symbol {
  display: block;
  font-size: 1.3em;
  font-weight: 600;
  color: #4e7a4f;
  margin-top: 0.3em;
}

.airdrop-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin: 1.5em 0;
}

.airdrop-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2em 0 1.5em 0;
}

.airdrop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 1em 2em;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--body-font);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.airdrop-btn.primary {
  background: linear-gradient(135deg, var(--accent-color), #4e7a4f);
  color: white;
}

.airdrop-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 140, 91, 0.4);
}

.airdrop-btn.secondary {
  background: white;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.airdrop-btn.secondary:hover {
  background: var(--highlight);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 140, 91, 0.2);
}

.btn-icon {
  font-size: 1.2em;
}

.airdrop-timer {
  margin-top: 2em;
  padding-top: 2em;
  border-top: 2px solid var(--border-color);
}

.timer-label {
  display: block;
  font-weight: 600;
  color: #666;
  margin-bottom: 1em;
  font-size: 0.95em;
}

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

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.timer-value {
  font-size: 2em;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--heading-font);
  display: block;
  line-height: 1;
}

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

/* ----- 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;
}

/* ----- 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) {
  nav {
    display: none;
    flex-direction: column;
    background: #ffffffee;
    position: absolute;
    top: 60px;
    right: 1em;
    width: 200px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1em;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

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

  .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;
  }

  /* Airdrop Section Responsive */
  .airdrop-container {
    padding: 1.5em;
  }

  .airdrop-container h2 {
    font-size: 1.5em;
  }

  .token-count {
    font-size: 2.2em;
  }

  .token-symbol {
    font-size: 1.1em;
  }

  .airdrop-description {
    font-size: 1em;
  }

  .airdrop-buttons {
    flex-direction: column;
    gap: 0.8em;
  }

  .airdrop-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9em 1.5em;
    font-size: 1em;
  }

  .timer-display {
    gap: 1em;
  }

  .timer-unit {
    min-width: 50px;
  }

  .timer-value {
    font-size: 1.5em;
  }
}
