/* ======= Global Styles ======= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
  color: #222;
}

/* ======= Topbar ======= */
.topbar {
  background: #ff4d4f;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.topbar a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

/* ======= Logo & Banner ======= */
.logo-banner {
  background: #fff;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}
.logo {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
  vertical-align: middle;
}
.banner {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1rem;
}


/* ======= Navigation ======= */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 0.5rem 1rem;
}
.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
.main-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.search-bar {
  display: flex;
}
.search-bar input {
  padding: 0.4rem;
  border: none;
  border-radius: 4px 0 0 4px;
}
.search-bar button {
  padding: 0.4rem;
  border: none;
  background: #ff4d4f;
  color: #fff;
  border-radius: 0 4px 4px 0;
}

/* ======= Breadcrumb ======= */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  list-style: none;
  font-size: 0.9rem;
}
.breadcrumb li::after {
  content: ">";
  margin: 0 0.5rem;
}
.breadcrumb li:last-child::after {
  content: "";
}
.breadcrumb a {
  text-decoration: none;
  color: #0077cc;
}

/* ======= Headings ======= */
header h1 {
  text-align: center;
  margin: 1rem;
  font-size: 1.6rem;
}

/* ======= Product Grid ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}
.product {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.product h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product a {
  text-decoration: none;
  color: #ffffff;
}
.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
}
.badge.hot { background: #ff4d4f; }
.badge.new { background: #28a745; }
.badge.promo { background: #ffc107; color: #000; }
.btn-play {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background: #0077cc;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

/* ======= Sections ======= */
main section {
  background: #fff;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 8px;
  max-width: 960px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
main h2 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ======= Newsletter ======= */
.newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.newsletter button {
  padding: 0.5rem 1rem;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ======= Footer ======= */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.9rem;
}
.sticky-cta, .mobile-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto;
  flex-wrap: wrap;
}
.btn-footer {
  background: #ff4d4f;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

/* ======= Responsible Gaming ======= */
.responsible-gaming {
  background: #fff3cd;
  color: #856404;
  padding: 1rem;
  margin: 1rem auto;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  max-width: 960px;
  font-size: 0.95rem;
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
  .logo {
    width: 150px;
  }
  .banner {
    max-height: 200px;
  }
}