/* Base Styles */
:root {
  --primary-color: #4F46E5; /* Deep indigo */
  --secondary-color: #111827; /* Dark slate */
  --accent-color: #06B6D4; /* Cyan */
  --accent-secondary: #F000B8; /* Magenta */
  --background-color: #0F172A; /* Dark blue background */
  --card-bg: #1E293B; /* Slightly lighter blue for cards */
  --text-color: #E2E8F0;
  --light-text: #fff;
  --border-radius: 12px;
  --card-border-radius: 16px;
  --box-shadow: 0 10px 30px -5px rgba(2, 6, 23, 0.3);
  --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  --gradient-accent: linear-gradient(135deg, #F000B8 0%, #4F46E5 100%);
  --gradient-dark: linear-gradient(135deg, #111827 0%, #1E293B 100%);
  --blur-bg: rgba(15, 23, 42, 0.7);
  --accent-color-rgb: 6, 182, 212;
  --primary-color-rgb: 79, 70, 229;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 25%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Glowing effects */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  z-index: 0;
}

.glow-primary {
  background: var(--primary-color);
  width: 300px;
  height: 300px;
}

.glow-accent {
  background: var(--accent-color);
  width: 250px;
  height: 250px;
}

.glow-magenta {
  background: var(--accent-secondary);
  width: 200px;
  height: 200px;
}

/* Header */
header {
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 50px;
  filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.5));
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 100px 0 150px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0idHJhbnNwYXJlbnQiPjwvcmVjdD48Y2lyY2xlIGZpbGw9IiNmZmZmZmYiIGN4PSIyMCIgY3k9IjIwIiByPSIxIiBvcGFjaXR5PSIwLjA1Ij48L2NpcmNsZT48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybikiIGhlaWdodD0iMTAwJSIgd2lkdGg9IjEwMCUiPjwvcmVjdD48L3N2Zz4=');
  opacity: 0.05;
  z-index: 0;
}

.glow-hero-1 {
  top: 10%;
  right: 10%;
}

.glow-hero-2 {
  bottom: 20%;
  left: 5%;
}

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

.hero-text {
  flex-basis: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 50px;
  padding: 6px 15px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
}

.hero-badge i {
  margin-right: 6px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.hero-text h1 span {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.trust-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(79, 70, 229, 0.3);
}

.badge i {
  color: var(--accent-color);
  font-size: 22px;
}

.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 16px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-text);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-image {
  flex-basis: 45%;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-image-inner {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  border-radius: 24px;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 24px;
  opacity: 0.5;
  z-index: 3;
  mix-blend-mode: overlay;
}

.floating-cards {
  display: none; /* Hide floating cards completely */
}

.card {
  display: none; /* Hide all cards */
}

/* Skill Gaming Section */
.skill-gaming {
  padding: 150px 0 100px;
  position: relative;
}

.skill-gaming .glow-primary {
  top: 30%;
  right: 10%;
}

.skill-gaming .container {
  position: relative;
  z-index: 2;
}

.skill-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  padding: 6px 15px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
}

.skill-badge i {
  margin-right: 6px;
}

.skill-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

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

.skill-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
  border-radius: var(--card-border-radius);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  opacity: 0.7;
}

.skill-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(79, 70, 229, 0.1);
}

.skill-card:hover::after {
  opacity: 1;
}

