* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Comic Sans MS", "Arial Rounded MT Bold", "Arial", sans-serif;
  background-color: #fff8dc;
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 18px;
  line-height: 1.6;
}

header {
  background-color: #ffa500;
  padding: 1.2em 0;
  color: white;
  font-size: clamp(2em, 6vw, 2.5em);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  color: #333;
  font-size: clamp(1.5em, 5vw, 2em);
  margin: 25px 0;
  padding: 0 15px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Game Cards */
.game-card {
  background: #ffefd5;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.game-card:hover,
.game-card:active {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.game-card a {
  display: block;
  font-size: clamp(1.1em, 4vw, 1.4em);
  text-decoration: none;
  color: #000080;
  margin-top: 8px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  text-align: center;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Support Section */
.support-section {
  margin-top: 40px;
  padding: 30px 15px;
  background: linear-gradient(135deg, #ffa500, #ff6b6b);
  border-radius: 15px;
  margin: 40px 15px 20px 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.support-content {
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.support-content h3,
.support-content h4 {
  font-size: clamp(1.5em, 5vw, 2em);
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.support-content p {
  font-size: clamp(1em, 3vw, 1.2em);
  margin-bottom: 15px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.support-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #ff6b6b;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: clamp(1.1em, 4vw, 1.3em);
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.support-btn:hover {
  transform: scale(1.05);
  background: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Contact Info */
.contact-info {
  margin-top: 20px;
  font-size: clamp(0.9em, 3vw, 1.1em);
  opacity: 0.9;
}

.contact-info a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #fff8dc;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.contact-info-secondary {
  margin-top: 10px;
  font-size: clamp(0.8em, 2.5vw, 1em);
  opacity: 0.8;
  font-style: italic;
}

/* Footer */
.footer {
  margin-top: 30px;
  font-size: clamp(1em, 3vw, 1.1em);
  color: #555;
  padding: 25px 15px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: #ffa500;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  margin: 0 10px;
}

.footer-links a:hover {
  color: #ff6b6b;
}

.footer-contact {
  margin-top: 10px;
  opacity: 0.7;
}

.footer-contact small {
  font-size: clamp(0.7em, 2vw, 0.9em);
  color: #666;
}

.footer-contact a {
  color: #ffa500;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #ff6b6b;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: clamp(0.9em, 3vw, 1em);
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: clamp(0.8em, 3vw, 0.9em);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #4ecdc4;
  color: white;
}

.cookie-btn.reject {
  background: #ff6b6b;
  color: white;
}

.cookie-btn:hover {
  transform: scale(1.05);
}

/* Section Headings */
.section-heading {
  margin-top: 40px;
  color: #333;
  font-size: clamp(1.5em, 5vw, 2em);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    padding: 0;
    padding-top: 60px;
  }

  header {
    padding: 0.8em 0;
  }

  .game-card {
    padding: 12px;
    min-height: 100px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 50px;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .game-card {
    padding: 10px;
    min-height: 90px;
  }

  .game-card img {
    width: 50px;
    height: 50px;
  }

  .support-section {
    margin: 30px 10px 15px 10px;
    padding: 20px 10px;
  }

  .support-content h3,
  .support-content h4 {
    font-size: clamp(1.3em, 5vw, 1.8em);
  }

  .support-content p {
    font-size: clamp(0.9em, 3vw, 1.1em);
  }

  .support-btn {
    padding: 12px 25px;
    font-size: clamp(1em, 4vw, 1.2em);
  }
}
