:root {
  --primary-color: #059669;
  --secondary-color: #10b981;
  --accent-color: #34d399;
  --dark-green: #065f46;
  --light-green: #d1fae5;
  --gold: #f59e0b;
  --dark-bg: #1f2937;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(5, 150, 105, 0.08);
  --shadow-md: 0 4px 16px rgba(5, 150, 105, 0.12);
  --shadow-lg: 0 8px 32px rgba(5, 150, 105, 0.16);
  --font-display: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

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

a:hover {
  color: var(--secondary-color);
}

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

.container {
  max-width: 1320px;
}

.age-modal {
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
}

.age-icon {
  font-size: 72px;
  color: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.age-modal h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary-color);
}

.age-modal p {
  font-size: 17px;
  color: var(--text-muted);
}

.btn-age-confirm {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-age-confirm:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-age-decline {
  background: var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 18px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-age-decline:hover {
  background: var(--text-muted);
  color: var(--white);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--dark-green), var(--primary-color));
  color: var(--white);
  padding: 24px 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.cookie-link {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-link:hover {
  color: var(--white);
}

.btn-cookie-accept {
  background: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  padding: 12px 36px;
  border: none;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: scale(1.05);
}

.navbar {
  padding: 16px 0;
  background: var(--white) !important;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand-icon {
  font-size: 32px;
  color: var(--primary-color);
}

.brand-text {
  color: var(--text-dark);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  padding: 8px 20px !important;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-login {
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  padding: 10px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: var(--transition);
}

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

.btn-register {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-weight: 700;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.hero-section {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.95),
      rgba(16, 185, 129, 0.95)
    ),
    url("../img/hero.png") center/cover;
  padding: 120px 0 80px;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(52, 211, 153, 0.2),
      transparent 50%
    ),
    radial-gradient(circle at 80% 50%, rgba(5, 150, 105, 0.3), transparent 50%);
  pointer-events: none;
}

.min-vh-75 {
  min-height: 75vh;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border: 2px solid var(--white);
  border-radius: 12px;
  transition: var(--transition);
}

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

.trust-badges {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.trust-icon {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 16px;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin: 12px 0;
}

.trust-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--light-green), var(--accent-color));
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  border: 8px solid var(--white);
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge i {
  font-size: 32px;
}

.about-badge strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.about-badge small {
  display: block;
  font-size: 13px;
  opacity: 0.9;
}

.about-features {
  margin-top: 32px;
}

.about-feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.about-feature-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.about-feature-item i {
  font-size: 32px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.about-feature-item h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.about-feature-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

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

.lottery-card {
  background: linear-gradient(135deg, var(--white), var(--light-green));
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition);
  height: 100%;
}

.lottery-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.lottery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.lottery-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.lottery-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.lottery-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.lottery-jackpot {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.jackpot-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.jackpot-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}

.lottery-details {
  margin-bottom: 28px;
}

.lottery-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
  color: var(--text-dark);
}

.lottery-detail:last-child {
  border-bottom: none;
}

.lottery-detail i {
  color: var(--primary-color);
  font-size: 18px;
  width: 24px;
}

.btn-lottery {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-lottery:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.features-section {
  background: var(--light-bg);
}

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--light-green), var(--accent-color));
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.how-it-works-section {
  background: var(--white);
}

.step-card {
  background: linear-gradient(135deg, var(--white), var(--light-green));
  padding: 40px 28px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  color: rgba(5, 150, 105, 0.08);
  line-height: 1;
}

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

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(10deg);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.faq-section {
  background: var(--light-bg);
}

.accordion-item {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-button {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 18px;
  padding: 20px 24px;
  border: none;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--light-green), var(--accent-color));
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23059669'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--white);
}

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

.contact-card {
  background: linear-gradient(135deg, var(--white), var(--light-green));
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

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

.contact-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-info {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.contact-hours {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-card {
  background: var(--light-bg);
  padding: 48px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary-color);
}

.form-control {
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.btn-contact {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 14px 48px;
  border: none;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 100px 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 60px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-icon {
  font-size: 72px;
  color: var(--white);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.btn-cta {
  background: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 20px;
  padding: 18px 48px;
  border: none;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.site-footer {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-color));
  color: rgba(255, 255, 255, 0.9);
  padding: 80px 0 32px;
}

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

.footer-logo i {
  font-size: 36px;
}

.site-footer p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-img {
  height: auto;
  border-radius: 8px;
  transition: var(--transition);
}

.footer-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 48px;
  }

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

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

  .trust-number {
    font-size: 28px;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    margin-top: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
  }

  .btn-login,
  .btn-register {
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }

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

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

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }

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

  .section-description {
    font-size: 16px;
  }

  .lottery-title {
    font-size: 24px;
  }

  .jackpot-amount {
    font-size: 28px;
  }

  .cta-title {
    font-size: 32px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .about-badge {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.text-primary-green {
  color: var(--primary-color);
}

.bg-primary-green {
  background-color: var(--primary-color);
}

.border-primary-green {
  border-color: var(--primary-color);
}

.shadow-green {
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
}
