:root {
  /* Modern Flat Colors */
  --primary-color: #3498db;
  /* Flat Blue */
  --secondary-color: #e74c3c;
  /* Flat Red */
  --success-color: #2ecc71;
  /* Flat Green */
  --purple-color: #9b59b6;
  /* Flat Purple */
  --dark-color: #34495e;
  /* Flat Dark Blue */
  --background-light: #f9fafb;
  --header-bg: #2c3e50;
  /* Dark Blue Gray */
  --header-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

body {
  color: var(--dark-color);
  background-color: var(--background-light);
}

.main-header {
  background: var(--header-gradient);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-header .navbar-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

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

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

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

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

.btn-custom-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-custom-primary:hover {
  background-color: #2980b9;
  color: white;
}

.btn-custom-success {
  background-color: var(--success-color);
  color: white;
  border: none;
}

.btn-custom-success:hover {
  background-color: #27ae60;
  color: white;
}

.btn-custom-purple {
  background-color: var(--purple-color);
  color: white;
  border: none;
}

.btn-custom-purple:hover {
  background-color: #8e44ad;
  color: white;
}

.lottery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.lottery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hero-section {
  background: var(--header-gradient);
  padding: 6rem 0;
  margin-top: 0;
  position: relative;
  color: white;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--success-color), var(--primary-color), var(--purple-color));
}

.hero-section .display-4 span {
  color: white !important;
}

.hero-section .text-secondary-custom {
  color: #ecf0f1 !important;
}

.clover-icon {
  width: 50px;
  height: 50px;
  margin: 1rem;
  opacity: 0.9;
}

.demo-section {
  background-color: white;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer {
  background-color: var(--dark-color);
  color: #ecf0f1;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
}

.section-title:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
}

.secret-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--primary-color), var(--purple-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: block;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  line-height: 1.2;
}

.secret-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--purple-color));
}

.price-section {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.price-tag {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--success-color);
  position: relative;
  display: inline-block;
  margin: 0.5rem 0;
  line-height: 1;
}

.price-tag .currency {
  font-size: 2.5rem;
  position: relative;
  top: -1.5rem;
  margin-right: 0.2rem;
  opacity: 0.9;
}

.price-tag .cents {
  font-size: 2.5rem;
  position: relative;
  top: -1.5rem;
  opacity: 0.9;
}

.price-tag .each {
  font-size: 1.4rem;
  color: var(--dark-color);
  opacity: 0.7;
  font-weight: normal;
  display: block;
  margin-top: -0.5rem;
}

.price-highlight {
  background-color: var(--success-color);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-features {
  margin: 1.5rem 0;
  font-size: 1.1rem;
  color: var(--dark-color);
}

.price-features span {
  color: var(--success-color);
  font-weight: 600;
}

.price-action {
  margin-top: 1.5rem;
}

.btn-cta {
  background: var(--success-color);
  color: white;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.btn-cta:hover {
  background: #27ae60;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.container.content-wrapper {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .secret-title {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .price-tag {
    font-size: 3.5rem;
  }

  .price-tag .currency,
  .price-tag .cents {
    font-size: 2rem;
    top: -1rem;
  }

  .price-tag .each {
    font-size: 1.2rem;
  }

  .price-features {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    white-space: normal;
    max-width: 100%;
  }

  .price-section {
    padding: 1.5rem;
    margin: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .secret-title {
    font-size: 1.5rem;
  }

  .price-tag {
    font-size: 3rem;
  }

  .price-tag .currency,
  .price-tag .cents {
    font-size: 1.8rem;
  }

  .price-features {
    text-align: left;
    padding: 0;
  }

  .btn-cta {
    width: 100%;
  }
}