/* ========================================== CASHMASH MAIN STYLE Author: Arif Satify ========================================== */
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL THEME */
:root {
  --gold: #f5c542;
  --gold-light: #ffdb6e;
  --bg-dark: #000;
  --bg-deep: #000000;
  --text-light: #fff;
  --text-dim: #bbb;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at center, #000 20%, #000000 100%);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ========================================== HERO SECTION ========================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 160px 20px 140px;
  background: radial-gradient(circle at 50% 20%, rgba(245, 197, 66, 0.15), transparent 70%), linear-gradient(to bottom, #020617 0%, #000 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/glow-pattern.png');
  background-size: cover;
  opacity: 0.08;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 3.4em;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(245, 197, 66, 0.3);
  letter-spacing: 1px;
}

.hero-content h1 span.mash {
  color: #f5c542;
  animation: goldGlow 3s infinite ease-in-out;
}

@keyframes goldGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(245, 197, 66, 0.4);
  }

  50% {
    text-shadow: 0 0 25px rgba(245, 197, 66, 0.8);
  }
}

.hero-content p {
  font-size: 1.2em;
  color: var(--text-dim);
  margin: 20px auto 40px;
  line-height: 1.6;
  max-width: 600px;
}

.btn-gold.big {
  font-size: 1.1em;
  padding: 16px 45px;
  border-radius: 40px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #000;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(245, 197, 66, 0.3);
  transition: all 0.3s ease;
}

.btn-gold.big:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(245, 197, 66, 0.8);
}

/* ========================================== FEATURES SECTION ========================================== */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  padding: 90px 20px;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.08), transparent 70%);
  pointer-events: none;
}

.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px;
  width: 300px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature h2 {
  color: var(--gold);
  font-size: 1.5em;
  margin-bottom: 12px;
}

.feature p {
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.5;
}

.feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 66, 0.12), transparent);
  transition: 0.6s;
}

.feature:hover::after {
  left: 100%;
}

.feature:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(245, 197, 66, 0.2);
}

/* ========================================== ANIMATIONS ========================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================== RESPONSIVE ========================================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .features {
    flex-direction: column;
    align-items: center;
    padding: 60px 10px;
  }

  .feature {
    width: 90%;
    max-width: 320px;
  }
}

/* ========================================== GAMES OVERVIEW SECTION ========================================== */
.games-overview {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
  position: relative;
  overflow: hidden;
}

.games-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(245, 197, 66, 0.1), transparent 80%);
  opacity: 0.5;
  z-index: 0;
}

.games-overview h2 {
  position: relative;
  z-index: 1;
  font-size: 2.2em;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
  animation: fadeUp 1s ease forwards;
}

.games-overview p {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  animation: fadeUp 1.2s ease forwards;
}

.games-overview ul {
  position: relative;
  z-index: 1;
  list-style: none;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0;
}

.games-overview ul li {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  animation: fadeUp 1.4s ease forwards;
}

.games-overview ul li::before {
  content: '\2022';
  color: var(--gold);
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -2px;
}

.games-overview .btn-gold {
  position: relative;
  z-index: 1;
  font-size: 1em;
  padding: 14px 40px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #000;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.3);
  transition: all 0.3s ease;
  animation: fadeUp 1.6s ease forwards;
}

.games-overview .btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(245, 197, 66, 0.7);
}

/* ========================================== PROMOTIONS SECTION ========================================== */
.promotions {
  padding: 90px 20px;
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(245, 197, 66, 0.05), transparent 70%), linear-gradient(to top, #000000 0%, #000 100%);
  position: relative;
  overflow: hidden;
}

.promotions h2 {
  position: relative;
  z-index: 1;
  font-size: 2.2em;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
  animation: fadeUp 1s ease forwards;
}

.promotions p {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  animation: fadeUp 1.2s ease forwards;
}

.promotions .btn-gold {
  position: relative;
  z-index: 1;
  font-size: 1em;
  padding: 14px 40px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #000;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.3);
  transition: all 0.3s ease;
  animation: fadeUp 1.4s ease forwards;
}

.promotions .btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(245, 197, 66, 0.7);
}

/* ========================================== WHY CHOOSE US SECTION ========================================== */
.why-choose-us {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, rgba(245, 197, 66, 0.08), transparent 80%);
  opacity: 0.5;
  z-index: 0;
}

.why-choose-us h2 {
  position: relative;
  z-index: 1;
  font-size: 2.2em;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
  animation: fadeUp 1s ease forwards;
}

.why-choose-us p {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  animation: fadeUp 1.2s ease forwards;
}

.why-choose-us a {
  position: relative;
  z-index: 1;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  animation: fadeUp 1.4s ease forwards;
}

.why-choose-us a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(245, 197, 66, 0.6);
}

/* ========================================== RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS ========================================== */
@media (max-width: 768px) {

  .games-overview,
  .promotions,
  .why-choose-us {
    padding: 60px 10px;
  }

  .games-overview h2,
  .promotions h2,
  .why-choose-us h2 {
    font-size: 1.8em;
  }

  .games-overview p,
  .promotions p,
  .why-choose-us p {
    font-size: 1em;
  }

  .games-overview ul li {
    font-size: 0.95em;
  }

  .why-choose-us a {
    display: block;
    margin: 10px 0;
  }
}