/* Basic styles for affiliate marketing site */

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


body {
  font-family: 'Press Start 2P', 'Arial Black', 'Comic Sans MS', cursive, sans-serif;
  line-height: 1.6;
  color: #222;
  background: url('../img/retro-tile-bg.png');
  background-color: #ffeedd;
  image-rendering: pixelated;
}


header {
  background: #ff0033;
  color: #fff;
  padding: 0;
  border-bottom: 6px solid #222;
  box-shadow: 0 4px 0 #39ff14, 0 8px 0 #222;
}


.nav-90s {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(90deg, #f7b32b 0%, #ff0033 100%);
  padding: 0.5rem 2rem;
  border-bottom: 4px solid #222;
}
.site-logo {
  height: 56px;
  margin-right: 1.2rem;
  image-rendering: pixelated;
  border: 3px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 2px 2px 0 #222;
}
.site-title {
  font-size: 2rem;
  font-family: 'Arial Black', 'Press Start 2P', cursive;
  color: #222;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 #f7b32b;
  margin-right: 2rem;
}
.nav-90s nav {
  flex: 1;
}
.nav-90s ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-90s a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: 'Arial Black', 'Press Start 2P', cursive;
  padding: 0.4rem 1.2rem;
  border: 2px solid #f7b32b;
  border-radius: 8px;
  background: #ff0033;
  box-shadow: 2px 2px 0 #222;
  transition: background 0.2s, color 0.2s;
}
.nav-90s a:hover {
  background: #f7b32b;
  color: #222;
}


.retro-nav {
  background: #222;
  border-bottom: 4px solid #ff0033;
  box-shadow: 0 2px 0 #39ff14;
}
.retro-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.5rem 0;
}
.retro-nav a {
  color: #39ff14;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: 'Press Start 2P', 'Arial Black', cursive;
  padding: 0.3rem 1rem;
  border: 2px solid #ff0033;
  border-radius: 8px;
  background: #111;
  box-shadow: 2px 2px 0 #ff0033;
  transition: background 0.2s, color 0.2s;
}
.retro-nav a:hover {
  background: #ff0033;
  color: #fff;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}


.hero {
  text-align: center;
  padding: 2.5rem 0 2rem 0;
  background: #ffeedd url('../img/retro-hero-bg.gif') repeat;
  color: #222;
  border: 4px solid #ff0033;
  border-radius: 18px;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 0 6px #39ff14, 0 8px 0 #222;
}
.hero-tagline {
  font-size: 1.2rem;
  color: #ff0033;
  margin-bottom: 1rem;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}
.retro-callout {
  background: #222;
  color: #39ff14;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px dashed #ff0033;
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 1rem;
  font-family: 'Press Start 2P', 'Arial Black', cursive;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.featured-products h2 {
  margin-bottom: 2rem;
  color: #2c3e50;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}


.product-card {
  background: #fffbe0;
  border: 4px solid #222;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 0 0 4px #ff0033, 0 6px 0 #39ff14;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  position: relative;
}
.product-card:hover {
  transform: scale(1.03) rotate(-2deg);
  box-shadow: 0 0 0 8px #39ff14, 0 12px 0 #ff0033;
}
.badges {
  margin-bottom: 0.5rem;
}
.badge {
  display: inline-block;
  font-size: 0.85rem;
  font-family: 'Press Start 2P', 'Arial Black', cursive;
  padding: 0.2rem 0.7rem;
  margin-right: 0.5rem;
  border-radius: 8px;
  border: 2px solid #222;
  background: #39ff14;
  color: #222;
  box-shadow: 2px 2px 0 #ff0033;
  text-shadow: 1px 1px 0 #fff;
}
.badge.usa {
  background: #ff0033;
  color: #fff;
  border-color: #39ff14;
}
.badge.value {
  background: #39ff14;
  color: #222;
  border-color: #ff0033;
}

.product-card img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.product-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.rating {
  color: #f39c12;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.description {
  color: #666;
  margin-bottom: 1rem;
}


.affiliate-link {
  width: 100%;
  padding: 0.9rem;
  background: #222;
  color: #39ff14;
  border: 3px solid #ff0033;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: 'Press Start 2P', 'Arial Black', cursive;
  cursor: pointer;
  box-shadow: 2px 2px 0 #ff0033;
  transition: background 0.2s, color 0.2s;
}
.affiliate-link:hover {
  background: #ff0033;
  color: #fff;
}


footer {
  background: #222;
  color: #39ff14;
  text-align: center;
  padding: 2rem 0 1.5rem 0;
  margin-top: 3rem;
  border-top: 6px solid #ff0033;
  box-shadow: 0 -4px 0 #39ff14;
}
.footer-retro {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-mascot {
  height: 48px;
  margin-bottom: 0.5rem;
  image-rendering: pixelated;
}
.footer-tagline {
  font-size: 1.1rem;
  color: #ff0033;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}


@media (max-width: 900px) {
  .retro-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .site-title {
    font-size: 1.3rem;
  }
  .hero h2 {
    font-size: 1.3rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Import retro pixel font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
