/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #5865f2;
  --secondary-color: #2c2f33;
  --accent-color: #99aab5;
  --text-color: #23272a;
  --light-bg: #f6f6f6;
  --white: #ffffff;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar styles */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Button styles */
.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Override hover effect for primary button */
.nav-links .btn-primary {
  color: var(--white);
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-links .btn-primary:hover {
  color: var(--white); /* Force text to stay white on hover */
  transform: translateY(-2px);
}

/* Match navbar buttons to hero buttons */
.nav-links .btn-primary,
.nav-links .btn-secondary {
  font-weight: 600;
}

.nav-links .btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(88, 101, 242, 0.1);
  transform: translateY(-2px);
}

/* Hero section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f6f6f6 0%, #ffffff 100%);
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero .subtitle {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.token-counter {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary-color);
}

.token-counter #token-count {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Discord Preview Container */
.discord-preview-container {
  flex: 1;
  max-width: 500px;
}

/* Discord Preview */
.discord-preview {
  text-align: left;
  background: #36393f;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.discord-message {
  padding: 16px;
  color: #dcddde;
}

.discord-message-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.discord-user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-username {
  color: #ed4245;
  font-weight: 600;
}

.discord-command {
  color: #00aff4;
  font-weight: 500;
  background: rgba(0, 175, 244, 0.1);
  padding: 0 4px;
  border-radius: 3px;
}

.discord-app {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.discord-app-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%; /* Makes it circular if it's square */
}

.discord-app-name {
  color: #00aff4;
  font-weight: 600;
}

.discord-app-badge {
  background: #5865f2;
  color: white;
  font-size: 10px;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 700;
}

.discord-time {
  color: #a3a6aa;
  font-size: 12px;
}

.discord-content {
  margin-top: 6px;
}

.discord-mention {
  margin-bottom: 8px;
  color: #dcddde;
}

.discord-highlight {
  color: #00aff4;
  font-weight: 600;
}

.discord-embed {
  background: #2f3136;
  border-left: 4px solid #5865f2;
  border-radius: 0 4px 4px 0;
  padding: 12px;
  margin-top: 4px;
}

.discord-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 10px;
}

.discord-embed-title-text {
  color: white;
  font-weight: 600;
  flex-grow: 1; /* Allow title to take available space */
}

.discord-embed-token-icon {
  width: 40px; /* Adjust size as needed */
  height: 40px; /* Adjust size as needed */
  border-radius: 50%; /* Makes it circular */
  margin-left: 10px; /* Space between title and icon */
}

.discord-embed-title {
  color: white;
  font-weight: 600;
  margin-bottom: 10px;
}

.discord-embed-field {
  margin-bottom: 16px;
  color: #dcddde;
}

.discord-embed-label {
  color: #72767d;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.discord-embed-value {
  color: #dcddde;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 10px;
  word-break: break-all;
}

.discord-embed-links {
  margin-bottom: 10px;
}

.discord-link {
  color: #00aff4;
  text-decoration: none;
}

.discord-link:hover {
  text-decoration: underline;
}

.discord-embed-footer {
  color: #72767d;
  font-size: 12px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* Media queries for the Discord preview */
@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-buttons {
    justify-content: center;
  }

  .discord-preview {
    max-width: 100%;
    margin: 40px auto 0;
  }
}

/* Section styles */
.section {
  padding: 100px 0;
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.bg-light {
  background: var(--light-bg);
}

/* Card styles */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.invite-button-container {
  text-align: center;
  margin-top: 50px;
}

.invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 18px;
}

.invite-btn i {
  font-size: 20px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon i {
  color: var(--white);
  font-size: 24px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.card p strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.command {
  font-family: monospace;
  background: var(--light-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Footer styles */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-section a i {
  margin-right: 8px;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero .subtitle {
    font-size: 18px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

/* Token Info styles */
.token-card {
  max-width: 600px;
  margin: 0 auto;
}

.token-card .card {
  padding: 40px;
  text-align: center;
}

.token-details {
  margin-top: 20px;
}

.token-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.token-details p {
  margin: 15px 0;
  font-size: 16px;
  text-align: center;
}

.monospace {
  font-family: monospace;
  background: var(--light-bg);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.token-button {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.token-button i {
  font-size: 14px;
}

.contract-address-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 15px 0 25px;
}

.copy-button {
  background: var(--light-bg);
  border: none;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--secondary-color);
}

.copy-button:hover {
  background: var(--accent-color);
  color: var(--white);
}

.copy-button i {
  font-size: 16px;
}
