.hero-section {
  background-image:
    radial-gradient(100% 80% at 50% 40%, rgba(255, 59, 59, 0.07), transparent 100%),
    linear-gradient(to bottom,
      #1c1c1c 0%,
      #171717 60%,
      rgba(17, 17, 17, 0.7) 80%,
      rgba(17, 17, 17, 0.95) 94%,
      #111111 100%
    );
  padding: 140px 40px 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-content {
    max-width: 980px;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
    font-family: var(--font-primary);
    letter-spacing: 0.8px;
}

.hero-content p {
    font-size: 20px;
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 50px;
    font-family: var(--font-primary);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 59, 59, 0.3);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    font-family: var(--font-primary);
    border: 2px solid transparent;
}

.hero-cta:hover {
    background-color: #ff4d4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 59, 59, 0.4);
}

.hero-cta:active {
    transform: scale(0.98);
}

.hero-cta .material-symbols-outlined {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.hero-cta:hover .material-symbols-outlined {
    transform: rotate(45deg);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-cta {
    font-size: 16px;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }
}

.chip-left,
.card-right {
  position: absolute;
  width: 180px;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.chip-left {
  top: -30px;
  left: -50px;
  transform: rotate(-10deg);
}

.card-right {
  top: -25px;
  right: -45px;
  transform: rotate(6deg);
}

.why-play {
    position: relative;
    background-color: var(--dark-gray);
    padding: 120px 20px 80px;
    text-align: center;
    margin-top: -45px;
}

.why-play h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(25,25,25,0.9), rgba(10,10,10,0.9));
    padding: 32px;
    border-radius: 16px;
    min-height: 420px;
    text-align: left;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.4);
    border-color: var(--red);
}

.card:hover h3 {
    color: var(--red);
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card h4 {
    font-size: 15px;
    color: var(--light-gray);
    margin-bottom: 12px;
}

.card p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.learn-more {
    background-color: #00ffff00;
    color: var(--button-text-dark);
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    align-self: flex-start;
    transition: all 0.3s ease-in-out;
    padding-left: 0;
}

.arrow {
    margin-left: 8px;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}

.learn-more:hover {
    opacity: 0.8;
}

.learn-more:hover .arrow {
    transform: translateX(5px);
}

.game-modes {
    background-color: var(--dark-gray);
    padding: 100px 20px;
    text-align: center;
}

.game-modes h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.game-modes p {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.modes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.modes-grid::after {
    content: '';
    flex-basis: 100%;
    height: 0;
}

.mode-card {
    background: linear-gradient(145deg, rgba(25,25,25,0.9), rgba(10,10,10,0.9));
    padding: 25px;
    border-radius: 10px;
    width: 320px;
    min-height: 280px;
    text-align: left;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    flex: 0 0 320px;
}


.mode-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255, 59, 59, 0.3);
}

.mode-card h3 {
    font-size: 24px;
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
}

.mode-card h4 {
    font-size: 17px;
    color: var(--red);
    margin-bottom: 12px;
    font-weight: 600;
}

.mode-card p {
    color: var(--light-gray);
    font-size: 15.5px;
    line-height: 1.5;
}

.mode-card ul {
    margin-top: 15px;
    padding-left: 18px;
    color: var(--text-color);
    font-size: 14px;
}

.mode-card ul li::marker {
    color: var(--red);
}

@media (max-width: 900px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }
}

.mode-card li {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.mode-card:hover {
    transform: scale(1.03) translateX(3px);
    box-shadow: inset 0px 0px 20px rgba(255, 59, 59, 0.6);
}

.mode-card:hover h4 {
    color: var(--red);
}

@media (max-width: 900px) {
    .modes-grid {
        flex-direction: column;
        align-items: center;
    }
}

.cta-section {
    background-image: radial-gradient(75% 75% at 50% 50%, #05050585 0%, #05050561 100%),radial-gradient(18% 28% at 24% 50%, #CB4141FF 7%, #073AFF00 100%),radial-gradient(18% 28% at 18% 71%, #DB6B6BFF 6%, #073AFF00 100%),radial-gradient(70% 53% at 36% 76%, #CF5858FF 0%, #073AFF00 100%),radial-gradient(42% 53% at 15% 94%, #ff3b3b 7%, #073AFF00 100%),radial-gradient(42% 53% at 34% 72%, #804545FF 7%, #073AFF00 100%),radial-gradient(18% 28% at 35% 87%, #DC4848FF 7%, #073AFF00 100%),radial-gradient(31% 43% at 7% 98%, #ff3b3b 24%, #073AFF00 100%),radial-gradient(21% 37% at 72% 23%, #FB6C6CFF 24%, #073AFF00 100%),radial-gradient(35% 56% at 91% 74%, #8A0505FF 9%, #073AFF00 100%),radial-gradient(74% 86% at 67% 38%, #ff3b3b 24%, #073AFF00 100%),linear-gradient(125deg, #9B0000FF 1%, #050505 100%);
    padding: 100px 20px;
    text-align: center;
    border-top: 2px solid var(--red);
}

.cta-section h2 {
    font-size: 50px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-section p {
    font-size: 22px;
    color: var(--light-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: transparent;
    color: white;
    padding: 16px 50px;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--red);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--red);
    box-shadow: 0px 4px 15px rgba(255, 59, 59, 0.5);
    transform: scale(1.05);
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease-in-out;
}

.cta-button:hover::before {
    left: 100%;
}