/* ============================================
   Sparkplayy - Social Casino Website Styles
   ============================================ */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Social Casino Theme */
  --primary-dark: #1a1a2e;
  --primary-blue: #16213e;
  --accent-purple: #6c5ce7;
  --accent-gold: #f39c12;
  --accent-yellow: #f1c40f;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  background: var(--primary-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1001;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--accent-purple);
  color: var(--bg-white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--accent-purple);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: #5a4fd4;
}

.btn-secondary {
  background: #6c757d;
  color: var(--bg-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
}

.btn-outline:hover {
  background: var(--accent-purple);
  color: var(--bg-white);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-link {
  background: none;
  color: var(--accent-purple);
  padding: 0;
  text-decoration: underline;
}

.btn-link:hover {
  color: #5a4fd4;
  transform: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: var(--bg-gradient);
  padding: 80px 0;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.3);
  z-index: 1;
}

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

.hero-text {
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Disclaimer Section
   ============================================ */

.disclaimer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 40px 0;
  text-align: center;
}

.disclaimer-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon,
.feature-image {
  margin-bottom: 1.5rem;
}

.feature-icon img,
.feature-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--border-radius);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.feature-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.features-secondary {
  padding: 80px 0;
  background: var(--bg-light);
}

/* ============================================
   Gaming Hub Section
   ============================================ */

.gaming-hub {
  padding: 80px 0;
  background: var(--bg-white);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.subsection-title {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--accent-purple);
}

/* ============================================
   Games Section
   ============================================ */

