@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8)); }
}

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

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #f39c12;
  --accent-hover: #e67e22;
  --text-primary: #ffffff;
  --text-secondary: #bdc3c7;
  --background: #0f0f23;
  --card-bg: #1e1e3f;
  --border-color: #2c2c54;
  --success-color: #27ae60;
  --warning-color: #f1c40f;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

.gaming-phone img {
  width: 100%;
  max-width: 400px;
  max-height: 500px;
}

.img-desktop {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  display: block;
}

.img-mobile {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 30px;
  display: none;
}

.tier-visual img {
  width: 100%;
  max-width: 500px;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo h2 {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.cta-button {
  background: var(--gradient-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background: linear-gradient(135deg, var(--background) 0%, var(--primary-color) 100%);
  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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.chapter {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
    display: block;
    font-size: clamp(4rem, 6vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    -webkit-background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* Playing Cards Animation */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 0.8s ease 0.8s both;
}

.playing-cards {
  position: relative;
  width: 300px;
  height: 300px;
}

.card {
  position: absolute;
  width: 120px;
  height: 160px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

.card-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  animation-delay: 0s;
  color: #000;
}

.card-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(15deg);
  animation-delay: 1.5s;
  color: #e74c3c;
}

.card-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  animation-delay: 3s;
  color: #e74c3c;
}

.card-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(10deg);
  animation-delay: 4.5s;
  color: #000;
}

.card:hover {
  transform: translateX(-50%) translateY(-10px) rotate(0deg) !important;
  z-index: 10;
}

/* Gaming App Section */
.gaming-app {
  padding: 100px 0;
  background: var(--primary-color);
  position: relative;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gaming-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gaming-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.features {
  margin: 40px 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
}

.checkmark {
  color: var(--success-color);
  font-size: 20px;
  margin-right: 15px;
  font-weight: bold;
}

.gaming-footer {
  font-style: italic;
  color: var(--text-secondary);
}

.phone-mockup {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  padding: 20px;
  max-width: 300px;
  margin: 0 auto;
  animation: phoneFloat 3s ease-in-out infinite;
}

.phone-screen {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px;
  height: 500px;
}

.app-header {
  text-align: center;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 18px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.game-item {
  background: var(--gradient-primary);
  border-radius: 10px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: gameItemPulse 2s ease-in-out infinite;
}

.game-item:nth-child(2n) {
  animation-delay: 0.5s;
}

.game-item:nth-child(3n) {
  animation-delay: 1s;
}

/* Tier Rolling Section */
.tier-rolling {
  padding: 100px 0;
  background: var(--background);
}

.tier-steps {
  max-width: 1000px;
  margin: 0 auto;
}

.tier-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tier-step.active {
  display: block;
}

.step-number {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 20px;
}

.tier-step h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--accent-color);
}

.tier-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tier-explanation p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.tier-note {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 20px;
}

.player-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.player-card.super-player {
  border-color: #e91e63;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, var(--card-bg) 100%);
}

.player-card.player {
  border-color: #2196f3;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, var(--card-bg) 100%);
}

.player-card.member {
  border-color: #4caf50;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, var(--card-bg) 100%);
}

.player-card.inactive {
  opacity: 0.5;
  border-color: #666;
}

.card-header {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.card-stats {
  space-y: 10px;
}

.stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.stat:first-child {
  color: var(--text-secondary);
}

.stat:last-child span:last-child {
  color: var(--accent-color);
  font-weight: 600;
}

.amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--success-color);
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.tier-hierarchy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.connection-line {
  width: 2px;
  height: 30px;
  background: var(--border-color);
}

.tier-hierarchy-complex {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.downline-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.tier-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.tier-btn {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tier-btn:hover,
.tier-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: scale(1.1);
}

/* Downline System Section */
.downline-system {
  padding: 100px 0;
  background: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.downline-explanation {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.downline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.downline-step {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.downline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.downline-step:hover::before {
  left: 100%;
}

.downline-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.step-circle {
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 20px;
}

.downline-step h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.downline-step p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Tutorial Section */
.tutorial {
  padding: 100px 0;
  background: var(--background);
}

.tutorial-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  margin-top: 60px;
}

.video-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* Games Section */
.games {
  padding: 100px 0;
  background: var(--primary-color);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.game-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 0.1;
}

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

.game-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.game-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
  position: relative;
  z-index: 2;
}

.game-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--background);
}

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

.faq-item {
  background: var(--card-bg);
  border-radius: 15px;
  margin-bottom: 20px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent-color);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(243, 156, 18, 0.1);
}

.faq-question h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
}

