/* AffiliateMadeEZ.com Style Sheet */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #B4EAF1;
  color: #012A36;
}

header {
  background: #066C8B;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  height: 100px;
  width: auto;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

h1, h2 {
  margin: 0.5rem 0;
}

.hero {
  background: #1EA5D5;
  color: white;
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.hero .btn {
  display: inline-block;
  margin: 0.4rem;
  padding: 0.6rem 1rem;
  background: #066C8B;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}

.hero .btn:hover {
  background: #4AC8E3;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  border-bottom: 3px solid #1EA5D5;
  padding-bottom: 0.4rem;
  color: #012A36;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters input,
.filters select {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #4AC8E3;
  border-radius: 6px;
  font-size: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #4AC8E3;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.badge {
  background: #1EA5D5;
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
}

footer {
  background: #066C8B;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.sticky-banner {
  background: #066C8B;
  color: #fff;
  padding: 0.8rem;
  text-align: center;
  position: sticky;
  bottom: 0;
  font-weight: 500;
}

.sticky-banner a {
  color: #4AC8E3;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .filters {
    flex-direction: column;
  }
}
