:root {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --accent-color: #06b6d4;
  --dark-color: #1e293b;
  --light-bg: #f8fafc;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.age-modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.95),
    rgba(124, 58, 237, 0.95)
  );
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.age-modal-content {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-modal-content i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.age-modal-content h2 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.age-modal-content p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

.age-btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.age-btn-yes {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.age-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.age-btn-no {
  background: #e2e8f0;
  color: #64748b;
}

.age-btn-no:hover {
  background: #cbd5e1;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border-top: 3px solid var(--primary-color);
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.cookie-btn-decline {
  background: #e2e8f0;
  color: #64748b;
}

.cookie-btn-decline:hover {
  background: #cbd5e1;
}

.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

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

.btn-primary-custom {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.hero {
  background: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.9),
      rgba(124, 58, 237, 0.9)
    ),
    url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 8rem 0 6rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.85),
    rgba(124, 58, 237, 0.85)
  );
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.btn-hero {
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.btn-hero-primary {
  background: white;
  color: var(--primary-color);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.features {
  padding: 5rem 0;
  background: var(--light-bg);
}

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: #64748b;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
  border-top-color: var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

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

.feature-card p {
  color: #64748b;
  line-height: 1.8;
}

.how-it-works {
  padding: 5rem 0;
  background: white;
}

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

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.step-card p {
  color: #64748b;
}

.games {
  padding: 5rem 0;
  background: var(--light-bg);
}

.game-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

.game-card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 2rem;
  text-align: center;
}

.game-card-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-card-header .jackpot {
  font-size: 2.5rem;
  font-weight: 800;
}

.game-card-body {
  padding: 2rem;
}

.game-card-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.game-card-body ul li {
  padding: 0.5rem 0;
  color: #64748b;
}

.game-card-body ul li i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.btn-game {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.faq {
  padding: 5rem 0;
  background: white;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button {
  background: white;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-body {
  padding: 1.5rem;
  color: #64748b;
  line-height: 1.8;
}

.responsible {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(124, 58, 237, 0.05)
  );
}

.responsible-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.responsible-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.responsible-content ul {
  list-style: none;
  margin: 1.5rem 0;
}

.responsible-content ul li {
  padding: 0.75rem 0;
  color: #64748b;
  padding-left: 2rem;
  position: relative;
}

.responsible-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.help-resources {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.help-resources h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.help-resources a {
  color: white;
  text-decoration: underline;
}

.mpc-footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 3rem 0 1rem;
}

.mpc-footer .navbar-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  -webkit-text-fill-color: white;
}

.mpc-footer p {
  color: #94a3b8;
  line-height: 1.8;
}

.mpc-footer a {
  color: #06b6d4;
  text-decoration: none;
  transition: color 0.3s;
}

.mpc-footer a:hover {
  color: #22d3ee;
}

.nav-pages {
  margin-top: 2rem;
}

.nav-pages .label-nav {
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-pages a {
  display: block;
  padding: 0.5rem 0;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-pages a:hover {
  color: #06b6d4;
  padding-left: 5px;
}

.logo-trust {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.age18 {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-trust img {
  height: 40px;
  transition: transform 0.3s;
}

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

.border-slate {
  border-color: #334155 !important;
}

.login-page {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  min-height: 100vh;
}

.login-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.login-header i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.login-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-header p {
  opacity: 0.9;
  margin: 0;
}

.login-form {
  padding: 2.5rem;
}

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

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

.form-group label i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.form-control {
  padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-login i {
  margin-right: 0.5rem;
}

.login-footer {
  padding: 1.5rem 2.5rem;
  background: var(--light-bg);
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.login-footer p {
  margin: 0;
  color: #64748b;
}

.login-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.register-page {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  min-height: 100vh;
}

.register-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.register-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.register-header i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.register-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.register-header p {
  opacity: 0.9;
  margin: 0;
}

.register-form {
  padding: 2.5rem;
}

.btn-register {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-register i {
  margin-right: 0.5rem;
}

.register-footer {
  padding: 1.5rem 2.5rem;
  background: var(--light-bg);
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.register-footer p {
  margin: 0;
  color: #64748b;
}

.register-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.register-footer a:hover {
  text-decoration: underline;
}

.legal-page {
  padding: 5rem 0;
  background: var(--light-bg);
}

.legal-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
  color: var(--dark-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2 {
  color: var(--dark-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--dark-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--dark-color);
  font-weight: 600;
}

.legal-content .last-updated {
  background: var(--light-bg);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
  }

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

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .login-form,
  .register-form {
    padding: 1.5rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

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

  .legal-content h2 {
    font-size: 1.5rem;
  }
}