.skill-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.skill-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.skill-icon i {
  font-size: 32px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.skill-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.skill-metrics {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  position: relative;
  z-index: 1;
}

.metric {
  text-align: center;
}

.metric h4 {
  font-size: 24px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.metric p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.features .glow-primary {
  bottom: 20%;
  left: 10%;
}

.features .glow-accent {
  top: 30%;
  right: 15%;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
  border-radius: var(--card-border-radius);
  padding: 40px 30px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  height: 280px; /* Fixed height for all feature cards */
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.7;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(79, 70, 229, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.feature-icon i {
  font-size: 28px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  flex-grow: 1; /* Allow paragraph to take remaining space */
}

/* Animation for feature cards */
.feature-animate {
  animation: featureCardAnimation 0.5s ease-out;
  height: 280px; /* Match feature-card height */
}

@keyframes featureCardAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* How to Play Section Styles */
.how-to-play-section {
    background: linear-gradient(145deg, var(--dark-bg), rgba(15, 23, 42, 0.9));
    padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.play-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    height: 350px; /* Fixed height for all steps */
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.1);
}

.step-number {
    width: 50px; /* Smaller size */
    height: 50px; /* Smaller size */
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--light-text);
    font-size: 22px; /* Smaller font size */
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.5);
}

.step-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.card-example {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto; /* Push to bottom of container */
}

.rummy-card {
    width: 50px; /* Slightly smaller cards */
    height: 75px; /* Slightly smaller cards */
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
  transition: transform 0.3s ease;
}

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

.suit {
    font-size: 24px;
    margin-top: 5px;
}

.hearts, .diamonds {
    color: #e74c3c;
}

.clubs, .spades {
    color: #2c3e50;
}

.joker {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.joker-text {
    font-size: 10px;
    margin-top: 5px;
}

.win-badge {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    margin-top: auto; /* Push to bottom of container */
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

.win-badge i {
  font-size: 20px;
}

.play-cta {
    text-align: center;
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.1), rgba(236, 72, 153, 0.1));
    padding: 40px;
    border-radius: var(--card-border-radius);
    margin-top: 50px;
}

.play-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .play-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        height: auto;
        min-height: 350px;
    }
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: 1; /* Lower z-index for testimonials section */
}

.testimonials .glow-primary {
  bottom: 30%;
  right: 15%;
}

.testimonials .glow-magenta {
  top: 20%;
  left: 10%;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 40px 20px;
  scrollbar-width: none; /* Firefox */
  position: relative;
  z-index: 1;
}

.testimonial-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.testimonial {
  flex: 0 0 400px;
  background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
  border-radius: var(--card-border-radius);
  padding: 30px;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  min-height: 300px; /* Fixed minimum height */
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  font-family: Georgia, serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(79, 70, 229, 0.1);
}

.testimonial-content {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  flex: 1; /* Take up available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.testimonial-content p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto; /* Push to bottom */
  position: relative;
  z-index: 2;
  height: 80px; /* Fixed height for all testimonial authors */
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid rgba(79, 70, 229, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--light-text);
  font-weight: 600;
}

.author-role {
  font-size: 14px;
  color: var(--accent-color);
  opacity: 0.9;
}

.rating {
  margin-top: 8px;
}

.rating i {
  color: #FFD700;
  font-size: 14px;
  margin-right: 2px;
}

/* Download CTA Section */
.download-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
  z-index: 0;
}

.download-cta .glow-primary {
  top: 20%;
  left: 10%;
}

.download-cta .glow-accent {
  bottom: 20%;
  right: 15%;
}

.download-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex-basis: 50%;
}

.cta-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content h2 span {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.cta-image {
  flex-basis: 45%;
  position: relative;
  z-index: 1;
}

.cta-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-15deg);
  transition: transform 0.5s ease;
}

.cta-frame:hover {
  transform: perspective(1000px) rotateY(-5deg);
}

.cta-frame img {
  display: block;
  border-radius: 20px;
}

.cta-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
  mix-blend-mode: overlay;
}

.cta-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-primary);
  color: var(--light-text);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
  z-index: 2;
}

/* Footer */
footer {
  background: linear-gradient(0deg, rgba(10, 15, 30, 1) 0%, rgba(17, 24, 39, 0.95) 100%);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 20px;
}

.footer-logo {
  flex: 1 1 300px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.5));
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  background: rgba(30, 41, 59, 0.2);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-links {
  flex: 1 1 200px;
}

.footer-contact {
  display: none; /* Hide contact section */
}

/* 移除footer链接的下拉功能，使所有链接始终可见 */
.footer-links h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
    position: relative;
    cursor: default; /* 移除指针样式，表明不可点击 */
}

/* 移除下拉箭头图标 */
.footer-links h3::after {
    display: none; /* 完全移除下拉箭头 */
}

.footer-links ul {
    max-height: none; /* 确保链接列表始终可见 */
    overflow: visible;
    transition: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    opacity: 1; /* 确保链接始终可见 */
}

.footer-links ul li {
    margin-bottom: 8px;
    width: calc(50% - 10px); /* 在小屏幕上每行显示两个链接 */
}

/* 移除hover效果 */
.footer-links:hover ul {
    max-height: none;
}

