:root {
  --color-primary: #c8554d;
  --color-primary-dark: #a03d36;
  --color-secondary: #d4a574;
  --color-accent: #63ac8d;
  --color-dark: #2c3e50;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --color-border: #dee2e6;
  --color-text: #333333;
  --color-text-light: #6c757d;
  --font-primary: "Libre Baskerville", serif;
  --font-secondary: "Poppins", sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

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

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

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

.age-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.age-modal.hidden {
  display: none;
}

.age-modal-content {
  background: var(--color-white);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
}

.age-modal-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 30px;
  text-align: center;
}

.age-modal-header i {
  font-size: 48px;
  margin-bottom: 15px;
}

.age-modal-header h2 {
  color: var(--color-white);
  margin: 0;
}

.age-modal-body {
  padding: 30px;
}

.age-modal-body p {
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
}

.age-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.age-buttons button {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-secondary);
}

.btn-confirm {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-confirm:hover {
  background: #4f9874;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-decline {
  background: var(--color-border);
  color: var(--color-text);
}

.btn-decline:hover {
  background: #c5c9cd;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  animation: slideUpBanner 0.5s ease;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-content i {
  font-size: 32px;
  color: var(--color-secondary);
}

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

.cookie-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.btn-accept {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-secondary);
}

.btn-accept:hover {
  background: #4f9874;
  transform: translateY(-2px);
}

.main-header {
  position: relative;
  min-height: 600px;
  color: var(--color-white);
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8554d 0%, #d4a574 50%, #63ac8d 100%);
  z-index: -1;
  background-image: url("../img/header-bg.png");
  background-size: cover;
  background-position: center;
}

.header-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.navbar {
  position: relative;
  z-index: 100;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-primary);
}

.logo i {
  font-size: 32px;
  color: var(--color-secondary);
}

.logo:hover {
  color: var(--color-secondary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 30px;
  height: 3px;
  background: var(--color-white);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--color-white);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 20px !important;
  border-radius: 6px;
  border: 2px solid var(--color-white);
}

.btn-nav::after {
  display: none;
}

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

.btn-nav.btn-primary {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-dark);
}

.btn-nav.btn-primary:hover {
  background: transparent;
  color: var(--color-secondary);
}

.hero {
  position: relative;
  z-index: 10;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: 52px;
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  color: var(--color-secondary);
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-dark);
  border-color: var(--color-secondary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.age-badge span {
  font-weight: 700;
  font-size: 18px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  background: var(--color-light);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.about-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

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

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.about-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.how-to-section {
  background: var(--color-white);
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
  animation: fadeInLeft 0.6s ease;
}

.step-item:nth-child(even) {
  animation: fadeInRight 0.6s ease;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.step-content p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.games-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.game-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.game-icon {
  width: 70px;
  height: 70px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
}

.game-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.game-card p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.game-features {
  list-style: none;
}

.game-features li {
  padding: 8px 0;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.games-note {
  background: var(--color-white);
  padding: 25px;
  border-radius: 8px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border-left: 4px solid var(--color-accent);
}

.games-note i {
  color: var(--color-accent);
  font-size: 24px;
  flex-shrink: 0;
}

.games-note p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

.faq-section {
  background: var(--color-white);
}

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

.faq-item {
  background: var(--color-light);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
}

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

.faq-question i {
  color: var(--color-primary);
  font-size: 20px;
  transition: var(--transition);
}

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

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

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

.faq-answer p {
  padding: 0 25px 25px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.responsible-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--color-white);
}

.responsible-section .section-header h2,
.responsible-section .section-subtitle {
  color: var(--color-white);
}

.responsible-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
}

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

.responsible-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.responsible-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.responsible-card h3 i {
  font-size: 24px;
}

.responsible-card p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.warning-signs {
  max-width: 800px;
  margin: 0 auto 50px;
  background: rgba(200, 85, 77, 0.2);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--color-primary);
}

.warning-signs h3 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-size: 24px;
}

.warning-signs p {
  margin-bottom: 15px;
}

.warning-signs ul {
  list-style: none;
}

.warning-signs li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.warning-signs li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 20px;
}

.support-resources {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.support-resources h3 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-size: 24px;
}

.support-resources p {
  margin-bottom: 25px;
  font-size: 16px;
}

.support-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.support-link:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.support-link i {
  font-size: 20px;
}

.mpc-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.gy-2 > * {
  padding: 0 15px;
  margin-bottom: 1rem;
}

.col-md-12 {
  width: 100%;
}

.col-md-6 {
  width: 50%;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 22px;
  font-family: var(--font-primary);
  margin-bottom: 20px;
}

.navbar-brand i {
  font-size: 28px;
  color: var(--color-secondary);
}

.fw-semibold {
  font-weight: 600;
}

.mb-2,
.mb-3,
.mb-4 {
  margin-bottom: 1rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-md-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mpc-footer p {
  line-height: 1.7;
}

.nav-pages {
  padding-top: 20px;
}

.label-nav {
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 15px;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-pages a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  transition: var(--transition);
  font-size: 14px;
}

.nav-pages a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.logo-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.age18 {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
}

.logo-trust img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.logo-trust a:hover img {
  opacity: 1;
}

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

.pt-3 {
  padding-top: 1rem;
}

.small {
  font-size: 14px;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

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

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

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--color-dark);
    flex-direction: column;
    padding: 30px;
    transition: left 0.3s ease;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

  .btn {
    width: 100%;
  }

  .step-item {
    flex-direction: column;
    gap: 20px;
  }

  .col-md-6 {
    width: 100%;
  }

  .col-6 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

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

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