@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --cream-bg: #faf8f3;
  --warm-white: #ffffff;
  --terracotta: #d4664a;
  --terracotta-dark: #b85438;
  --sage-green: #8ba888;
  --sage-dark: #6b8a68;
  --wheat: #e8c468;
  --wheat-dark: #d4ae4a;
  --sky-blue: #89b5d9;
  --text-dark: #3d3d3d;
  --text-medium: #5a5a5a;
  --text-light: #7a7a7a;
  --border-soft: rgba(61, 61, 61, 0.12);
}

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

body {
  font-family: "Open Sans", sans-serif;
  background: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(139, 168, 136, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(212, 102, 74, 0.03) 0%,
      transparent 50%
    );
  z-index: -1;
  pointer-events: none;
}

.top-bar {
  background: var(--sage-green);
  color: white;
  padding: 12px 0;
  font-size: 14px;
}

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item i {
  color: var(--wheat);
}

.navbar {
  background: var(--warm-white);
  box-shadow: 0 2px 12px rgba(61, 61, 61, 0.08);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-family: "Bitter", serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--terracotta);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--sage-green);
  font-size: 28px;
}

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

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--terracotta);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn-login,
.btn-signup {
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
}

.btn-login {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-login:hover {
  background: var(--terracotta);
  color: white;
}

.btn-signup {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 102, 74, 0.25);
}

.btn-signup:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 102, 74, 0.35);
}

.hero {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  background-image: url("../images/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  z-index: 0;
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Bitter", serif;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--text-dark);
}

.hero h1 span {
  color: var(--terracotta);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-medium);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 18px 45px;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(212, 102, 74, 0.3);
  border: none;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 102, 74, 0.4);
}

.games-section {
  padding: 100px 20px;
  background: white;
}

.games-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "Bitter", serif;
  font-size: 44px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.game-card {
  background: var(--cream-bg);
  border: 2px solid var(--border-soft);
  border-radius: 25px;
  padding: 40px 35px;
  transition: all 0.4s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(61, 61, 61, 0.12);
  border-color: var(--terracotta);
}

.game-icon {
  font-size: 52px;
  margin-bottom: 25px;
  color: var(--sage-green);
}

.game-card h3 {
  font-family: "Bitter", serif;
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--terracotta);
  font-weight: 700;
}

.game-card p {
  color: var(--text-medium);
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.8;
}

.game-details {
  margin: 25px 0;
  padding: 25px;
  background: white;
  border-radius: 15px;
  border-left: 4px solid var(--sage-green);
}

.game-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.game-detail-item:last-child {
  margin-bottom: 0;
}

.game-detail-label {
  color: var(--text-medium);
  font-weight: 500;
}

.game-detail-value {
  color: var(--terracotta);
  font-weight: 700;
  font-family: "Bitter", serif;
}

.jackpot-status {
  display: inline-block;
  padding: 8px 18px;
  background: var(--sage-green);
  color: white;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 102, 74, 0.3);
}

.how-it-works {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    rgba(137, 181, 217, 0.05) 0%,
    transparent 100%
  );
}

.how-it-works .container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 25px;
  border: 2px solid var(--border-soft);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--wheat);
  box-shadow: 0 8px 25px rgba(61, 61, 61, 0.08);
}

.step-number {
  display: inline-block;
  width: 75px;
  height: 75px;
  line-height: 75px;
  background: var(--wheat);
  color: var(--text-dark);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
  font-family: "Bitter", serif;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(232, 196, 104, 0.4);
}

.step-card h3 {
  font-family: "Bitter", serif;
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-medium);
  font-size: 15px;
  line-height: 1.7;
}

.faq-section {
  padding: 100px 20px;
  background: white;
}

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

.faq-list {
  margin-top: 50px;
}

.faq-item {
  background: var(--cream-bg);
  border: 2px solid var(--border-soft);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--terracotta);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 17px;
  user-select: none;
  font-family: "Open Sans", sans-serif;
}

.faq-question:hover {
  color: var(--terracotta);
}

.faq-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: var(--terracotta);
  font-weight: 400;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-medium);
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px 30px;
}

.cta-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--sage-green), var(--sage-dark));
  color: white;
}

