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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #000;
}

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

/* Header Styles */
.header {
  background-color: #000;
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.nav-link:hover {
  color: #3b82f6;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #333;
  transition: all 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
}

.nav-mobile.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-outline {
  background-color: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-outline:hover {
  background-color: #3b82f6;
  color: white;
}

.btn-white {
  background-color: white;
  color: #7c3aed;
}

.btn-white:hover {
  background-color: #f3f4f6;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-gradient {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #6d28d9, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #000, #1f2937);
  color: white;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
}

.badge {
  display: inline-block;
  background-color: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

.hero-description {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Slots Page Styles */
.slots-page {
  margin-top: 80px;
}

.slots-hero {
  background: linear-gradient(135deg, #581c87, #1e3a8a, #581c87);
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.slots-hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.slots-hero-content p {
  font-size: 1.25rem;
  color: #c4b5fd;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.slots-games {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.slots-games .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.slots-games .section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.slots-games .section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.slot-card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slot-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.slot-image {
  position: relative;
  overflow: hidden;
}

.slot-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.slot-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.category-badge {
  background-color: #7c3aed;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.players-badge {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

.slot-content {
  padding: 1.5rem;
}

.slot-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.75rem;
}

.slot-content p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: #1f2937;
}

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

.feature-card {
  background-color: white;
  color: black;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.feature-icon-green {
  background-color: #10b981;
}
.feature-icon-blue {
  background-color: #3b82f6;
}
.feature-icon-purple {
  background-color: #8b5cf6;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #6b7280;
}

/* Why Choose Section */
.why-choose {
  padding: 4rem 0;
  background-color: #f3f4f6;
  color: black;
}

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

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

.section-header p {
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.benefit-icon-blue {
  background-color: #3b82f6;
}
.benefit-icon-green {
  background-color: #10b981;
}
.benefit-icon-orange {
  background-color: #f59e0b;
}
.benefit-icon-purple {
  background-color: #8b5cf6;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: #6b7280;
}

/* Games Section */
.games {
  padding: 4rem 0;
  background-color: #f3f4f6;
  color: black;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.game-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-content {
  padding: 1.5rem;
}

.game-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.game-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Revolution Section */
.revolution {
  padding: 4rem 0;
  background-color: white;
  color: black;
}

.revolution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.revolution-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.revolution-text p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

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

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

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #3b82f6;
}

.stat-label {
  color: #6b7280;
}

.revolution-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: white;
  color: black;
}

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

.testimonial-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.avatar-pink {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}
.avatar-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.avatar-green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.avatar-orange {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.testimonial-info h4 {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stars {
  color: #fbbf24;
}

.testimonial-card p {
  color: #6b7280;
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

/* Join Today Section */
.join-today {
  padding: 4rem 0;
  background: linear-gradient(135deg, #7c3aed, #3b82f6, #7c3aed);
  color: white;
}

.join-today .section-header h2 {
  color: white;
}

.join-today .section-header p {
  color: #e0e7ff;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.offer-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #bfdbfe;
}

.offer-item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.offer-item p {
  color: #e0e7ff;
}

/* Final CTA Section */
.final-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ec4899, #7c3aed, #3b82f6);
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer Styles */
.footer {
  background-color: #111827;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #3b82f6;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.footer-disclaimer {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.footer-disclaimer p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.responsible-gaming {
  text-align: center;
}

.begambleaware-logo {
  height: 60px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Legal Page Styles */
.legal-page {
  background-color: white;
  color: black;
  padding: 6rem 0 4rem;
  min-height: 100vh;
}

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

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #111827;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #374151;
}

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

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.legal-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #2563eb;
}

.last-updated {
  color: #6b7280 !important;
  font-size: 0.875rem;
  margin-bottom: 2rem !important;
}

/* Game Page Styles */
.game-page {
  margin-top: 80px;
}

.game-header {
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.game-header-green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.game-header-blue {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.game-header-purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.game-header-dark {
  background: linear-gradient(135deg, #374151, #4b5563);
}

.game-header-orange {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

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

.game-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.game-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.game-container {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.game-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}

.game-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.game-iframe-container {
  aspect-ratio: 16 / 9;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  border: 2px dashed #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.game-placeholder {
  text-align: center;
  color: #6b7280;
}

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

.placeholder-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.placeholder-subtitle {
  font-size: 0.875rem;
}

.game-info {
  text-align: center;
}

.game-info h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.game-info p {
  color: #6b7280;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

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

  .mobile-menu-btn {
    display: flex;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .revolution-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats {
    justify-content: center;
  }

  .testimonials-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta p {
    font-size: 1rem;
  }

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

  .slots-hero-content p {
    font-size: 1rem;
  }

  .slots-games .section-header h2 {
    font-size: 2rem;
  }

  .slots-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .slot-card {
    margin: 0 1rem;
  }

  .game-header h1 {
    font-size: 2rem;
  }

  .game-header p {
    font-size: 1rem;
  }

  .game-icon {
    font-size: 3rem;
  }

  .game-wrapper {
    padding: 1.5rem;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

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

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

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

  .slots-hero {
    padding: 3rem 0;
  }

  .slots-games {
    padding: 3rem 0;
  }

  .slots-grid {
    gap: 1rem;
  }

  .slot-content {
    padding: 1rem;
  }

  .game-header {
    padding: 2rem 0;
  }

  .game-container {
    padding: 2rem 0;
  }

  .game-wrapper {
    padding: 1rem;
  }
}

.page-loaded {
  animation: fadeIn 0.5s ease-in;
}

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

[data-loading] {
  opacity: 0.7;
  pointer-events: none;
}
