/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility classes */
.flex {
  display: flex;
}

.flex-align-center {
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section {
  padding: 4rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.section__header p {
  font-size: 1.1rem;
  color: #666;
}

/* Header styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo img {
  height: 50px;
  width: auto;
}

.header__menu {
  list-style: none;
  gap: 2rem;
}

.header__menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__menu a:hover {
  color: #007bff;
}

.header__buttons {
  gap: 1rem;
}

.button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #007bff;
  color: white;
}

.button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.button--alt {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.button--alt:hover {
  background: #007bff;
  color: white;
}

.burger-menu {
  display: none;
  cursor: pointer;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
}

.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero__text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card__content {
  padding: 1.5rem;
}

.game-card__content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.game-card__content p {
  color: #666;
  margin-bottom: 1rem;
}

.game-card__features {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.feature {
  background: #e9ecef;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #495057;
}

/* About section */
.about-section__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-section__content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-section__content p {
  margin-bottom: 1rem;
  color: #666;
}

.about-section__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card__content p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #666;
}

.testimonial-card__author h4 {
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.testimonial-card__author span {
  color: #007bff;
  font-size: 0.9rem;
}

/* Leaderboard */
.leaderboard__content {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.leaderboard__item {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e9ecef;
}

.leaderboard__item:last-child {
  border-bottom: none;
}

.leaderboard__rank {
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.leaderboard__player h4 {
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.leaderboard__player span {
  color: #666;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer__text {
  color: #bdc3c7;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__icons {
  display: flex;
  gap: 1rem;
}

.single-icon img {
  height: 30px;
  width: auto;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__nav--label {
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__menu a {
  color: #bdc3c7;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.footer__menu a:hover {
  color: white;
}

.footer__copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

.footer__copyright--mobile {
  display: none;
}

/* Popup styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.signup-popup {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.signup-popup__content {
  text-align: center;
}

.section__heading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__field {
  text-align: left;
}

.form__field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2c3e50;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form__field.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form__field.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form__field.checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.button--submit {
  width: 100%;
  margin-top: 1rem;
}

.thank-you-message {
  display: none;
}

/* Age verification modal */
.mp-lp-welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.mp-lp-welcome-modal-inner {
  background: #2c3e50;
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}

.mp-lp-welcome-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mp-lp-welcome-modal-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.confirm-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.confirm-button:hover {
  background: #0056b3;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.cookie-icon img {
  height: 30px;
  margin-right: 1rem;
}

.cookie-text {
  flex: 1;
  margin: 0 1rem;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-buttons button {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.cookie-buttons .more-info-btn {
  color: #bdc3c7;
  text-decoration: none;
}

/* Contact form */
.contact-form__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form__content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.contact-form__content p {
  color: #666;
  margin-bottom: 2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card__icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.feature-card__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.feature-card__content p {
  color: #666;
}

/* Categories grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card__icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.category-card__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.category-card__content p {
  color: #666;
}

/* Contact info */
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info__item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info__icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.contact-info__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.contact-info__content p {
  color: #666;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
  background: #f8f9fa;
  padding: 1.5rem;
  margin: 0;
  color: #2c3e50;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item h3:hover {
  background: #e9ecef;
}

.faq-item p {
  padding: 1.5rem;
  margin: 0;
  color: #666;
  border-top: 1px solid #e9ecef;
}

/* Contact Form Success */
.form-success {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 1rem;
}

.success-message h3 {
  color: #28a745;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #6c757d;
  margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .hero__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__text h1 {
    font-size: 2rem;
  }
  
  .header__nav {
    display: none;
  }
  
  .burger-menu {
    display: block;
  }
  
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
  }
  
  .header__menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header__buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__copyright--mobile {
    display: block;
    margin-top: 2rem;
  }
  
  .footer__copyright {
    display: none;
  }
  
  .contact-form__wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-section__wrapper {
    grid-template-columns: 1fr;
  }
  
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button,
  .cookie-buttons .more-info-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section__header h2 {
    font-size: 2rem;
  }
  
  .hero__text h1 {
    font-size: 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info__grid {
    grid-template-columns: 1fr;
  }
} 