:root {
  --golden: #d4af37;
  --dark-golden: #b8960f;
  --success-green: #2d7a3e;
  --light-green: #4caf50;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --text-dark: #2c2c2c;
}

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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.text-golden {
  color: var(--golden) !important;
}

.navbar {
  background: var(--white) !important;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.6rem;
  color: var(--text-dark) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--golden);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--golden) !important;
}

.btn-golden {
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--dark-golden) 100%
  );
  color: var(--white);
  border: none;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-golden:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: var(--white);
}

.btn-outline-golden {
  background: transparent;
  color: var(--golden);
  border: 2px solid var(--golden);
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

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

.hero-banner {
  position: relative;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 122, 62, 0.85) 0%,
    rgba(26, 26, 26, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  width: 100%;
}

.hero-text {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-text h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-item i {
  font-size: 2rem;
  color: var(--golden);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--white);
}

.stat-item span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.jackpot-display {
  background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 450px;
}

.jackpot-label {
  font-size: 1.1rem;
  color: var(--success-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.jackpot-value {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--golden);
  margin: 1.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.jackpot-info {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.trust-badge {
  padding: 1rem;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
}

.trust-badge h6 {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.lotteries-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.lottery-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lottery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--golden) 0%, var(--light-green) 100%);
}

.lottery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.lottery-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--golden);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lottery-badge.special {
  background: var(--light-green);
}

.lottery-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--dark-golden) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.lottery-title {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.lottery-desc {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
}

.lottery-details {
  background: var(--light-bg);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: auto;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid #ddd;
}

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

.detail-row .label {
  color: #666;
  font-weight: 500;
}

.detail-row .value {
  font-weight: 600;
  color: var(--text-dark);
}

.bg-gradient-golden {
  background: linear-gradient(
    135deg,
    var(--success-green) 0%,
    var(--light-green) 100%
  );
}

.step-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.step-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--dark-golden) 100%
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.step-box h4 {
  margin: 1rem 0;
  color: var(--text-dark);
}

.step-box p {
  color: #666;
  margin: 0;
}

.winner-box {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.winner-box:hover {
  transform: translateY(-10px);
  border-color: var(--golden);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.winner-avatar {
  font-size: 4rem;
  color: var(--golden);
  margin-bottom: 1rem;
}

.winner-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.winner-location {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.winner-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--success-green);
  margin: 1rem 0;
}

.winner-game {
  color: var(--golden);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.winner-date {
  font-size: 0.85rem;
  color: #999;
}

.why-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.why-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
}

.why-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-10px);
  background: var(--white);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.why-card h4 {
  color: var(--text-dark);
  margin: 1rem 0;
}

.why-card p {
  color: #666;
  margin: 0;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--dark-golden) 100%
  );
  color: var(--white);
  font-weight: 600;
  padding: 1.3rem 1.5rem;
  font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--success-green) 0%,
    var(--light-green) 100%
  );
  color: var(--white);
  box-shadow: none;
}

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

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  color: #666;
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--dark-golden) 100%
  );
  color: var(--white);
}

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

.cta-section .btn-golden:hover {
  background: var(--light-bg);
  color: var(--golden);
}

.site-footer {
  background: var(--dark-bg);
  color: #ccc;
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--golden);
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: var(--golden);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-heading-blue {
  color: #5dade2;
}

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

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-img:hover {
  transform: scale(1.05);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  color: #999;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(45, 122, 62, 0.98);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

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

#ageModal .modal-content {
  border-radius: 25px;
  border: 3px solid var(--golden);
}

#ageModal .modal-body {
  border-radius: 25px;
}

#ageModal h2 {
  color: var(--golden);
}

.age-icon-wrapper {
  background: rgba(255, 193, 7, 0.1);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.auth-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  background: var(--light-bg);
  padding: 3rem 0;
}

.auth-card {
  background: var(--white);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--golden);
}

.security-notice {
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-left: 4px solid var(--golden);
}

.legal-section {
  min-height: 60vh;
  padding: 4rem 0;
  background: var(--light-bg);
}

.legal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--golden);
}

.legal-content h2 {
  color: var(--golden);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.legal-content h3 {
  color: var(--success-green);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.contact-info {
  background: rgba(212, 175, 55, 0.08);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--golden);
}

.form-control,
.form-select {
  padding: 0.9rem 1.2rem;
  border-radius: 15px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--golden);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.input-group-text {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid #e0e0e0;
  border-right: none;
  border-radius: 15px 0 0 15px;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 15px 15px 0;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--golden) 0%, var(--light-green) 100%);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 600px;
  }

  .jackpot-value {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .lottery-card {
    margin-bottom: 2rem;
  }

  .auth-card {
    padding: 2rem;
  }

  .legal-content {
    padding: 2rem;
  }
}

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

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