@media (max-width: 768px) {
    .footer-links ul {
        max-height: none; /* 在移动设备上也确保链接始终可见 */
    }
    
    .footer-links h3 {
        pointer-events: none; /* 禁用点击事件 */
    }
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  font-size: 14px;
  padding: 3px 0;
}

.footer-links ul li a::before {
  content: '→';
  margin-right: 6px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: var(--accent-color);
}

.footer-links ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-links ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-media {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.social-media a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.social-media a i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.social-media a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.social-media a:hover i {
  color: var(--light-text);
}

.payment-methods {
  position: relative;
  text-align: center;
  margin: 30px auto;
  padding: 25px 20px;
  background: rgba(30, 41, 59, 0.2);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
  width: 100%;
}

.payment-methods h3 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--light-text);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.payment-methods h3::after {
  content: '';
  position: absolute;
  left: 25%;
  bottom: -8px;
  width: 50%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Show only UPI payment logo */
.payment-icons img, .payment-icons .payment-logo {
  display: none; /* Hide all payment logos by default */
  height: 35px;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

/* Show only the first payment logo (UPI) */
.payment-icons img:first-child, .payment-icons .payment-logo:first-child {
  display: block; /* Show only the first payment logo (UPI) */
}

.payment-icons img:hover, .payment-icons .payment-logo:hover {
  filter: none;
  transform: translateY(-3px);
}

.disclaimer {
  text-align: center;
  margin: 0 auto 20px;
  padding: 15px 20px;
  background: rgba(240, 0, 184, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(240, 0, 184, 0.1);
  width: 100%;
}

.disclaimer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Trust Elements */
.trust-element {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  position: absolute;
  bottom: -60px; /* Moved further down to avoid overlap */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 20; /* Higher z-index to ensure it's above testimonials */
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: auto; /* Ensure width is not fixed */
  max-width: 90%; /* Prevent overflow */
}

.trust-element i {
  color: var(--accent-color);
  font-size: 24px;
}

.trust-element p {
  color: var(--light-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap; /* Prevent wrapping */
}

.trust-element p span {
  display: block;
  font-weight: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Security Badge */
.security-badge {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 90;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.security-badge i {
  color: var(--accent-color);
  font-size: 20px;
}

.security-badge p {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
}

@media screen and (max-width: 768px) {
  .security-badge {
    bottom: 20px;
    left: 20px;
    padding: 8px 12px;
    z-index: 80; /* Lower z-index to not interfere with menu */
  }
  
  .security-badge p {
    display: none; /* Hide text on mobile, show only icon */
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: var(--light-text);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
}

/* Animation Styles */
.animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 70px;
  height: 70px;
  position: relative;
}

.spinner::before,
.spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary-color);
}

.spinner::before {
  z-index: 100;
  animation: spin 1s infinite;
}

.spinner::after {
  border: 4px solid rgba(79, 70, 229, 0.1);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Game Cards Animation */
@keyframes cardHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    z-index: 99;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 100;
  }
  
  .trust-element {
    bottom: -50px; /* Adjust for mobile */
    min-width: 250px; /* Ensure minimum width */
    width: 80%; /* Responsive width */
    z-index: 20; /* Ensure it's above other elements */
  }
  
  .feature-card {
    height: auto; /* Allow height to adjust on mobile */
    min-height: 280px; /* Minimum height to maintain consistency */
  }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero {
    padding: 80px 0 120px;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero-text, .cta-content {
    flex-basis: 100%;
    margin-top: 60px;
    align-items: center;
  }
  
  .hero-text p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .skill-grid, .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .download-cta .container {
    flex-direction: column;
  }
  
  .cta-content {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .step-line {
    width: calc(100% - 100px);
    left: 50px;
  }
}

@media screen and (max-width: 768px) {
  .skill-grid, .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .step-line {
    display: none;
  }
  
  .steps {
    flex-direction: column;
    gap: 30px;
  }
  
  .step {
    width: 100%;
  }
  
  .step-content {
    max-width: 100%;
  }
  
  .security-badge {
    bottom: 90px;
    left: 20px;
    padding: 8px 12px;
  }
  
  .hero-text h1 {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 576px) {
  .hero-text h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .security-badge {
    display: none;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    overflow: hidden;
}

.faq-section .glow-primary {
    top: 20%;
    right: 10%;
}

.faq-section .glow-accent {
    bottom: 30%;
    left: 15%;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.1);
}

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

.faq-question:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    color: var(--light-text);
    font-weight: 500;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(15, 23, 42, 0.5);
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive adjustments for FAQ grid */
@media screen and (max-width: 1200px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
}

@media screen and (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
}

/* Contact Form Styles */
.contact-form-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, var(--background-color) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-top: 50px;
}

.form-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: rgba(255, 255, 255, 0.7);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-text);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 16px;
}

.textarea-container i {
    top: 20px;
    transform: none;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.captcha label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    animation: glow-sweep 3s infinite;
}

@keyframes glow-sweep {
    0% {
        left: -100%;
        top: -100%;
    }
    100% {
        left: 100%;
        top: 100%;
    }
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
}

.info-card h3 i {
    color: var(--accent-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details li {
    display: flex;
    gap: 15px;
}

.contact-details li i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 3px;
}

.contact-details li div span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-details li div a,
.contact-details li div p {
    color: var(--light-text);
    font-size: 15px;
}

.contact-details li div a:hover {
    color: var(--accent-color);
}

.support-badges {
    display: flex;
    gap: 20px;
}

.support-badge {
    flex: 1;
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.support-badge i {
    font-size: 24px;
    color: var(--accent-color);
}

.support-badge h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--light-text);
}

.support-badge p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.faq-preview {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-preview h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
}

.faq-preview h3 i {
    color: var(--accent-color);
}

.faq-preview-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-preview-item:last-of-type {
    border-bottom: none;
}

.faq-preview-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--light-text);
}

.faq-preview-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
    background: var(--background-color);
}

