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

:root {
  --primary-color: #704ae2;
  --secondary-color: #1a1a2e;
  --brand-color: #c50baf;
  --accent-color: #16213e;
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --gradient: linear-gradient(10deg, var(--primary-color), var(--brand-color));
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body {
  font-family: "Arial", sans-serif;
  background: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0f23 0%, #16213e 50%, #1a1a2e 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--accent-color);
  border-top: 3px solid var(--brand-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Modern Loading Styles */
.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  border: none;
}

.loading-spinner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #704ae2;
  border-right: 3px solid #c50baf;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 2px solid transparent;
  border-bottom: 2px solid #704ae2;
  border-left: 2px solid #c50baf;
  border-radius: 50%;
  animation: spin 1s linear infinite reverse;
}

.loading-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  margin-bottom: 1.5rem;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #704ae2, #c50baf);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

.loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #704ae2, #c50baf);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0s; }

.loading-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 1rem 0;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #704ae2, #c50baf);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

/* Navbar */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

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

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-color);
}

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

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

.nav-link.active {
  color: var(--brand-color);
}

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

.user-welcome {
  color: var(--text-color);
  font-weight: 500;
}

.btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 120px;
  height: 44px;
  box-sizing: border-box;
}

.hero .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  gap: 0.7rem;
  font-weight: 600;
  min-width: 180px;
  height: 56px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #704ae2 0%, #c50baf 100%);
  color: white;
  box-shadow: 0 15px 35px rgba(112, 74, 226, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(112, 74, 226, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

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

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: var(--accent-color);
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.user-info:not(:empty) {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--text-muted);
  text-align: center;
}

.mobile-menu {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

.mobile-menu a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f0f23 0%, #16213e 50%, #1a1a2e 100%),
    url("/assets/images/lucky-spinz.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(112, 74, 226, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(197, 11, 175, 0.2) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #704ae2 50%, #c50baf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease 0.2s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
  margin-bottom: 2rem;
}

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

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--accent-color);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-color);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(112, 74, 226, 0.3);
  box-shadow: 0 20px 60px rgba(112, 74, 226, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all 0.4s ease;
  position: relative;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(112, 74, 226, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease;
  z-index: -1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotateY(360deg);
  color: #c50baf;
  text-shadow: 0 0 20px rgba(197, 11, 175, 0.5);
}

.feature-card:hover .feature-icon::before {
  transform: translate(-50%, -50%) scale(1);
}

.feature-card h3 {
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover h3 {
  color: #c50baf;
  transform: translateY(-5px);
}

.feature-card p {
  transition: all 0.3s ease;
}

.feature-card:hover p {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* Legal Pages Styling */
.feature-card h2 {
  position: relative;
  padding-bottom: 0.5rem;
}

.feature-card h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--brand-color));
  transition: width 0.3s ease;
}

.feature-card:hover h2::after {
  width: 100px;
}

.feature-card ul {
  position: relative;
}

.feature-card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card ul {
  list-style: none;
}

.feature-card ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  perspective: 1000px;
}

.games-grid .game-card {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(50px);
}

.games-grid .game-card:nth-child(1) {
  animation-delay: 0.1s;
}
.games-grid .game-card:nth-child(2) {
  animation-delay: 0.2s;
}
.games-grid .game-card:nth-child(3) {
  animation-delay: 0.3s;
}
.games-grid .game-card:nth-child(4) {
  animation-delay: 0.4s;
}
.games-grid .game-card:nth-child(5) {
  animation-delay: 0.5s;
}
.games-grid .game-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(112, 74, 226, 0.15),
    rgba(197, 11, 175, 0.1)
  );
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.game-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(112, 74, 226, 0.3),
    transparent,
    rgba(197, 11, 175, 0.3),
    transparent
  );
  opacity: 0;
  animation: rotate 4s linear infinite;
  z-index: 0;
}

.game-card:hover {
  transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.03);
  border-color: rgba(197, 11, 175, 0.8);
  box-shadow: 0 30px 80px rgba(112, 74, 226, 0.25),
    0 0 50px rgba(197, 11, 175, 0.1);
}

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

.game-card:hover::after {
  opacity: 0.6;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.game-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #704ae2 0%, #c50baf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.game-image i {
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.game-card:hover .game-image i {
  transform: scale(1.2) rotate(10deg);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.game-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-image::before {
  opacity: 1;
}

.game-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.game-card:hover .game-image::after {
  transform: translateX(100%);
}

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

.game-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: start;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.02);
}

.game-locked {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

/* Forms */
.form-container {
  margin: 0 auto;
  padding: 2rem;
  background: var(--accent-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--secondary-color);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-control.error {
  border-color: var(--error-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Toast Messages */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  z-index: 3000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--success-color);
}

.toast.error {
  background: var(--error-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--accent-color);
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--secondary-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question.active {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

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

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

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-section {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-icon {
    margin: 0 auto;
  }
}

/* About Page Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-grid .feature-card {
    text-align: center;
  }

  .mission-grid .feature-icon {
    margin: 0 auto 1rem;
  }
}

/* Testimonial Cards */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #704ae2, #c50baf);
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.03);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 11, 175, 0.2);
  box-shadow: 0 25px 50px rgba(197, 11, 175, 0.15);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.testimonial-author {
  color: var(--primary-color);
  margin-top: 1rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--accent-color);
  padding: 3rem 0 1rem;
  /* margin-top: 4rem; */
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section .logo {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section .logo {
    display: block;
    text-align: center;
  }
}

/* Text visibility for different screen sizes */
.desktop-text {
  display: inline;
}

.mobile-text {
  display: none;
}

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

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 80vh;
    padding: 120px 0 80px;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero .btn {
    min-width: 280px;
  }

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

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

  .container {
    padding: 0 1rem;
  }

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

  .nav-container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }

  .features {
    padding: 60px 0;
  }

  .feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-card p {
    text-align: center;
  }

  .feature-card h2 {
    font-size: 1.2rem;
  }

  .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding: 100px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero .btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.75rem;
    min-width: 260px;
    height: 50px;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
  }

  .age-verification .btn {
    font-size: 0.8rem;
    padding: 0.8rem 1.2rem;
  }

  .age-verification-content {
    padding: 2rem;
  }

  .age-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}

/* Age Verification Popup */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-verification-content {
  background: var(--accent-color);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

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

.age-verification p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Cookies Banner */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent-color);
  padding: 1rem;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookies-banner.show {
  transform: translateY(0);
}

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

.cookies-text {
  flex: 1;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .cookies-content {
    flex-direction: column;
    text-align: center;
  }

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