/* 🔥 GENERAL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #fff0f5, #ffe1ec);
  color: #333;
}

/* 🔥 HEADER */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px 10px;
  background-color: #fff0f5;
}

.left-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ff80ab;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.5);
}

.brand-name {
  font-size: 42px;
  font-weight: bold;
  color: #d1006f;
  margin: 0;
}

.right-box {
  font-size: 24px;
  font-weight: bold;
  color: #d1006f;
  background-color: #fff4fa;
  padding: 8px 18px;
  border-radius: 25px;
  box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
}

/* 🔥 LINE UNDER HEADER */
.bottom-pink-line {
  border: none;
  height: 3px;
  background: linear-gradient(to right, #ff80ab, #ff4da6);
  margin: 0 40px 30px;
}

/* 🔥 WELCOME SECTION */
.welcome-panel {
  text-align: center;
  padding: 40px 20px;
}

.welcome-text h2 {
  font-size: 32px;
  color: #d1006f;
}

.welcome-text p {
  font-size: 18px;
  color: #444;
}
.welcome-box p {
  font-size: 16px;
  color: #444;
}
.feature-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feature-box a {
  text-decoration: none;
  color: #d1006f;
  font-weight: bold;
}

.fb-icon {
  width: 20px;
  height: 20px;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .feature-box {
    padding: 6px 10px;
    font-size: 12px;
  }

  .fb-icon {
    width: 18px;
    height: 18px;
  }
}



/* 🔥 GAMES SECTION */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 14px;
  justify-items: center;
}

.game-card {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  width: 100px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 180px;
}

.game-img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.hot-sticker {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #ff0055;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: bold;
  display: none;
}

.bonus-tag {
  margin-top: 6px;
  font-weight: bold;
  font-size: 12px;
  color: #ff3385;
  text-align: center;
}

.play-btn {
  margin-top: 6px;
  background: #ff3385;
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}

.rules-section {
  background: #fff0f8;
  border-radius: 20px;
  padding: 40px 20px;
  margin: 50px auto;
  max-width: 800px;
  color: #cc0066;
  box-shadow: 0 4px 12px rgba(255, 0, 102, 0.1);
}

.rules-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #d1006f;
}

.rule-box {
  margin-bottom: 30px;
}

.rule-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ff3399;
}

.rule-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}

.rule-box ul li {
  margin-bottom: 6px;
  font-size: 1rem;
}

.rule-box img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.rule-box p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ✅ MOBILE-FRIENDLY FIXES */
@media (max-width: 768px) {
  .header-row {
    flex-direction: column;
    padding: 20px 10px 10px;
    text-align: center;
  }

  .logo-img {
    height: 50px;
  }

  .brand-name {
    font-size: 28px;
  }

  .right-box {
    font-size: 16px;
    padding: 6px 12px;
    margin-top: 10px;
  }

  .welcome-text h2 {
    font-size: 24px;
  }

  .welcome-text p {
    font-size: 14px;
  }

  .box-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 90%;
  }

  .feature-box {
    font-size: 12px;
    padding: 8px;
  }

  .fb-icon {
    width: 20px;
    height: 20px;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .game-card {
    width: 100%;
    min-height: 160px;
  }

  .game-img {
    height: 60px;
  }

  .bonus-tag, .play-btn {
    font-size: 11px;
  }

  .rules-section {
    padding: 20px 12px;
  }

  .rules-section h2 {
    font-size: 1.5rem;
  }

  .rule-box h3 {
    font-size: 1.2rem;
  }

  .rule-box ul li,
  .rule-box p {
    font-size: 0.95rem;
  }
}
