/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top, #1e1e2f, #121212);
  color: white;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #ff512f, #dd2476);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 81, 47, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 28px;
  color: #fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #ff512f;
}

.logo {
  height: 40px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 60px 20px 20px;
  background: #000;
  position: relative;
}

.hero-animation {
  max-width: 500px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 42px;
  margin-top: 20px;
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00;
}

.hero p {
  font-size: 18px;
  margin-top: 10px;
  color: #ddd;
}

.cta-button {
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,204,0,0.7);
  margin-top: 20px;
}

.cta-button:hover {
  background: #fff100;
  transform: scale(1.05);
}

/* RED SECTION (Toggle buttons) */
.red-section {
  width: 100%;
  background-color: #000000;
  padding: 40px 0;
  text-align: center;
}

.toggle-container {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toggle-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toggle-button.active {
  background-color: white;
  color: #ff3b3b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-button:focus {
  outline: none;
}

.toggle-button:active {
  transform: scale(0.95);
}

/* GAMES CONTAINER */
.games-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(to bottom, #7637A5, #000000);
}

.game-item {
  width: calc(16.66% - 10px);
  max-width: 150px;
  text-align: center;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.game-button {
  background-color: yellow;
  color: black;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  font-size: 14px;
}

.game-button:hover {
  background-color: #cccc00;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .game-item {
    width: calc(20% - 10px);
  }
}

@media (max-width: 992px) {
  .game-item {
    width: calc(25% - 10px);
  }
}

@media (max-width: 768px) {
  .game-item {
    width: calc(33.33% - 10px);
  }
}

@media (max-width: 576px) {
  .game-item {
    width: calc(33.33% - 10px);
    max-width: 100px;
  }
  .game-image {
    width: 60px;
    height: 60px;
  }
  .game-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* FOOTER */
footer {
  background-color: black;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
}

.footer-text {
  font-size: 14px;
}

.footer-logo {
  font-weight: bold;
  font-size: 18px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff3b3b;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-top: 15px;
  }

  .footer-links a {
    margin: 0 10px;
  }
  
}
.falling-words {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  font-size: 48px;
  font-weight: bold;
}

.word {
  opacity: 0;
  transform: translateY(-100px);
  animation: fallIn 0.8s ease-out forwards;
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900;
}

.word:nth-child(1) {
  animation-delay: 0.2s;
}
.word:nth-child(2) {
  animation-delay: 0.8s;
}
.word:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes fallIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 
@media (max-width: 600px) {
  .falling-words {
    font-size: 32px;      /* smaller font on small screens */
    gap: 10px;            /* reduce spacing */
    flex-wrap: wrap;      /* allow words to wrap instead of overflow */
    justify-content: center;
    padding: 0 10px;      /* small padding so words don’t hug edges */
  }
}