.faq-icon {
  font-size: 24px;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--primary-color);
  padding: 80px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0px) rotate(var(--rotation));
  }
  50% {
    transform: translateY(-20px) rotate(var(--rotation));
  }
}

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

@keyframes gameItemPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .gaming-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tier-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .downline-group {
    grid-template-columns: 1fr;
  }
  
  .tutorial-videos {
    grid-template-columns: 1fr;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .slider-content {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .playing-cards {
    width: 250px;
    height: 250px;
  }
  
  .card {
    width: 100px;
    height: 140px;
    font-size: 20px;
  }
}


/* Subpage Hero Section */
.subpage-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--background) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.subpage-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.subpage-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.subpage-chapter {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subpage-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.subpage-hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.subpage-hero-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.subpage-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* Casino Cards Animation */
.casino-cards-animation {
  position: relative;
  width: 300px;
  height: 300px;
  animation: fadeInRight 0.8s ease 0.8s both;
}

.casino-card {
  position: absolute;
  margin-left: 130px;
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: cardSpin 4s ease-in-out infinite;
}

.card-spin-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.card-spin-2 {
  top: 25%;
  right: 10%;
  animation-delay: 0.8s;
}

.card-spin-3 {
  bottom: 25%;
  right: 10%;
  animation-delay: 1.6s;
}

.card-spin-4 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.4s;
}

.card-spin-5 {
  top: 25%;
  left: 10%;
  animation-delay: 3.2s;
}

@keyframes cardSpin {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-20px) rotate(3deg);
  }
}

/* Popular Games Section */
.popular-games {
  padding: 100px 0;
  background: var(--primary-color);
}

.popular-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.popular-game-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

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