.map-container {
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .support-badges {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .form-card {
        padding: 25px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
}

/* 表单验证样式 */
.error-message {
    color: #ff4d6d;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff4d6d;
    box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.2);
}

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 20px;
    display: none;
    text-align: center;
    color: #10b981;
}

.form-success i {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-success p {
    color: rgba(255, 255, 255, 0.9);
}

.form-shake {
    animation: form-shake 0.5s;
}

@keyframes form-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Contact Hero Styles */
.contact-hero {
    padding: 120px 0 100px;
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    overflow: hidden;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
}

.hero-badge i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 16px;
}

.contact-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.contact-hero-content h1 span {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px;
}

.contact-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: var(--light-text);
}

.quick-link:hover {
    transform: translateY(-5px);
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.quick-link i {
    font-size: 20px;
    color: var(--accent-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .contact-hero-content h1 {
        font-size: 36px;
    }
    
    .contact-quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* 联系信息卡片样式 */
.contact-info-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.contact-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    width: 220px;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.card-icon i {
    font-size: 22px;
    color: var(--light-text);
}

.card-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 5px;
}

.card-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .contact-info-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 280px;
    }
}

/* How to Play Page Styles */
.play-hero {
    padding: 120px 0 100px;
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    overflow: hidden;
}

.play-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.play-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.play-hero-content h1 span {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px;
}

.play-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.play-content-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, var(--background-color) 100%);
}

.play-intro {
    text-align: center;
    margin-bottom: 60px;
}

.play-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.play-intro p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.play-basics {
    margin-bottom: 60px;
}

.play-basics h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--light-text);
    text-align: center;
}

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

.term-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.1);
}

.term-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.term-icon i {
    font-size: 24px;
    color: var(--light-text);
}

.term-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.term-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.suit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 10px;
    padding-left: 20px;
}

.suit-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.play-instructions {
    margin-bottom: 80px;
}

.play-instructions h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instruction-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
}

.instruction-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background: linear-gradient(to bottom, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.8));
    border-radius: 4px;
    z-index: 1;
}

.instruction-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--light-text);
    z-index: 2;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.step-header h4 {
    font-size: 24px;
    color: var(--light-text);
    margin: 0;
}

