:root {
  --bg-color: #050709;
  --gold-primary: #bcc5ce;
  --gold-light: #eef2f5;
  --gold-dark: #7f8892;
  --text-light: #f4f7fa;
  --text-muted: #b6bec7;
  --card-bg: rgba(188, 197, 206, 0.06);
  --card-border: rgba(188, 197, 206, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-color);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

#fm-wrapper {
  background-color: var(--bg-color);
  color: var(--text-light);
  font-family: "Jua", sans-serif;
  width: 100%;
  overflow-x: hidden;
}

#fm-wrapper h1,
#fm-wrapper h2,
#fm-wrapper h3,
#fm-wrapper .fm-logo {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 50;
  color: var(--gold-light);
}

#fm-wrapper p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.fm-text-gradient {
  background: linear-gradient(45deg, var(--gold-primary), #ffffff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.fm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000000;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "Luckiest Guy", cursive;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.fm-pumpfun-logo {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.fm-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(188, 197, 206, 0.35);
  color: #000000;
}

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

.fm-btn-outline:hover {
  background: var(--gold-primary);
  color: #000000;
}

.fm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5%;
  position: relative;
  z-index: 2;
}

.fm-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fm-logo {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #ffffff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fm-logo-small {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.fm-nav-actions {
  display: flex;
  gap: 15px;
}

.fm-video-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.fm-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fm-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--bg-color) 0%,
    rgba(5, 5, 5, 0.4) 15%,
    rgba(5, 5, 5, 0.4) 85%,
    var(--bg-color) 100%
  );
  z-index: 1;
}

.fm-hero-content {
  max-width: 600px;
  margin-left: 0;
}

.fm-hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.fm-ca-box {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  padding: 8px 15px 8px 20px;
  margin-top: 30px;
  backdrop-filter: blur(5px);
}

.fm-ca-text {
  font-family: monospace;
  color: var(--gold-light);
  margin-right: 15px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.fm-ca-copy-btn {
  background: var(--gold-primary);
  color: #000000;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.fm-ca-copy-btn:hover {
  transform: scale(1.1);
}

.fm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.fm-about-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(188, 197, 206, 0.18));
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.fm-glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.fm-glass-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.fm-tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.fm-tk-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fm-tk-item {
  background: linear-gradient(90deg, rgb(20, 20, 20) 0%, rgb(5, 5, 5) 100%);
  border-left: 4px solid var(--gold-primary);
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
}

.fm-tk-item:hover {
  transform: translateX(10px);
  background: linear-gradient(90deg, rgb(30, 30, 30) 0%, rgb(10, 10, 10) 100%);
}

.fm-tk-item h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--gold-light);
}

.fm-tk-item p {
  margin: 0;
  font-size: 1rem;
}

.fm-tokenomics-img {
  text-align: center;
}

.fm-tokenomics-img img {
  width: 100%;
  max-width: 450px;
  animation: float-reverse 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(188, 197, 206, 0.18));
}

@keyframes float-reverse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.fm-htb-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
}

.fm-htb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fm-htb-card {
  background: linear-gradient(180deg, rgb(20, 20, 20) 0%, rgb(5, 5, 5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.fm-htb-card:hover {
  transform: translateY(-10px);
  border-top-color: #ffffff;
}

.fm-step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: "Luckiest Guy", cursive;
  font-size: 5rem;
  color: rgba(188, 197, 206, 0.06);
  z-index: 0;
}

.fm-htb-card i {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.fm-sol-icon {
  fill: var(--gold-primary);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.fm-htb-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.fm-htb-card p {
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.fm-community {
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm-community h2 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.fm-community p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.fm-btn-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.fm-closing {
  text-align: center;
  padding: 100px 5%;
  background: radial-gradient(circle at center, rgba(188, 197, 206, 0.1) 0%, var(--bg-color) 60%);
}

.fm-closing h2 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.fm-footer {
  text-align: center;
  padding: 30px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fm-footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .fm-about-grid,
  .fm-tokenomics-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fm-about-img {
    margin: 0 auto 30px;
  }

  .fm-tk-list {
    order: 2;
    text-align: left;
  }

  .fm-tokenomics-img {
    order: 1;
    margin-bottom: 30px;
  }

  .fm-htb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fm-hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .fm-hero-content h1 {
    font-size: 2.5rem;
  }

  .fm-htb-grid {
    grid-template-columns: 1fr;
  }

  .fm-closing h2,
  .fm-community h2 {
    font-size: 2.5rem;
  }

  .fm-ca-box {
    width: 100%;
    justify-content: space-between;
    padding: 5px 5px 5px 15px;
  }

  .fm-ca-text {
    font-size: 0.85rem;
  }

  .fm-nav-actions .fm-btn span {
    display: none;
  }
}
