/* ===== Mega Brett - MegaETH White Tones ===== */
:root {
  --moon-white: #ECE8E8;
  --full-moon: #DFD9D9;
  --night-sky: #19191A;
  --text-dark: #2d2d2d;
  --text-muted: #5a5a5a;
  --brett-blue: #70BAD2;
  --accent-coral: #F5AF94;
  --accent-pink: #F5949D;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Fredoka', sans-serif;
  background: var(--moon-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: #000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brett-blue);
}

.btn-nav {
  background: var(--brett-blue) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 8px !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

.btn-nav:hover {
  background: #5aa5c2 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--moon-white) 0%, var(--full-moon) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--moon-white) 0%, var(--full-moon) 50%, #e8e4e4 100%);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.intro-text {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 700;
  color: var(--brett-blue);
  text-shadow: 2px 2px 0 white, -1px -1px 0 rgba(0,0,0,0.05);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contract-address {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brett-blue);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #5aa5c2;
}

.copy-btn.copied {
  background: #90D79F;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brett-blue);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #5aa5c2;
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--brett-blue);
  border: 2px solid var(--brett-blue);
}

.btn-secondary:hover {
  background: rgba(112, 186, 210, 0.1);
}

.hero-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 5s ease-in-out infinite;
}

.mascot-img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 2rem;
  background: var(--moon-white);
}

.section:nth-child(even) {
  background: var(--full-moon);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== About ===== */
.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.brett-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brett-gallery img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ===== Tokenomics ===== */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.tokenomics-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--full-moon);
}

.tokenomics-percent {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brett-blue);
  margin-bottom: 0.5rem;
}

.tokenomics-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tokenomics-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact-box {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--full-moon);
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-box .contract-row {
  justify-content: center;
  margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--full-moon);
  text-align: center;
  background: var(--full-moon);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--brett-blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-coral);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-mascot {
    order: -1;
  }

  .mascot-img {
    max-width: 220px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .contract-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .brett-gallery {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
}