.step-content {
    background: linear-gradient(145deg, var(--card-bg), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-visual {
    text-align: center;
    margin-top: 20px;
}

.step-visual img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.visual-caption {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* 组合卡片网格 */
.combinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.combination-card {
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.combination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.combination-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.card-group {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.combination-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 游戏流程图 */
.game-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.flow-step {
    text-align: center;
    flex: 1;
}

.flow-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.flow-icon.draw {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: white;
}

.flow-icon.arrange {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
}

.flow-icon.discard {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: white;
}

.flow-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 5px;
}

.flow-detail {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.flow-arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
}

.flow-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 15px;
}

.flow-note i {
    font-size: 20px;
    color: var(--accent-color);
}

.flow-note p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* 获胜要求列表 */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 15px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: rgba(79, 70, 229, 0.1);
}

.requirement-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.requirement-icon.required {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.requirement-icon.optional {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.requirement-text {
    display: flex;
    flex-direction: column;
}

.requirement-text strong {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.requirement-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 获胜手牌示例 */
.winning-example {
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--border-radius);
    padding: 20px;
}

.example-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.winning-hand {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hand-group {
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--border-radius);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.group-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-align: center;
}

/* 指导CTA */
.instruction-cta {
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.2), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(79, 70, 229, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.instruction-cta h4 {
    font-size: 24px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.instruction-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .combinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .winning-hand {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .play-instructions h3 {
        font-size: 28px;
    }
    
    .instruction-timeline::before {
        left: 20px;
    }
    
    .instruction-step {
        padding-left: 60px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-header h4 {
        font-size: 20px;
    }
    
    .combinations-grid {
        grid-template-columns: 1fr;
    }
    
    .game-flow-diagram {
        flex-direction: column;
        gap: 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .instruction-cta {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .step-content {
        padding: 20px 15px;
    }
    
    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .requirement-icon {
        margin: 0 auto 10px;
    }
    
    .instruction-cta h4 {
        font-size: 20px;
    }
}

/* 扑克牌图标样式改进 */
.card-icon {
    width: 60px;
    height: 85px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

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

.card-icon::before {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 16px;
}

.card-icon::after {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 16px;
    transform: rotate(180deg);
}

.hearts, .diamonds {
    color: #e53e3e;
}

.hearts::before, .hearts::after {
    content: '♥';
}

.diamonds::before, .diamonds::after {
    content: '♦';
}

.spades, .clubs {
    color: #1a202c;
}

.spades::before, .spades::after {
    content: '♠';
}

.clubs::before, .clubs::after {
    content: '♣';
}

.card-icon.joker {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.card-icon.joker::before, .card-icon.joker::after {
    content: '★';
    color: rgba(255, 255, 255, 0.7);
}

/* 卡牌组样式 */
.card-group {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    perspective: 500px;
}

.card-group .card-icon:not(:first-child) {
    margin-left: -20px;
}

.card-group:hover .card-icon {
    margin-left: 0;
}

/* 重新设计play-badges部分 */
.play-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.play-badge {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

.play-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.play-badge i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.play-badge h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.play-badge p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 重新设计play-rules部分 */
.play-rules {
    margin: 80px 0;
    position: relative;
}

.play-rules h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.play-rules h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.play-rules > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.card-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.value-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(79, 70, 229, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-item:hover::after {
    opacity: 1;
}

.value-icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.value-text {
    position: relative;
    z-index: 1;
}

.value-text h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.value-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.rule-note {
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.1), rgba(15, 23, 42, 0.7));
    border-radius: var(--card-border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.rule-note i {
    font-size: 30px;
    color: #f6e05e;
    flex-shrink: 0;
}

.rule-note p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 重新设计play-valid-declaration部分 */
.play-valid-declaration {
    margin: 80px 0;
    position: relative;
    padding: 50px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.play-valid-declaration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/card-pattern.png');
    opacity: 0.03;
    border-radius: var(--card-border-radius);
}

.play-valid-declaration h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.play-valid-declaration > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.declaration-requirements {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.declaration-item {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--card-border-radius);
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.declaration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.declaration-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--light-text);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.declaration-content {
    flex: 1;
}

.declaration-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.declaration-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.valid-examples {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--card-border-radius);
    padding: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.valid-examples h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-text);
    text-align: center;
}

.arrangement-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.arrangement-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(79, 70, 229, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.arrangement-list li:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-3px);
}

.arrangement-list li i {
    color: var(--accent-color);
    font-size: 18px;
}

/* 重新设计play-penalties部分 */
.play-penalties {
    margin: 80px 0;
    position: relative;
}

.play-penalties h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.play-penalties > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.penalty-table {
    margin: 40px auto;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 3fr 1fr;
    background: var(--gradient-primary);
}

.header-cell {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--light-text);
    font-size: 18px;
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 3fr 1fr;
    background: rgba(15, 23, 42, 0.6);
    transition: all 0.3s ease;
}

.table-row:nth-child(odd) {
    background: rgba(15, 23, 42, 0.8);
}

.table-row:hover {
    background: rgba(79, 70, 229, 0.2);
}

.row-cell {
    padding: 18px 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.row-cell:last-child {
    font-weight: 600;
    color: var(--light-text);
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .play-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .play-valid-declaration {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .play-badges {
        grid-template-columns: 1fr;
    }
    
    .card-values {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        flex-direction: row;
        text-align: left;
    }
    
    .value-icon {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .rule-note {
        flex-direction: column;
        text-align: center;
    }
    
    .declaration-item {
        flex-direction: column;
    }
    
    .declaration-number {
        margin-bottom: 15px;
    }
    
    .arrangement-list {
        flex-direction: column;
        align-items: center;
    }
    
    .arrangement-list li {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .card-icon {
        width: 50px;
        height: 70px;
        font-size: 18px;
    }
    
    .card-icon::before, .card-icon::after {
        font-size: 14px;
    }
    
    .play-valid-declaration {
        padding: 20px;
    }
    
    .declaration-item {
        padding: 20px;
    }
    
    .header-cell, .row-cell {
        padding: 15px;
        font-size: 14px;
    }
}

/* 目标可视化样式 */
.goal-visualization {
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--card-border-radius);
    padding: 25px;
    margin-top: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.goal-icon i {
    font-size: 40px;
    color: var(--light-text);
}

.goal-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.goal-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goal-step i {
    color: var(--accent-color);
    font-size: 18px;
}

.goal-step span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .goal-visualization {
        flex-direction: column;
        padding: 20px;
    }
    
    .goal-icon {
        margin-bottom: 15px;
    }
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 100px;
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    overflow: hidden;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.about-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, var(--background-color) 100%);
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-intro-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    border-radius: var(--card-border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: var(--card-border-radius);
    z-index: -1;
    opacity: 0.5;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.about-feature-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.feature-icon i {
    font-size: 28px; /* Standardized icon size */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 28px; /* Fixed width */
    height: 28px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.about-feature-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-badge {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.1);
}

.about-badge i {
    font-size: 36px;
    color: var(--accent-color);
}

.about-badge h4 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--light-text);
}

.about-badge p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.about-note {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--card-border-radius);
    padding: 30px;
    margin-bottom: 60px;
}

.about-note p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}

.about-note p:last-child {
    margin-bottom: 0;
}

.about-cta {
    text-align: center;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-cta h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.about-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 36px;
    }
    
    .about-intro-content h2 {
        font-size: 28px;
    }
    
    .about-feature-card {
        padding: 30px;
    }
    
    .about-cta {
        padding: 40px 20px;
    }
    
    .about-cta h3 {
        font-size: 28px;
    }
    
    .about-cta .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-cta .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media screen and (max-width: 576px) {
    .about-badges {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        padding: 20px;
    }
    
    .about-badge i {
        font-size: 30px;
    }
    
    .about-badge h4 {
        font-size: 20px;
    }
}

/* Policy Pages Styles */
.policy-hero {
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    overflow: hidden;
}

.policy-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.policy-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.policy-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.policy-content-section {
    padding: 80px 0 120px;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, var(--background-color) 100%);
}

.policy-content {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coming-soon i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 30px;
    animation: pulse-icon 2s infinite;
}

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

.coming-soon h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.coming-soon p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive adjustments for policy pages */
@media screen and (max-width: 992px) {
    .policy-hero-content h1 {
        font-size: 40px;
    }
    
    .policy-content {
        padding: 40px 30px;
    }
}

@media screen and (max-width: 768px) {
    .policy-hero {
        padding: 100px 0 60px;
    }
    
    .policy-hero-content h1 {
        font-size: 32px;
    }
    
    .policy-hero-content p {
        font-size: 16px;
    }
    
    .policy-content-section {
        padding: 60px 0 100px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .coming-soon {
        padding: 40px 15px;
    }
    
    .coming-soon i {
        font-size: 50px;
        margin-bottom: 20px;
    }
    
    .coming-soon h2 {
        font-size: 28px;
    }
    
    .coming-soon p {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    .policy-hero-content h1 {
        font-size: 28px;
    }
    
    .policy-content {
        padding: 25px 15px;
    }
    
    .coming-soon i {
        font-size: 40px;
    }
    
    .coming-soon h2 {
        font-size: 24px;
    }
    
    .coming-soon p {
        font-size: 15px;
    }
}

/* About Policies Section */
.about-policies {
    margin: 80px 0;
    text-align: center;
}

.about-policies h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-policies > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.policy-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.policy-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.policy-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.policy-icon i {
    font-size: 30px;
    color: var(--light-text);
}

.policy-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.policy-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.policy-card:hover .read-more {
    color: #a5b4fc;
}

.read-more i {
    transition: transform 0.3s ease;
}

.policy-card:hover .read-more i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .policy-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .policy-cards {
        grid-template-columns: 1fr;
    }
    
    .about-policies h2 {
        font-size: 28px;
    }
    
    .about-policies > p {
        font-size: 16px;
    }
}

/* Privacy Policy Page Specific Styles */
.policy-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.policy-content h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.policy-content h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--accent-color);
}

.policy-content h5 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: var(--light-text);
}

.policy-content p {
    margin-bottom: 20px;
}

.policy-content ul, 
.policy-content ol {
    margin: 0 0 20px 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content ul ul, 
.policy-content ol ol {
    margin-top: 10px;
}

.policy-content strong {
    color: var(--light-text);
    font-weight: 600;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-highlight {
    background: rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
}

.policy-contact-info {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: var(--card-border-radius);
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-contact-info h4 {
    margin-top: 0;
}

.policy-contact-info p {
    margin-bottom: 10px;
}

.policy-contact-info p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .policy-content h3 {
        font-size: 22px;
        margin: 30px 0 15px;
    }
    
    .policy-content h4 {
        font-size: 18px;
    }
    
    .policy-content h5 {
        font-size: 16px;
    }
    
    .policy-highlight {
        padding: 15px;
        margin: 25px 0;
    }
}

/* Terms of Service Page Specific Styles */
.terms-section-title {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ul ul {
    list-style-type: circle;
}

.policy-content ul ul ul {
    list-style-type: square;
}

.policy-content h4 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: var(--light-text);
    font-weight: 600;
}

.policy-content ul li {
    margin-bottom: 12px;
}

.policy-content ul ul li {
    margin-bottom: 8px;
}

.policy-toc {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border-radius: var(--card-border-radius);
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-toc h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.policy-toc ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    columns: 2;
}

.policy-toc li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.policy-toc a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 3px 0;
}

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

@media screen and (max-width: 768px) {
    .policy-toc ul {
        columns: 1;
    }
}

/* Responsible Gaming Page Specific Styles */
.responsible-gaming-measures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.measure-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.measure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.measure-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.measure-icon i {
    font-size: 24px;
    color: var(--light-text);
}

.measure-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.measure-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.support-resources {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.support-card {
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.2));
    border-radius: var(--card-border-radius);
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.support-icon i {
    font-size: 30px;
    color: var(--light-text);
}

.support-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.support-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .responsible-gaming-measures,
    .support-resources {
        grid-template-columns: 1fr;
    }
}

/* Refund Policy Page Specific Styles */
.refund-process-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.refund-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.refund-process-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 18px;
}

.refund-process-card ol,
.refund-process-card ul {
    margin-bottom: 0;
}

.refund-process-card li {
    margin-bottom: 10px;
}

.refund-process-card li:last-child {
    margin-bottom: 0;
}

.policy-highlight.warning {
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid #dc2626;
}

.policy-highlight.warning h4 {
    color: #f87171;
    margin-top: 0;
}

.policy-highlight.warning ol {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .refund-process-card {
        padding: 20px;
    }
    
    .refund-process-card h4 {
        font-size: 16px;
    }
}

/* Skill Games Page Specific Styles */
.skill-games-hero {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)), url('images/skill-games-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.skill-games-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skill-games-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--light-text);
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-games-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Game Variants Section */
.skill-games-intro {
    padding: 80px 0;
    position: relative;
}

.game-variants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.game-variant-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-variant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.game-variant-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-variant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-variant-card:hover .game-variant-image img {
    transform: scale(1.1);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.game-variant-content {
    padding: 25px;
}

.game-variant-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.game-variant-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.game-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
}

.game-feature i {
    color: var(--accent-color);
    font-size: 14px;
}

.game-feature span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Tournaments Section */
.tournaments-section {
    padding: 80px 0;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    position: relative;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tournament-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.tournament-card.featured {
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}

.tournament-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.tournament-header {
    padding: 20px;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tournament-prize {
    display: flex;
    flex-direction: column;
}

.prize-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.prize-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.tournament-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.tournament-content {
    padding: 25px;
}

.tournament-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.tournament-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.tournament-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.tournament-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    font-size: 16px;
    color: var(--light-text);
    font-weight: 500;
}

/* Game Rules Section */
.game-rules-section {
    padding: 80px 0;
    position: relative;
}

.rules-tabs {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    overflow-x: auto;
}

.rule-tab {
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.rule-tab.active {
    background: var(--accent-color);
    color: var(--light-text);
}

.rule-content {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rule-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.rule-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.7;
}

.rule-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.rule-content li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}

.rule-content .rule-highlight {
    background: rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.rule-content .rule-highlight p {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    position: relative;
}

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

.faq-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.9));
    border-radius: var(--card-border-radius);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.faq-question:hover {
    background: rgba(79, 70, 229, 0.1);
}

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

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .game-variants,
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .skill-games-hero-content h1 {
        font-size: 36px;
    }
    
    .skill-games-hero-content p {
        font-size: 16px;
    }
    
    .game-variants,
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .tournament-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tournament-time {
        align-self: flex-start;
    }
    
    .rule-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .rule-content {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

/* Vertical Download Buttons in Footer */
.download-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.download-buttons-vertical .btn {
    width: 100%;
    justify-content: center;
}

/* Playing Card Styles */
.playing-card {
    width: 60px;
    height: 90px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease;
    color: #000;
    font-weight: bold;
}

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

.playing-card span {
    font-size: 24px;
    line-height: 1;
}

.playing-card i {
    font-size: 20px;
}

.playing-card.hearts i, 
.playing-card.diamonds i {
    color: #e74c3c;
}

.playing-card.clubs i, 
.playing-card.spades i {
    color: #2c3e50;
}

.playing-card.joker {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.playing-card.joker i {
    color: white;
    font-size: 24px;
}

.playing-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
}

.playing-card.hearts::before {
    content: '♥';
    color: #e74c3c;
}

.playing-card.diamonds::before {
    content: '♦';
    color: #e74c3c;
}

.playing-card.clubs::before {
    content: '♣';
    color: #2c3e50;
}

.playing-card.spades::before {
    content: '♠';
    color: #2c3e50;
}

.playing-card.joker::before {
    content: 'J';
    color: white;
}

.playing-card::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 12px;
    transform: rotate(180deg);
}

.playing-card.hearts::after {
    content: '♥';
    color: #e74c3c;
}

.playing-card.diamonds::after {
    content: '♦';
    color: #e74c3c;
}

.playing-card.clubs::after {
    content: '♣';
    color: #2c3e50;
}

.playing-card.spades::after {
    content: '♠';
    color: #2c3e50;
}

.playing-card.joker::after {
    content: 'J';
    color: white;
}

/* Transfer Process Cards */
.transfer-process-card {
    display: flex;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.transfer-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

.transfer-process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.process-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.process-icon i {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.process-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.process-content p:last-child {
    margin-bottom: 0;
}

/* Transfer Steps */
.transfer-steps {
    margin-top: 30px;
}

.transfer-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.transfer-step:last-child {
    margin-bottom: 0;
}

.transfer-step::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0.5;
}

.transfer-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.step-content {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .transfer-process-card {
        flex-direction: column;
    }
    
    .process-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .transfer-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .transfer-step::after {
        left: 25px;
        top: 50px;
        height: calc(100% - 65px);
  }
}

/* Add styles for policy info cards and warning cards */
.policy-info-card {
    display: flex;
    background-color: rgba(var(--accent-color-rgb), 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
}

.info-icon {
    color: var(--accent-color);
    font-size: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.prevention-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.tip-card {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.policy-highlight.warning {
    background-color: rgba(255, 165, 0, 0.1);
    border-left: 4px solid orange;
}

.policy-highlight.warning h4 {
    color: darkorange;
}

/* Ensure transfer-steps styling is applied */
.transfer-steps {
    margin: 30px 0;
}

.transfer-step {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.transfer-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 0;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.step-content p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .prevention-tips {
        grid-template-columns: 1fr;
    }
}