.game-image {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.baccarat-card .game-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.roulette-card .game-image {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.blackjack-card .game-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.game-icon {
  font-size: 48px;
  animation: gameIconFloat 3s ease-in-out infinite;
}

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

.game-info {
  padding: 30px;
  text-align: center;
}

.game-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.game-info p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.game-play-btn {
  background: var(--gradient-secondary);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.game-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
}

/* Live Dealer Section */
.live-dealer-section {
  padding: 100px 0;
  background: var(--background);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.live-dealer-games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.dealer-game-card {
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.baccarat-gradient {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
}

.roulette-gradient {
  background: linear-gradient(135deg, #a855ff 0%, #7c3aed 100%);
}

.dragon-gradient {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.blackjack-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
}

.dealer-game-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  animation: dealerIconPulse 2s ease-in-out infinite;
}

@keyframes dealerIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.dealer-game-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.dealer-game-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* WePlay Features */
.weplay-features {
  padding: 100px 0;
  background: var(--primary-color);
}

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

.feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Slots Specific Styles */
.slots-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.slots-machine-animation {
  display: flex;
  gap: 15px;
  justify-content: center;
  animation: fadeInRight 0.8s ease 0.8s both;
}

.slot-reel {
  width: 80px;
  height: 200px;
  background: linear-gradient(135deg, #333 0%, #666 100%);
  border-radius: 15px;
  border: 3px solid var(--accent-color);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.slot-symbol {
  font-size: 24px;
  animation: slotSpin 2s ease-in-out infinite;
}

.reel-1 .slot-symbol {
  animation-delay: 0s;
}

.reel-2 .slot-symbol {
  animation-delay: 0.5s;
}

.reel-3 .slot-symbol {
  animation-delay: 1s;
}

@keyframes slotSpin {
  0%, 100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(10px);
  }
}

/* Popular Slots Section */
.popular-slots {
  padding: 100px 0;
  background: var(--primary-color);
}

.slots-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.slot-feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.slot-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.slots-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  animation: slotsIconSpin 3s ease-in-out infinite;
}

@keyframes slotsIconSpin {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
}

/* Slots Providers */
.slots-providers {
  padding: 100px 0;
  background: var(--background);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.provider-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.provider-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.provider-logo {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.provider-logo img {
  width: 100%;
  max-width: 150px;
}

.sport-image {
  font-size: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.provider-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.provider-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* WePlay Slots Features */
.weplay-slots-features {
  padding: 100px 0;
  background: var(--primary-color);
}

.slots-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.slots-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.slots-highlights {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.highlight-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
}

.highlight-text h4 {
  color: var(--accent-color);
  margin-bottom: 5px;
  font-size: 18px;
}

.highlight-text p {
  color: var(--text-secondary);
  font-size: 14px;
}

.animated-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.mini-slot-card {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  animation: cardBounce 3s ease-in-out infinite;
}

.card-bounce-1 { animation-delay: 0s; }
.card-bounce-2 { animation-delay: 0.2s; }
.card-bounce-3 { animation-delay: 0.4s; }
.card-bounce-4 { animation-delay: 0.6s; }
.card-bounce-5 { animation-delay: 0.8s; }
.card-bounce-6 { animation-delay: 1s; }
.card-bounce-7 { animation-delay: 1.2s; }
.card-bounce-8 { animation-delay: 1.4s; }
.card-bounce-9 { animation-delay: 1.6s; }

@keyframes cardBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/*  to Play Section */
.ready-to-play {
  padding: 100px 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.ready-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ready-badge {
  display: inline-block;
  background: var(--gradient-secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ready-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ready-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ready-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-chip, .floating-symbol {
  position: absolute;
  font-size: 84px;
  animation: floatingElement 4s ease-in-out infinite;
}

.chip-1, .symbol-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.chip-2, .symbol-2 {
  top: 20%;
  right: 10%;
  animation-delay: 1s;
}

.chip-3, .symbol-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}

.chip-4, .symbol-4 {
  bottom: 10%;
  right: 20%;
  animation-delay: 3s;
}

@keyframes floatingElement {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
  75% {
    transform: translateY(-15px) rotate(270deg);
  }
}



.ready-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: buttonGlow 2s ease-in-out infinite;
}

.slots-btn {
  background: var(--gradient-secondary);
}

.slots-btn:hover {
  box-shadow: 0 20px 40px rgba(240, 147, 251, 0.4);
}

.slots-glow {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes buttonGlow {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Navigation Active State */
.nav-menu a.active {
  color: var(--accent-color);
}

.nav-menu a.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .subpage-hero-content,
  .ready-content,
  .slots-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .subpage-hero-title {
    font-size: 36px;
  }
  
  .ready-title {
    font-size: 32px;
  }
  
  .casino-cards-animation,
  .slots-machine-animation {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  
  .popular-games-grid,
  .slots-features-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .slots-stats {
    justify-content: center;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .subpage-hero-title {
    font-size: 28px;
  }
  
  .ready-title {
    font-size: 24px;
  }
  
  .casino-card {
    width: 60px;
    height: 80px;
    font-size: 20px;
  }
  
  .slot-reel {
    width: 60px;
    height: 150px;
  }
  
  .slot-symbol {
    font-size: 18px;
  }
}


/* Sportsbook Specific Styles */
.sportsbook-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.sports-animation {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sport-icon {
    position: absolute;
    font-size: 48px;
    animation: sportFloat 3s ease-in-out infinite;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 156, 18, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.sport-icon.football {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.sport-icon.basketball {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.75s;
}

.sport-icon.tennis {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.sport-icon.esports {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 2.25s;
}

.sportsbook-popular {
    padding: 100px 0;
    background: var(--primary-color);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.sport-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

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

.sport-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sport-image.premier-league {
    background: linear-gradient(45deg, #38003c, #00ff85);
}

.sport-image.basketball {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.sport-image.esports {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.sport-image.malaysia-sports {
    background: linear-gradient(45deg, #ff0050, #ffcc00);
}

.sport-content {
    padding: 25px;
}

.sport-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.sport-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sport-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.sport-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Betting Markets */
.betting-markets {
    padding: 100px 0;
    background: var(--background);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.market-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.market-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.market-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Advanced Features */
.advanced-features {
    padding: 100px 0;
    background: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-color);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Sportsbook CTA */
.sportsbook-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.trophy-animation {
    font-size: 120px;
    animation: bounce 2s ease-in-out infinite;
}

.stars-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

.star:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 0.7s;
}

.star:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 1.4s;
}

/* 4D Results Specific Styles */
.fourd-hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.numbers-animation {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.number-ball {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    animation: numberFloat 3s ease-in-out infinite;
}

.number-ball:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.number-ball:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.75s;
}

.number-ball:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.number-ball:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 2.25s;
}

/* Results Table */
.results-table-section {
    padding: 100px 0;
    background: var(--background);
}

.results-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.results-content {
    margin-top: 40px;
}

.result-table {
    display: none;
}

.result-table.active {
    display: block;
}

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

.table-header h3 {
    color: var(--accent-color);
    font-size: 24px;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.prize-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.prize-card.first-prize {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, var(--card-bg) 100%);
}

.prize-card.second-prize {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, var(--card-bg) 100%);
}

.prize-card.third-prize {
    border-color: #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, var(--card-bg) 100%);
}

.prize-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.prize-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.prize-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--success-color);
}

.special-prizes {
    text-align: center;
    margin-top: 40px;
}

.special-prizes h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.special-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.special-num {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* Providers Section */
.providers-section {
    padding: 100px 0;
    background: var(--primary-color);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.provider-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.provider-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.provider-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.provider-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* NEW IMPROVED How to Play 4D Section */
.how-to-play-4d {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.how-to-play-4d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.play-4d-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.steps-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.step-item:hover::before {
    left: 100%;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}

.play-guide-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(102, 126, 234, 0.1) 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    position: sticky;
    top: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.guide-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.play-guide-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.play-guide-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.guide-button {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Winner Stories */
.winner-stories {
    padding: 100px 0;
    background: var(--primary-color);
    overflow: hidden;
}

.stories-slider {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.story-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    width: max-content;
}

.story-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    width: 320px;
    flex-shrink: 0;
}

.story-content {
    margin-bottom: 25px;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.story-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    font-size: 32px;
    margin-right: 15px;
}

.author-info h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 4D CTA */
.fourd-cta {
    background: var(--gradient-secondary);
    padding: 80px 0;
}

.money-animation {
    font-size: 120px;
    animation: bounce 2s ease-in-out infinite;
}

.sparkles-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 1.4s;
}

/* Animations */
@keyframes sportFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sports-grid,
    .markets-grid,
    .features-grid,
    .providers-grid {
        grid-template-columns: 1fr;
    }

    .img-desktop {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  display: none;
}

.img-mobile {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
}

    
    .guide-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .results-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .special-numbers {
        gap: 10px;
    }
    
    .story-card {
        width: 280px;
    }
    
    .sports-animation,
    .numbers-animation {
        width: 250px;
        height: 250px;
    }
    
    .sport-icon,
    .number-ball {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .prize-number {
        font-size: 28px;
    }
    
    .story-card {
        width: 260px;
        padding: 20px;
    }
}

/* Agent Specific Styles */
.agent-hero {
  background: linear-gradient(135deg, #2d1b69 0%, #11998e 50%, #38ef7d 100%);
}

.agent-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  animation: fadeInRight 0.8s ease 0.8s both;
}

.agent-circle {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border: 3px solid var(--accent-color);
  animation: agentFloat 3s ease-in-out infinite;
}

.circle-1 {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.circle-2 {
  bottom: 20px;
  left: 20px;
  animation-delay: 1s;
}

.circle-3 {
  bottom: 20px;
  right: 20px;
  animation-delay: 2s;
}

.agent-icon {
  font-size: 32px;
}

.connection-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.line {
  position: absolute;
  background: var(--accent-color);
  height: 2px;
  animation: lineGrow 2s ease-in-out infinite;
}

.line-1 {
  top: 80px;
  left: 50%;
  width: 80px;
  transform: translateX(-50%) rotate(45deg);
  animation-delay: 0.5s;
}

.line-2 {
  bottom: 80px;
  left: 50%;
  width: 120px;
  transform: translateX(-50%);
  animation-delay: 1.5s;
}

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

@keyframes lineGrow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Agent Program Section */
.agent-program {
  padding: 100px 0;
  background: var(--primary-color);
}

.program-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.program-feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s;
}

.program-feature-card:hover::before {
  left: 100%;
}

.program-feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: var(--background);
}

.works-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.works-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--accent-color);
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.works-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
}

.flow-node {
  width: 100px;
  height: 100px;
  background: var(--gradient-accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  animation: flowPulse 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.5s; }
.node-3 { animation-delay: 1s; }
.node-4 { animation-delay: 1.5s; }

@keyframes flowPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Commission Table Section */
.commission-table-section {
  padding: 100px 0;
  background: var(--primary-color);
}

.commission-wrapper {
  margin-top: 60px;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.commission-table {
  width: 100%;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.header-cell {
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.table-row:hover {
  background-color: rgba(102, 126, 234, 0.05);
}

.table-cell {
  padding: 25px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.level-badge.bronze {
  background: linear-gradient(135deg, #cd7f32, #e6a85c);
  color: white;
}

.level-badge.silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #333;
}

.level-badge.gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
}

.level-badge.diamond {
  background: linear-gradient(135deg, #b9f2ff, #00d4ff);
  color: #333;
}

.commission-rate {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
}

/* Agent Advantages Section */
.agent-advantages {
  padding: 100px 0;
  background: var(--background);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.advantage-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

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

.advantage-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  animation: advantageFloat 3s ease-in-out infinite;
}

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

.advantage-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.advantage-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

