/* Ludo Kash - Main Stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Language-specific font styling */
html[lang="te"] body {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
}

/* Visual indicator for Telugu language (for testing) */
html[lang="te"] .hero-content h1::after {
  content: " 🇮🇳";
  font-size: 0.8em;
}

html[lang="te"] h1,
html[lang="te"] h2,
html[lang="te"] h3,
html[lang="te"] h4,
html[lang="te"] h5,
html[lang="te"] h6 {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 700;
}

html[lang="te"] .app-name {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 900;
}

html[lang="te"] .nav-link {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 500;
}

html[lang="te"] .btn {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 600;
}

html[lang="te"] .section-title {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 800;
}

html[lang="te"] .feature-card h3,
html[lang="te"] .testimonial-card h4 {
  font-family: "Anek Telugu", "Roboto", "Arial", sans-serif;
  font-weight: 600;
}

/* Header Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: url("../images/10081449.jpg") repeat;
  background-size: 20%;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 70px;
}

.app-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link .material-icons {
  font-size: 1.2rem;
}

.nav-link:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.language-selector {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  color: #fff;
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-selector:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
}

.language-selector option {
  background: #1a1a1a;
  color: #fff;
}

/* Hero Section */
.hero {
  background: url("../images/10081449.jpg") repeat;
  background-size: 20%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,800 1000,1000"/></svg>');
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.2);
  }
}

.hero-content h2 {
  font-size: 1.5rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  object-fit: cover;
  border: 4px solid rgba(255, 215, 0, 0.3);
}

.hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
  border-color: rgba(255, 215, 0, 0.6);
}

/* Hero Stats Block - Mobile Only */
.hero-stats {
  display: none;
}

@media (max-width: 768px) {
  .hero-stats {
    display: flex;
    justify-content: space-between;
    /* margin: 2rem 0; */
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgb(0 0 0 / 15%);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-item {
    flex: 1;
    text-align: center;
    position: relative;
  }

  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
  }

  .stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  .stat-label {
    font-size: 0.8rem;
    color: #e0e0e0;
    font-weight: 500;
  }
}

.cta-button {
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  color: #1a1a1a;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  text-shadow: none;
  line-height: 1;
}

.cta-button .material-icons {
  font-size: 1.3rem;
  color: #1a1a1a;
  vertical-align: middle;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
  background: linear-gradient(45deg, #e55a5a, #e6c200);
}

/* Bonus Banner */
.bonus-banner {
  background: linear-gradient(135deg, #28a74666, #00553cff);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: block;
  text-align: left;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  max-width: 280px;
  margin-top: 1rem;
}

.bonus-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
  /* background: linear-gradient(135deg, #218838, #1fb886); */
}

.bonus-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bonus-icon {
  font-size: 2rem;
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.bonus-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bonus-text {
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.bonus-subtext {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  font-style: italic;
  line-height: 1;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-game-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
  animation: float 3s ease-in-out infinite;
}

.placeholder-image {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 4rem;
}

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

.feature-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: #ffd700;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: #fff;
}

.feature-icon .material-icons {
  font-size: 2.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
}

.testimonials .section-title {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.testimonials .section-subtitle {
  color: #e0e0e0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  color: #ffd700;
  font-size: 1.1rem;
}

.author-info p {
  color: #e0e0e0;
  font-size: 0.9rem;
}

/* About Section */
.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: #666;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: #ffd700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

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

  .nav-link {
    /* flex-direction: column; */
    gap: 0.2rem;
    font-size: 1.2rem;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .nav-link .material-icons {
    font-size: 1rem;
  }

  .language-selector {
    font-size: 0.8rem;
    padding: 0.3rem;
  }

  .language-notification {
    top: 70px;
    right: 10px;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
  }

  .hero-game-image {
    max-width: 350px;
    margin-top: 30px;
  }

  .placeholder-image {
    margin-top: 30px;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1.5rem;
    padding: 0.8rem 2rem;
    line-height: 1;
  }

  .cta-button .material-icons {
    font-size: 2rem;
    color: #1a1a1a;
    vertical-align: middle;
  }

  .bonus-banner {
    padding: 0.6rem 1rem;
    margin-top: 1.5rem;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  .bonus-content {
    gap: 0.8rem;
  }

  .bonus-icon {
    font-size: 2rem;
  }

  .bonus-text {
    font-size: 1.1rem;
  }

  .bonus-subtext {
    font-size: 0.8rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Language Detection Notification */
.language-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(255, 107, 107, 0.9);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transform: translateX(100%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-notification.show {
  transform: translateX(0);
}

.language-notification .material-icons {
  font-size: 1rem;
}