.featured-games,
.all-games {
  padding: 80px 0;
  background: var(--bg-light);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.game-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.game-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.show-more {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   Friendship & Challenges
   ============================================ */

.friendship-challenges {
  padding: 80px 0;
  background: var(--bg-white);
}

.friendship-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.friendship-text {
  padding: 2rem;
}

.friendship-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-icon {
  color: #e74c3c;
  font-size: 1.5rem;
  font-weight: bold;
}

/* ============================================
   Feature Grid
   ============================================ */

.feature-grid {
  padding: 80px 0;
  background: var(--bg-gradient);
  color: var(--text-light);
  position: relative;
}

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

.grid-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

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

.grid-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.grid-card h3 {
  font-size: 1.1rem;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent-purple);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  color: #555;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

/* ============================================
   Statistics
   ============================================ */

.statistics {
  padding: 80px 0;
  background: var(--bg-gradient);
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================
   Social & Activity
   ============================================ */

.social-activity {
  padding: 80px 0;
  background: var(--bg-white);
}

.social-grid {
  display: grid;
  gap: 3rem;
}

.social-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.social-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.social-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.social-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ============================================
   Team Section
   ============================================ */

.team {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.team-member {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.team-member p {
  color: #666;
}

/* ============================================
   Friend Gaming
   ============================================ */

.friend-gaming {
  padding: 80px 0;
  background: var(--bg-white);
}

.friend-gaming-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.friend-text {
  text-align: center;
  padding: 2rem;
}

.friend-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.friend-text p {
  color: #666;
  font-size: 1.1rem;
}

.friend-images-left,
.friend-images-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.friend-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Safe Gaming Section
   ============================================ */

.safe-gaming {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.safe-gaming-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.safe-logo {
  display: inline-block;
  width: 150px;
  height: 80px;
  transition: var(--transition);
}

.safe-logo:hover {
  transform: scale(1.1);
}

.safe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: var(--transition);
}

.safe-logo:hover img {
  filter: grayscale(0%);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.footer-section p {
  color: #ccc;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

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

/* ============================================
   Page Headers
   ============================================ */

.page-header {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ============================================
   Game Pages
   ============================================ */

.game-page-header {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 40px 0;
  text-align: center;
}

.game-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.game-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.game-container {
  padding: 40px 0;
  background: var(--bg-light);
}

.game-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.how-to-play {
  padding: 60px 0;
  background: var(--bg-white);
}

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

.instruction-item {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-purple);
}

.instruction-item h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.instruction-item p {
  color: #666;
  line-height: 1.6;
}

.game-features {
  padding: 60px 0;
  background: var(--bg-light);
}

.game-features .features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-features .feature-item {
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.game-features .feature-item h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.game-features .feature-item p {
  color: #666;
  font-size: 0.9rem;
}

/* ============================================
   Policy Pages
   ============================================ */

.policy-content {
  padding: 60px 0;
  background: var(--bg-white);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.content-wrapper h3 {
  color: var(--accent-purple);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-wrapper p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-wrapper ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-wrapper li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-wrapper a {
  color: var(--accent-purple);
  text-decoration: none;
}

.content-wrapper a:hover {
  text-decoration: underline;
}

.help-organizations {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.help-org {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-purple);
}

.help-org h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.help-org p {
  margin-bottom: 0.5rem;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h3 {
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

.faq-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.faq-list {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #666;
  line-height: 1.8;
}

/* ============================================
   Modals
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.age-modal h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.age-modal p {
  color: #666;
  margin-bottom: 1.5rem;
}

.age-select-wrapper {
  margin: 2rem 0;
  text-align: left;
}

.age-select-wrapper label {
  display: block;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.birth-year-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.birth-year-select:hover {
  border-color: var(--primary-color);
}

.birth-year-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ============================================
   Cookies Banner
   ============================================ */

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

.cookies-banner.show {
  display: block;
}

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

.cookies-content p {
  flex: 1;
  margin: 0;
  min-width: 250px;
}

.cookies-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   Co-op Challenges Section
   ============================================ */

.coop-challenges {
  padding: 80px 0;
  background: var(--bg-white);
}

.coop-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.coop-image {
  margin-bottom: 2rem;
}

.coop-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius);
}

.coop-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

/* ============================================
   Entertainment Space Section
   ============================================ */

.entertainment-space {
  padding: 80px 0;
  background: var(--bg-light);
}

.entertainment-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.entertainment-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.entertainment-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.entertainment-image img {
  width: 100%;
  height: auto;
  display: block;
}

.entertainment-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

/* ============================================
   Indian Gaming Section
   ============================================ */

.indian-gaming {
  padding: 80px 0;
  background: var(--bg-white);
  text-align: center;
}

.indian-gaming .subsection-title {
  font-size: 1.5rem;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ============================================
   Loop Gameplay Section
   ============================================ */

.loop-gameplay {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

/* ============================================
   Features Cards Grid
   ============================================ */

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

.feature-mini-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

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

.feature-mini-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-mini-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.feature-mini-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ============================================
   Social Loop Section
   ============================================ */

.social-loop {
  padding: 80px 0;
  background: var(--bg-white);
}

.social-loop-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.social-loop-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.social-loop-image img {
  width: 100%;
  height: auto;
  display: block;
}

.social-loop-text {
  text-align: left;
}

/* ============================================
   Activity Hub Section
   ============================================ */

.activity-hub {
  padding: 80px 0;
  background: var(--bg-light);
}

.activity-hub-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.activity-hub-text {
  text-align: left;
}

.activity-hub-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.activity-hub-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   FAQ Section Main
   ============================================ */

.faq-section-main {
  padding: 80px 0;
  background: var(--bg-white);
}

.faq-section-main .faq-list {
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq-section-main .faq-item {
  background: var(--bg-light);
  margin-bottom: 1.5rem;
}

.faq-section-main .faq-item h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-section-main .faq-item p {
  color: #666;
  line-height: 1.8;
}

/* ============================================
   Clients Section
   ============================================ */

.clients-section {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.clients-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   Contact Section Home
   ============================================ */

.contact-section-home {
  padding: 80px 0;
  background: var(--bg-white);
  text-align: center;
}

.contact-section-home .contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-section-home .form-group input {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.contact-section-home .form-group input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.contact-section-home .form-group input::placeholder {
  color: #999;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
  .hero-content {
    gap: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

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

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

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

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

  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    color: var(--accent-gold);
    font-weight: 600;
  }

  body.menu-open {
    overflow: hidden;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  body.menu-open .menu-overlay {
    display: block;
  }

  .modal-content {
    width: 95%;
    max-width: 400px;
    padding: 1.5rem;
  }

  .cookies-banner {
    padding: 1rem;
  }

  .cookies-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookies-buttons {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

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

  .games-grid {
    grid-template-columns: 1fr;
  }

  .friendship-content,
  .social-card,
  .friend-gaming-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .safe-gaming-logos {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .safe-logo {
    width: 120px;
    height: 60px;
  }

  .cookies-content {
    flex-direction: column;
    text-align: center;
  }

  .game-wrapper {
    padding-bottom: 100%;
  }

  .features-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .coop-text,
  .entertainment-text {
    font-size: 1.1rem;
  }

  .social-loop-content,
  .activity-hub-content {
    grid-template-columns: 1fr;
  }

  .social-loop-text,
  .activity-hub-text {
    text-align: center;
  }

  .entertainment-images {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .instructions {
    grid-template-columns: 1fr;
  }

  .game-features .features-list {
    grid-template-columns: 1fr;
  }

  .help-organizations {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .friend-images-left,
  .friend-images-right {
    gap: 1rem;
  }

  .page-header {
    padding: 40px 0;
  }

  .game-page-header {
    padding: 30px 0;
  }

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

  .game-subtitle {
    font-size: 1rem;
  }

  .disclaimer {
    padding: 30px 0;
  }

  .disclaimer-title {
    font-size: 1.5rem;
  }

  .disclaimer-content {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .btn-large {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
    right: -100%;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .coop-challenges,
  .entertainment-space,
  .indian-gaming,
  .loop-gameplay,
  .featured-games,
  .friendship-challenges,
  .feature-grid,
  .testimonials,
  .statistics,
  .social-loop,
  .activity-hub,
  .team,
  .friend-gaming,
  .faq-section-main,
  .clients-section,
  .contact-section-home,
  .safe-gaming {
    padding: 60px 0;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .logo img {
    width: 35px;
    height: 35px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .modal-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-buttons .btn {
    width: 100%;
  }

  .age-modal h2 {
    font-size: 1.5rem;
  }

  .age-modal p {
    font-size: 0.9rem;
  }

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

  .footer-links {
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .container {
    padding: 0 30px;
  }

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

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