:root {
  --canada-red: #ff0000;
  --deep-red: #cc0000;
  --white: #ffffff;
  --cream: #fef9f3;
  --grey: #4a5568;
  --dark-grey: #2d3748;
  --gold: #d4a574;
}

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

body {
  font-family: "Lato", sans-serif;
  color: var(--dark-grey);
  background: var(--cream);
  overflow-x: hidden;
}

.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--canada-red);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--canada-red);
}

.logo-icon {
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

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

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--dark-grey);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--canada-red);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--canada-red);
  transition: width 0.3s;
}

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

.btn-nav {
  background: var(--canada-red);
  color: var(--white);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-nav:hover {
  background: var(--deep-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.4);
}

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

.hero {
  margin-top: 85px;
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f3 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

@keyframes float-leaves {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-800px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 0, 0, 0.1);
  color: var(--canada-red);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content h1 .highlight {
  color: var(--canada-red);
  position: relative;
  display: inline-block;
}

.hero-content .subtitle {
  font-size: 1.4rem;
  color: var(--grey);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  background: var(--canada-red);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--deep-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--canada-red);
  border: 2px solid var(--canada-red);
}

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

.hero-features {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey);
}

.hero-feature i {
  color: var(--canada-red);
  font-size: 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-grey);
  font-weight: 900;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--grey);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--canada-red);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--grey);
  font-size: 1.05rem;
}

.about-image {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: url(../img/1.png);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(255, 0, 0, 0.2);
  background-image: url("../img/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-image i {
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.3);
}

.features {
  background: var(--cream);
}

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

.feature-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--canada-red), var(--deep-red));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--canada-red);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--canada-red);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-grey);
  font-weight: 700;
}

.feature-card p {
  line-height: 1.7;
  color: var(--grey);
}

.games {
  background: var(--white);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.game-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
  border: 3px solid transparent;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2);
  border-color: var(--canada-red);
}

.game-header {
  background: linear-gradient(135deg, var(--canada-red), var(--deep-red));
  padding: 2.5rem 2rem;
  color: var(--white);
  text-align: center;
  position: relative;
}

.game-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--deep-red);
}

.game-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.game-header .jackpot {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.game-body p {
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.game-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.game-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey);
}

.game-feature i {
  color: var(--canada-red);
  font-size: 1.2rem;
}

.how-to {
  background: linear-gradient(
    135deg,
    var(--canada-red) 0%,
    var(--deep-red) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-to::before {
  content: "🍁";
  position: absolute;
  font-size: 30rem;
  opacity: 0.05;
  top: -5rem;
  right: -5rem;
  animation: rotate 40s linear infinite;
}

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

.how-to .section-title,
.how-to .section-subtitle {
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.step-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

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

.step-number {
  width: 90px;
  height: 90px;
  background: var(--white);
  color: var(--canada-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  font-family: "Playfair Display", serif;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-card p {
  line-height: 1.7;
  opacity: 0.95;
}

.responsible {
  background: var(--cream);
}

.responsible-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem;
  border-radius: 20px;
  border-left: 6px solid var(--canada-red);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.responsible-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--canada-red);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.responsible-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--grey);
}

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

.tool-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 12px;
  transition: all 0.3s;
}

.tool-item:hover {
  background: rgba(255, 0, 0, 0.05);
}

.tool-item i {
  font-size: 1.8rem;
  color: var(--canada-red);
}

.age-modal {
  display: none;
  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;
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: var(--white);
  padding: 3.5rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  border-top: 6px solid var(--canada-red);
  animation: modal-appear 0.4s ease-out;
}

@keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.age-modal-content i {
  font-size: 5rem;
  color: var(--canada-red);
  margin-bottom: 1.5rem;
}

.age-modal-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--dark-grey);
  margin-bottom: 1rem;
  font-weight: 900;
}

.age-modal-content p {
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

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

.age-btn-yes {
  background: var(--canada-red);
  color: var(--white);
}

.age-btn-yes:hover {
  background: var(--deep-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.age-btn-no {
  background: var(--grey);
  color: var(--white);
}

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

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

.cookie-banner.active {
  display: block;
}

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

.cookie-content p {
  flex: 1;
  margin: 0;
  line-height: 1.6;
}

.cookie-content a {
  color: var(--canada-red);
  text-decoration: none;
  font-weight: 700;
}

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

.cookie-btn {
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn-accept {
  background: var(--canada-red);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--deep-red);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--canada-red);
  border: 2px solid var(--canada-red);
}

.cookie-btn-decline:hover {
  background: var(--canada-red);
  color: var(--white);
}

.mpc-footer {
  background: #1e3a52;
  color: #fff;
  padding: 3rem 0 2rem;
}
.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.border-slate {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.container-xxl {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}
.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
  justify-content: space-around;
}
.gy-2 > * {
  padding: 0 1rem;
}
.col-md-12,
.col-md-6,
.col-12 {
  width: 100%;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
}
.navbar-brand {
  text-decoration: none;
  color: #fff;
}
.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.gap-2 {
  gap: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-md-0 {
  margin-bottom: 0;
}
.fw-semibold {
  font-weight: 600;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}
.mpc-footer p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}
.mpc-footer a {
  color: #4299e1;
  text-decoration: none;
  font-weight: bold;
}
.mpc-footer a:hover {
  color: #60a5fa;
}
.nav-pages {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.label-nav {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #4299e1;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-pages a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.nav-pages a:hover {
  color: #4299e1;
}
.logo-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.age18 {
  width: 60px;
  height: 60px;
  background: #f97316;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}
.logo-trust img {
  height: 50px;
}
.text-center {
  text-align: center;
}
.border-secondary {
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.pt-3 {
  padding-top: 1rem;
}
.small {
  font-size: 0.9rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-0 {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

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

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