/* ========================================
   WAGIE - McDonald's Themed
   ======================================== */

/* === Reset & Variables === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #DA291C;
  --red-dark: #b8221a;
  --yellow: #FFC72C;
  --yellow-dark: #e6b327;
  --brown: #27251F;
  --brown-light: #3b3024;
  --cream: #FFF4E0;
  --bg: #27251F;
  --bg-alt: #3b3024;
  --bg-card: #3b3024;
  --text: #ffffff;
  --text-dim: #c4a882;
  --border: rgba(255,199,44,0.15);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2.5rem;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(39, 37, 31, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--yellow);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
}

.logo-mc { color: var(--red); }
.logo-wojak { color: var(--yellow); }

.nav-center {
  display: flex;
  gap: 2.2rem;
}

.nav-center a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-center a:hover { color: var(--yellow); }

.nav-cta {
  background: var(--red);
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(218,41,28,0.35);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: url('images/maxresdefault.jpg') center center / cover no-repeat;
  image-rendering: auto;
  image-rendering: high-quality;
}

/* McDonald's style top stripe */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--yellow) 50%, var(--yellow) 100%);
  z-index: 2;
}

/* Decorative background shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-shape-1 {
  width: 500px; height: 500px;
  background: var(--red);
  top: -150px; right: -100px;
  animation: shapeFloat 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--yellow);
  bottom: -100px; left: -150px;
  animation: shapeFloat 16s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px; height: 300px;
  background: var(--red);
  top: 40%; left: 10%;
  animation: shapeFloat 22s ease-in-out infinite;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Decorative clouds */
.hero-cloud {
  position: absolute;
  font-size: 8rem;
  opacity: 0.04;
  pointer-events: none;
  color: var(--yellow);
}

.hero-cloud-1 { top: 10%; left: 5%; animation: cloudDrift 30s linear infinite; }
.hero-cloud-2 { top: 25%; right: 8%; font-size: 6rem; animation: cloudDrift 25s linear infinite reverse; }
.hero-cloud-3 { bottom: 15%; left: 15%; font-size: 10rem; animation: cloudDrift 35s linear infinite; }

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px); }
  100% { transform: translateX(0); }
}

/* Decorative scattered elements */
.hero-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  animation: decoFloat 6s ease-in-out infinite;
}

.hero-deco-burger-1 { font-size: 3.5rem; top: 15%; left: 8%; animation-delay: 0s; }
.hero-deco-burger-2 { font-size: 3rem; bottom: 20%; right: 10%; animation-delay: -2s; }
.hero-deco-fries { font-size: 3.2rem; top: 30%; right: 15%; animation-delay: -1s; }
.hero-deco-moon { font-size: 3.5rem; top: 12%; right: 25%; animation-delay: -3s; }
.hero-deco-money { font-size: 2.5rem; bottom: 30%; left: 12%; animation-delay: -4s; }
.hero-deco-star-1 { font-size: 2rem; top: 20%; left: 30%; animation-delay: -1.5s; opacity: 0.08; }
.hero-deco-star-2 { font-size: 2.2rem; bottom: 25%; right: 30%; animation-delay: -2.5s; opacity: 0.08; }

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-pre {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dim);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Bungee', cursive;
  font-weight: 400;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.95;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  paint-order: stroke fill;
}

.title-mc {
  color: var(--red);
  -webkit-text-stroke: 4px var(--yellow);
}

.title-wojak {
  color: var(--yellow);
  -webkit-text-stroke: 4px var(--red);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

/* CA copy pill */
.hero-ca {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(39, 37, 31, 0.85);
  border: 2px solid var(--yellow);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-bottom: 1.2rem;
  max-width: 100%;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-ca:hover {
  background: rgba(255,199,44,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,199,44,0.2);
}

.hero-ca-label {
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-ca-address {
  font-size: 0.8rem;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ca-copied {
  display: none;
  font-size: 0.8rem;
  color: var(--yellow);
  font-weight: 600;
}

.hero-ca.copied .hero-ca-copied {
  display: inline;
}

.hero-ca.copied .hero-ca-address {
  display: none;
}

/* Buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}

.hero-btn-dex {
  background: var(--bg-card);
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.hero-btn-dex:hover {
  background: rgba(255,199,44,0.1);
  transform: translateY(-2px);
}

.hero-btn-buy {
  background: var(--red);
  color: white;
  border: 2px solid var(--red);
  box-shadow: 0 4px 20px rgba(218,41,28,0.3);
}

.hero-btn-buy:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(218,41,28,0.4);
}

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

/* === ABOUT SECTION === */
.about {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
  background: var(--red);
  border-top: 8px solid var(--yellow);
  border-bottom: 8px solid var(--yellow);
}

/* Diagonal stripe pattern overlay */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.05) 40px,
    rgba(0,0,0,0.05) 80px
  );
  pointer-events: none;
}

.about-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.1;
  pointer-events: none;
}

.about-deco-1 {
  width: 400px; height: 400px;
  background: var(--yellow);
  top: -100px; left: -100px;
}

.about-deco-2 {
  width: 300px; height: 300px;
  background: var(--yellow);
  bottom: -50px; right: -50px;
}

.about-deco-3 {
  width: 200px; height: 200px;
  background: white;
  top: 50%; left: 60%;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--yellow);
  background: var(--brown);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease);
}

.about-img-wrap:hover {
  transform: translateY(-6px) scale(1.01);
}

.about-main-img {
  width: 100%;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }

.about .text-red { color: var(--yellow); }
.about .text-yellow { color: white; }

.about-quote {
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  border-left: 4px solid var(--yellow);
  padding-left: 1.2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown);
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
  margin-bottom: 2rem;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,199,44,0.35);
}

.about-socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 1.2rem;
  transition: all 0.3s var(--ease);
}

.social-icon:hover {
  background: var(--yellow);
  color: var(--red);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.social-icon-img {
  font-size: 1.3rem;
}

/* === HOW IT WORKS === */
.how-it-works {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  text-align: center;
  background: var(--yellow);
}

/* Red stripe borders */
.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 40px, transparent 40px, transparent 60px);
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0, var(--red) 40px, transparent 40px, transparent 60px);
}

.how-it-works .section-heading {
  margin-bottom: 3rem;
  color: var(--red);
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
}

.hiw-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}

.hiw-step {
  background: white;
  border: 3px solid var(--red);
  border-radius: 24px;
  padding: 2.5rem 1.2rem 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(218,41,28,0.15);
  position: relative;
}

.hiw-step:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 45px rgba(218,41,28,0.35);
  background: #fff8f0;
  border-color: var(--red-dark);
}

.hiw-step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', cursive;
  font-size: 1.5rem;
  color: var(--yellow);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(218,41,28,0.4);
}

.hiw-step h5 {
  font-family: 'Bungee', cursive;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 0;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 500px) {
  .hiw-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(39, 37, 31, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-center.open a {
    font-size: 1.5rem;
    color: white;
  }

  .hero-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
  }

  .hero-pre {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .hero-character {
    width: 200px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .section-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.7rem 1.2rem;
  }

  .hero {
    padding: 7rem 1rem 3rem;
  }

  .hero-character {
    width: 180px;
  }

  .about, .how-it-works {
    padding: 5rem 1.2rem;
  }

  .section-heading {
    font-size: 2rem;
  }
}
