/* Wendy's Maxxing — $WENMAXX */

:root {
  --wendy-red: #e22026;
  --wendy-red-dark: #b8181d;
  --wendy-red-light: #ff3b42;
  --wendy-cream: #fff8f0;
  --wendy-yellow: #ffc72c;
  --wendy-brown: #3d2314;
  --wendy-black: #1a0a0a;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --card-bg: rgba(26, 10, 10, 0.85);
  --card-border: rgba(226, 32, 38, 0.25);
  --shadow-red: 0 8px 32px rgba(226, 32, 38, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--wendy-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--wendy-red);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--wendy-red-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--wendy-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--wendy-red-light);
  box-shadow: 0 8px 40px rgba(226, 32, 38, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--wendy-red);
  color: var(--wendy-red-light);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 10, 10, 0.7) 0%,
    rgba(26, 10, 10, 0.85) 50%,
    rgba(26, 10, 10, 0.98) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0 6rem;
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--wendy-red);
  box-shadow: var(--shadow-red), 0 0 60px rgba(226, 32, 38, 0.4);
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}

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

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.hero-wendys {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--wendy-red);
  text-shadow: 2px 2px 0 var(--wendy-red-dark), 0 0 40px rgba(226, 32, 38, 0.5);
  line-height: 1;
}

.hero-maxxing {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.15em;
  color: var(--text-primary);
  position: relative;
}

.hero-maxxing::before,
.hero-maxxing::after {
  content: '';
  display: inline-block;
  width: clamp(40px, 8vw, 80px);
  height: 3px;
  background: var(--wendy-red);
  vertical-align: middle;
  margin: 0 1rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ca-display {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.5rem;
  max-width: 100%;
}

.ca-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

#ca-value {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: var(--wendy-yellow);
  word-break: break-all;
  font-family: 'Courier New', monospace;
}

/* ── Sections ── */

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--wendy-red);
  background: rgba(226, 32, 38, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ── About ── */

.about {
  background: linear-gradient(180deg, var(--wendy-black) 0%, #2a0f0f 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--wendy-red);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--wendy-red-light);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Memes ── */

.memes {
  background: var(--wendy-black);
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.meme-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--card-border);
  background: var(--card-bg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.meme-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-red);
  border-color: var(--wendy-red);
}

.meme-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.meme-caption {
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  background: rgba(26, 10, 10, 0.95);
  border-top: 1px solid var(--card-border);
}

/* ── Chart ── */

.chart-section {
  background: linear-gradient(180deg, var(--wendy-black) 0%, #1f0808 100%);
}

.chart-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--card-border);
  background: #0d0404;
  min-height: 400px;
}

.chart-wrapper iframe {
  display: block;
  border: none;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 400px;
  padding: 3rem;
  text-align: center;
  color: var(--text-secondary);
}

.chart-placeholder-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 4s ease-in-out infinite;
}

.chart-placeholder code {
  background: rgba(226, 32, 38, 0.15);
  color: var(--wendy-yellow);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ── Community ── */

.community {
  background: var(--wendy-black);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.social-card.twitter:hover { border-color: #1da1f2; }
.social-card.telegram:hover { border-color: #0088cc; }
.social-card.pump:hover { border-color: var(--wendy-red); }

.social-card svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.social-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.social-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Footer ── */

.footer {
  background: #0d0404;
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--wendy-red-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Toast ── */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--wendy-red);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
  box-shadow: var(--shadow-red);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 10, 10, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  #buy-btn-nav {
    display: none;
  }

  .hero-maxxing::before,
  .hero-maxxing::after {
    width: 30px;
    margin: 0 0.5rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .section {
    padding: 4rem 0;
  }
}
