/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.img-bg {
  padding: 40px 0;
  background: linear-gradient(135deg, #1db954, #191414);

  @media (max-width: 800px) {
    background-position: top;
  }

  @media (max-width: 768px) {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

header {
  width: 100%;
  position: relative;
  z-index: 109;
  background-color: #333;

  p {
    padding: 20px;
    font-size: 28px;
    color: #fff;
    text-align: center;
  }

  @media (max-width: 1111px) {
    position: relative !important;
  }
}

.header__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  @media (max-width: 800px) {
    flex-direction: column !important;
  }
}

.btn {
  border: none;
  cursor: pointer;
  padding: 14px 36px;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius-lg);
  transition: 0.3s ease;
}

.btn:hover {
  background: var(--color-accent);
}

.hero__btn-primary,
.hero__btn-secondary {
  padding: 14px 32px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.hero__btn-primary {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.hero__btn-primary:hover {
  background-color: var(--color-accent);
}

.mar {
  margin-top: 20px;
  margin-bottom: 20px;
  background: orangered !important;
  color: #fff !important;
  text-decoration: none;

  &:hover {
    opacity: 0.8;
  }
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: #fff;
  background-color: #121212;
}

a {
  text-decoration: none;
  color: #1db954;
}

h1,
h2,
h3 {
  color: #fff;
  font-weight: 700;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 1.2rem 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 48px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.6rem;
  color: #1db954;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2.5rem;
}

.nav-links a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s, transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1db954;
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, #1db954, #191414);
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: #b3b3b3;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn.primary {
  background-color: #1db954;
  color: #000;
  border: none;
}

.btn.primary:hover {
  background-color: #17a34a;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #1db954;
}

.btn.secondary:hover {
  background-color: #1db954;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.hero-image {
  max-width: 45%;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
  text-align: center;
}

.about h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.about p {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #b3b3b3;
  font-size: 1.1rem;
}

.about-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.about-images img {
  max-width: 220px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Benefits Section */
.benefits {
  padding: 4rem 3rem;
  background-color: #121212;
}

.benefits h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.benefits p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #b3b3b3;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit {
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.benefit img {
  width: 64px;
  margin-bottom: 1rem;
}

.benefit h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.benefit p {
  color: #b3b3b3;
  font-size: 1rem;
}

/* Community Section */
.community {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
  text-align: center;
}

.community h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.community p {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #b3b3b3;
  font-size: 1.1rem;
}

.community-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.community-images img {
  max-width: 220px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.community-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #1db954, #191414);
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.cta p {
  color: #b3b3b3;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Rules Page */
.rules-overview,
.game-components,
.strategies,
.faq {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
}

.rules-overview h1,
.game-components h2,
.strategies h2,
.faq h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.rules-overview p,
.game-components p,
.strategies p,
.faq p {
  color: #b3b3b3;
  font-size: 1.1rem;
}

.rules-overview img,
.game-components img,
.strategies img {
  max-width: 100%;
  border-radius: 20px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.game-components ul {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.game-components li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #b3b3b3;
}

.game-components li strong {
  color: #fff;
}

.components-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.components-images img {
  max-width: 220px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.components-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step {
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.step img {
  max-width: 100%;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

/* FAQ */
.faq-item {
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Gallery Page */
.demo,
.gallery,
.behind-scenes,
.review-carousel {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
}

.demo h1,
.gallery h2,
.behind-scenes h2,
.review-carousel h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.demo p,
.gallery p,
.behind-scenes p,
.review-carousel p {
  color: #b3b3b3;
  font-size: 1.1rem;
}

.video-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.demo video {
  height: 300px;
  max-width: 80%;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.behind-scenes-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.behind-scenes-images img {
  max-width: 220px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.behind-scenes-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
  display: block;
  opacity: 1;
}

.carousel-item p {
  font-style: italic;
  color: #b3b3b3;
  font-size: 1.1rem;
}

.carousel-item .author {
  font-weight: 600;
  margin-top: 1rem;
}

/* Testimonials Page */
.testimonials,
.success-stories,
.tips,
.review-form {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
}

.testimonials h1,
.success-stories h2,
.tips h2,
.review-form h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.testimonials p,
.success-stories p,
.tips p,
.review-form p {
  color: #b3b3b3;
  font-size: 1.1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.testimonial img {
  width: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 600;
  margin-top: 1rem;
}

.story {
  background-color: #282828;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.story h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.tips ul {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.tips li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #b3b3b3;
}

.tips li strong {
  color: #fff;
}

.review-form form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-form label {
  font-weight: 600;
}

.review-form input,
.review-form textarea {
  padding: 0.8rem;
  border: 1px solid #404040;
  border-radius: 8px;
  background-color: #282828;
  color: #fff;
  width: 100%;
  font-size: 1rem;
}

.review-form textarea {
  height: 160px;
}

/* Legal Page */
.legal-notice,
.privacy,
.contact {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, #181818, #121212);
}

.legal-notice h1,
.privacy h2,
.contact h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.legal-notice p,
.privacy p,
.contact p {
  color: #b3b3b3;
  font-size: 1.1rem;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact label {
  font-weight: 600;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #404040;
  border-radius: 8px;
  background-color: #282828;
  color: #fff;
  width: 100%;
  font-size: 1rem;
}

.contact textarea {
  height: 160px;
}

/* Footer */
footer {
  background-color: #000;
  color: #b3b3b3;
  text-align: center;
  padding: 2.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #1db954;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    background-color: #000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.75rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .about-images,
  .community-images,
  .components-images,
  .behind-scenes-images {
    flex-direction: column;
    align-items: center;
  }

  .about-images img,
  .community-images img,
  .components-images img,
  .behind-scenes-images img {
    max-width: 100%;
  }

  .demo video {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.4rem;
  }

  .benefits-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about h2,
  .benefits h2,
  .community h2,
  .rules-overview h1,
  .game-components h2,
  .strategies h2,
  .faq h2,
  .demo h1,
  .gallery h2,
  .behind-scenes h2,
  .review-carousel h2,
  .testimonials h1,
  .success-stories h2,
  .tips h2,
  .review-form h2,
  .legal-notice h1,
  .privacy h2,
  .contact h2 {
    font-size: 2.2rem;
  }
}
