
/* Casino Theme CSS */
:root {
  --primary: #7700b3;
  --primary-dark: #290025;
  --primary-light: #9f38c3;
  --accent: #ffc107;
  --accent-dark: #e6a800;
  --text: #ffffff;
  --text-dark: #e0e0e0;
  --text-light: #f5f5f5;
  --bg-dark: #150012;
  --bg-card: #2d0a29;
  --bg-gradient: linear-gradient(135deg, #290025, #7700b3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

#casino-app {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

button {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

.accent {
  color: var(--accent);
  font-weight: 700;
}

/* Hindi Text Styles */
.hindi-text {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: rgba(41, 0, 37, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

.logo-icon {
  font-size: 1.8rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo h1 span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--accent);
  color: var(--primary-dark);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.cta-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  color: var(--text);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 5rem 2rem;
  min-height: 80vh;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.hero-content {
  flex: 1;
  z-index: 2;
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge span {
  font-size: 0.8rem;
  font-weight: 600;
}

.stars {
  color: var(--accent);
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.primary-button {
  background-color: var(--accent);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.primary-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

/* Button Animation */
.animate-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.animate-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.animate-button:hover:after {
  left: 100%;
  transition: 0.5s;
}

.secondary-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid var(--bg-dark);
  margin-right: -10px;
}

.users p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background-color: #111;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glowing-elements {
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  pointer-events: none;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
}

.glow-circle:nth-child(1) {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,193,7,0.3) 0%, rgba(255,193,7,0) 70%);
  top: 20%;
  left: -30%;
  animation: float 8s infinite alternate;
}

.glow-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(119,0,179,0.3) 0%, rgba(119,0,179,0) 70%);
  bottom: 10%;
  right: -20%;
  animation: float 6s infinite alternate-reverse;
}

.card-symbol {
  position: absolute;
  font-size: 2rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  animation: float 5s infinite alternate;
}

.card-symbol:nth-child(3) {
  top: 30%;
  right: 10%;
  animation-delay: 1s;
}

.card-symbol:nth-child(4) {
  bottom: 40%;
  left: 0;
  animation-delay: 2s;
}

.card-symbol:nth-child(5) {
  top: 10%;
  left: 20%;
  animation-delay: 3s;
}

.dice, .coin {
  position: absolute;
  font-size: 2rem;
  animation: float 7s infinite alternate;
}

.dice {
  bottom: 20%;
  left: 10%;
  animation-delay: 1.5s;
}

.coin {
  top: 50%;
  right: 5%;
  animation-delay: 2.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Game Rates Section */
.game-rates {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, var(--bg-dark), var(--primary-dark));
}

.rate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.rate-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.rate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rate-card:hover::before {
  opacity: 1;
}

.rate-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: pulse-animation 2s infinite;
}

.rate-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.rate-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.multiplier {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.rate-card p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

@keyframes pulse-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background-color: var(--bg-dark);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.feature-card p {
  color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 2rem;
  background-color: var(--bg-dark);
}

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

.testimonial-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.testimonial-card.show {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.winner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.winner-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.winner-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.winner-details p {
  color: var(--accent);
  font-weight: 600;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.win-date {
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Download CTA */
.download-cta {
  padding: 5rem 2rem;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: 0;
  align-content: center;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 600px;
}

.download-button {
  background-color: var(--accent);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  align-content: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.download-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
  align-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.rating-info .stars {
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.rating-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cta-features {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.cta-feature.show {
  opacity: 1;
  transform: translateX(0);
}

.cta-feature:nth-child(2) {
  transition-delay: 0.2s;
}

.cta-feature:nth-child(3) {
  transition-delay: 0.4s;
}

.feature-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cta-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.cta-feature p {
  color: var(--text-dark);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo h2 span {
  color: var(--accent);
}

.footer-logo p {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-link:hover {
  background-color: var(--primary-light);
  color: var(--text);
}

.link-column {
  flex: 1;
  min-width: 160px;
}

.link-column h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.store-button {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.store-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.footer-legal {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 3rem 2rem;
  }

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

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

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

  .users {
    justify-content: center;
  }

  .download-cta {
    flex-direction: column;
    padding: 3rem 2rem;
  }

  .cta-content {
    text-align: center;
  }

  .app-rating {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .cta-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .feature-cards,
  .rate-cards,
  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}