.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: "Bitter", serif;
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: white;
  color: var(--terracotta);
}

.cta-section .btn-primary:hover {
  background: var(--cream-bg);
  color: var(--terracotta-dark);
}

.site-footer {
  background: var(--text-dark);
  padding: 60px 20px 30px;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .site-footer .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .site-footer .row {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  font-family: "Bitter", serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-heading {
  font-family: "Bitter", serif;
  font-size: 18px;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-heading-blue {
  color: var(--sky-blue);
}

.footer-heading-green {
  color: var(--wheat);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--terracotta);
  padding-left: 5px;
}

.site-footer .fas {
  color: var(--terracotta);
}

.footer-img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-img:hover {
  opacity: 1;
}

.footer-img-invert {
  filter: brightness(0) invert(1) brightness(0.8);
}

.footer-img-invert:hover {
  filter: brightness(0) invert(1) brightness(1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.g-5 {
  gap: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.me-2 {
  margin-right: 8px;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 15px;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-lg-start {
  justify-content: flex-start;
}

@media (max-width: 992px) {
  .justify-content-lg-start {
    justify-content: center;
  }
}

.col-lg-4,
.col-lg-3,
.col-lg-2 {
  flex: 1;
}

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

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 3px solid var(--terracotta);
  padding: 20px;
  z-index: 10000;
  display: block;
  box-shadow: 0 -4px 20px rgba(61, 61, 61, 0.15);
}

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

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

.cookie-content p {
  color: var(--text-dark);
  margin: 0;
  font-size: 14px;
  flex: 1;
}

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

.btn-accept-cookies {
  padding: 12px 30px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Open Sans", sans-serif;
}

.btn-accept-cookies:hover {
  background: var(--terracotta-dark);
  transform: scale(1.05);
}

.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(61, 61, 61, 0.95);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-modal-content {
  background: white;
  border: 3px solid var(--terracotta);
  border-radius: 25px;
  padding: 50px 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(61, 61, 61, 0.3);
}

.age-modal-header {
  margin-bottom: 25px;
}

.age-modal-header i {
  font-size: 60px;
  color: var(--terracotta);
  margin-bottom: 15px;
}

.age-modal-header h2 {
  font-family: "Bitter", serif;
  font-size: 28px;
  color: var(--text-dark);
  margin: 0;
}

.age-modal-content p {
  color: var(--text-medium);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.age-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-confirm-age,
.btn-deny-age {
  padding: 15px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm-age {
  background: var(--sage-green);
  color: white;
}

.btn-confirm-age:hover {
  background: var(--sage-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 168, 136, 0.4);
}

.btn-deny-age {
  background: transparent;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
}

.btn-deny-age:hover {
  background: var(--terracotta);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 5px;
}

@media (max-width: 992px) {
  .top-bar .container {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 20px;
    right: 20px;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(61, 61, 61, 0.15);
    border-radius: 15px;
    border: 2px solid var(--border-soft);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

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

  .btn-login,
  .btn-signup {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 26px;
  }

  .logo i {
    font-size: 22px;
  }

  .hero {
    padding: 70px 20px 50px;
  }

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

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

  .hero-image-prompt {
    padding: 20px;
  }

  .btn-primary {
    padding: 16px 38px;
    font-size: 15px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-subtitle {
    font-size: 16px;
    padding: 0 20px;
  }

  .games-section,
  .how-it-works,
  .faq-section {
    padding: 70px 20px;
  }

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

  .game-card {
    padding: 30px 25px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-section {
    padding: 70px 20px;
  }

  .cta-section h2 {
    font-size: 36px;
  }

  .cta-section p {
    font-size: 17px;
  }

  .site-footer {
    padding: 40px 20px 20px;
  }

  .site-footer .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .btn-accept-cookies {
    width: 100%;
  }

  .age-modal-content {
    padding: 30px 25px;
  }

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

  .btn-confirm-age,
  .btn-deny-age {
    width: 100%;
  }
}

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

  .section-title {
    font-size: 28px;
  }

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

  .step-number {
    width: 65px;
    height: 65px;
    line-height: 65px;
    font-size: 28px;
  }
}

html {
  scroll-behavior: smooth;
}

.navbar .container {
  position: relative;
}
