*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
}

/* Nav */
.nav {
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-link:hover {
  background: #f0f0f0;
}

/* Main */
.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Games grid */
.games {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Game card */
.game-card {
  display: block;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.game-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.game-card-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Ad slots */
.ad-slot {
  width: 100%;
  max-width: 400px;
  min-height: 50px;
  text-align: center;
}

.ad-slot--bottom {
  margin-top: 2rem;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop */
@media (min-width: 768px) {
  .main-title {
    font-size: 1.75rem;
  }

  .games {
    flex-direction: column;
    align-items: center;
  }

  .game-card {
    max-width: 400px;
  }

  .ad-slot--between {
    max-width: 400px;
  }
}


/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #999;
  font-size: 0.85rem;
}

.footer-link {
  color: #888;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.consent-inner {
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.consent-text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.consent-buttons {
  display: flex;
  gap: 0.5rem;
}

.consent-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.consent-btn--accept {
  background: #4CAF50;
  color: #fff;
}

.consent-btn--decline {
  background: #666;
  color: #fff;
}


/* Privacy page */
.privacy-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.privacy-back {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.privacy-back:hover {
  text-decoration: underline;
}

.privacy-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-date {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.privacy-container h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-container p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.privacy-container ul {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-container li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.privacy-container a {
  color: #7c3aed;
}
