/* Base Styles & Variables */
:root {
  --tpmaster-blue: #1a237e;
  --tpmaster-dark: #121212;
  --tpmaster-red: #d32f2f;
  --tpmaster-gold: #ffc107;
  --tpmaster-light: #f5f5f5;
  --tpmaster-gray: #757575;
  --font-poppins: 'Poppins', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

.mt {
  margin-top: 10px;
}

.mtt {
  margin-top: 25px;
}

.mttt {
  margin-top: 35px;
}

.linkc {
  color: #1976d2 !important;
}

.page-img {
  max-width: 100%;
  display: flex;
  justify-self: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-poppins);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Utility Classes */
.highlight {
  color: var(--tpmaster-red);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--tpmaster-gray);
  max-width: 700px;
  margin: 0 auto;
}

.ctm-color {
  color: #f5f5f5;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: var(--transition);
  padding: 16px 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 8px 0;
  color: white;
}

.header-content {
  z-index: 100;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo-img {
  height: 40px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 500;
  position: relative;
  color: white;
}

.navColor .nav-link {
  color: #b92121;
}

.nav-link:hover {
  color: #ffc107;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--tpmaster-red);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.download-btn {
  background-color: var(--tpmaster-red);
  color: white;
  padding: 8px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.download-btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  background-color: #ffc107;
  position: absolute;
  height: 2px;
  width: 24px;
  transition: var(--transition);
}


.menu-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-icon::before {
  content: '';
  top: -8px;
  left: 0;
}

.menu-icon::after {
  content: '';
  bottom: -8px;
  left: 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 99;
  padding: 80px 20px 40px;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: var(--transition);
}

.mobile-menu-active {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.mobile-menu-active .mobile-nav {
  transform: translateX(0);
  display: block;
}

.mobile-menu-active .menu-icon {
  background: transparent;
}

.mobile-menu-active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-active .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Hero Section */
.hero-section {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--tpmaster-blue) 0%, var(--tpmaster-red) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-button-primary,
.cta-button-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 16px;
}

.cta-button-primary {
  background-color: var(--tpmaster-red);
  color: white;
}

.cta-button-secondary {
  background-color: var(--tpmaster-gold);
  color: var(--tpmaster-dark);
}

.cta-button-primary:hover,
.cta-button-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.platforms {
  font-size: 14px;
  opacity: 0.8;
}

.hero-image {
  flex: 1;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.image-glow {
  position: absolute;
  inset: 0;
  background-color: var(--tpmaster-gold);
  filter: blur(60px);
  opacity: 0.2;
  border-radius: 50%;
}

.game-preview {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.game-preview:hover {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  z-index: 3;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-badge {
  top: -20px;
  right: -20px;
  background-color: var(--tpmaster-red);
  color: white;
  transform: rotate(12deg);
}

.bottom-badge {
  bottom: -16px;
  left: -16px;
  background-color: white;
  color: var(--tpmaster-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-separator svg {
  width: 100%;
  height: 64px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--tpmaster-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.blue {
  background-color: rgba(25, 118, 210, 0.1);
  color: #1976d2;
}

.gold {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--tpmaster-gold);
}

.green {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.red {
  background-color: rgba(211, 47, 47, 0.1);
  color: var(--tpmaster-red);
}

.purple {
  background-color: rgba(123, 31, 162, 0.1);
  color: #7b1fa2;
}

.teal {
  background-color: rgba(0, 150, 136, 0.1);
  color: #009688;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--tpmaster-gray);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
}

.testimonial-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-location {
  font-size: 12px;
  color: var(--tpmaster-gray);
}

.testimonial-rating {
  color: var(--tpmaster-gold);
  margin-bottom: 12px;
  font-size: 18px;
}

.testimonial-text {
  font-style: italic;
  color: #555;
}

.testimonials-more {
  text-align: center;
  margin-top: 40px;
}

.more-link {
  color: var(--tpmaster-blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-link:hover {
  color: var(--tpmaster-red);
}

/* How to Play Section */
.how-to-play-section {
  padding: 80px 0;
  background: linear-gradient(to right, #1a237e, #283593);
  color: white;
}

.how-to-play-section .highlight {
  color: var(--tpmaster-gold);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.step-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.step-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--tpmaster-gold);
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.step-description {
  opacity: 0.8;
  font-size: 14px;
}

.tutorial-cta {
  text-align: center;
  margin-top: 60px;
}

.tutorial-button {
  background-color: var(--tpmaster-gold);
  color: var(--tpmaster-dark);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tutorial-button:hover {
  background-color: #ffb300;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background-color: var(--tpmaster-dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22%, 1fr));
  gap: 30px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.stat-icon {
  background-color: rgba(211, 47, 47, 0.2);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--tpmaster-gold);
}

.stat-label {
  opacity: 0.8;
  font-size: 16px;
}

/* Download CTA Section */
.download-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a237e 0%, #512da8 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.app-stores {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-button {
  transition: var(--transition);
}

.store-button:hover {
  transform: translateY(-5px);
}

.store-img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.web-button {
  background-color: white;
  color: var(--tpmaster-dark);
  padding: 0 24px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.web-icon {
  font-size: 24px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--tpmaster-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: white;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-icon {
  font-size: 20px;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: white;
}

.faq-item.active .faq-answer {
  padding: 16px 24px;
  max-height: 1000px;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

.support-link {
  color: var(--tpmaster-blue);
  font-weight: 500;
}

.support-link:hover {
  color: var(--tpmaster-red);
}

/* Blog Preview Section */
.blog-preview-section {
  padding: 80px 0;
  background-color: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-content {
  padding: 24px;
}

.blog-date {
  font-size: 14px;
  color: var(--tpmaster-gray);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: #555;
  margin-bottom: 16px;
  font-size: 14px;
}

.read-more {
  color: var(--tpmaster-blue);
  font-weight: 500;
  font-size: 14px;
}

.read-more:hover {
  color: var(--tpmaster-red);
}

.blog-more {
  text-align: center;
  margin-top: 40px;
}

.view-all-link {
  color: var(--tpmaster-blue);
  font-weight: 600;
}

.view-all-link:hover {
  color: var(--tpmaster-red);
}

/* Footer */
.footer {
  background-color: var(--tpmaster-dark);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-img {
  margin-bottom: 16px;
  height: 50px;
}

.footer-tagline {
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--tpmaster-gold);
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  opacity: 0.7;
  transition: var(--transition);
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--tpmaster-gold);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}


.stars {
  color: var(--tpmaster-gold);
  margin-bottom: 4px;
}

.rating-text {
  font-size: 12px;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  opacity: 0.6;
  font-size: 14px;
}

.language-select {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* Style for the option elements */
option {
  background-color: #f0f0f0;
  /* Light gray background */
  color: #333333;
  /* Dark text color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .section-title {
    font-size: 28px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .cta-buttons {
    justify-content: center;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .features-grid,
  .testimonials-grid,
  .steps-grid,
  .stats-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav .nav-link {
    font-size: 20px;
    padding: 12px 0;
    border: none;
    color: #333;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button-primary,
  .cta-button-secondary {
    width: 100%;
    justify-content: center;
  }

  .app-stores {
    flex-direction: column;
    align-items: center;
  }
}