/* Raffle Rooster Landing Page Styles */
:root {
  --primary-color: #f15a29;
  --secondary-color: #ffd100;
  --dark-color: #333333;
  --light-color: #f9f9f9;
  --accent-color: #8bc53f;
  --text-color: #333333;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.auth-buttons {
  display: flex;
}

.btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  margin-right: 10px;
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 150px 0 100px;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
}

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

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h3 {
  font-size: 36px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.step {
  flex: 0 0 calc(33.333% - 30px);
  text-align: center;
  padding: 30px;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-10px);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.step h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Featured Beneficiaries */
.featured-beneficiaries {
  padding: 100px 0;
  background-color: var(--light-color);
}

.beneficiaries {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.beneficiary-card {
  flex: 0 0 calc(33.333% - 20px);
  margin-bottom: 30px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.beneficiary-card:hover {
  transform: translateY(-5px);
}

.beneficiary-image {
  height: 200px;
  overflow: hidden;
}

.beneficiary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beneficiary-info {
  padding: 20px;
}

.beneficiary-info h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.progress-container {
  margin: 15px 0;
  background-color: #e9ecef;
  border-radius: 10px;
  height: 10px;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--accent-color);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 14px;
}

/* Daily Winner Section */
.daily-winner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

.winner-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--dark-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.winner-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 5px solid var(--secondary-color);
}

.winner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-info h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.winner-amount {
  font-size: 36px;
  color: var(--primary-color);
  font-weight: 700;
  margin: 15px 0;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: white;
}

.testimonial-cards {
  display: flex;
  justify-content: space-between;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h5 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  color: #777;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background-color: var(--accent-color);
  text-align: center;
  color: white;
}

.cta h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-column {
  flex: 0 0 calc(25% - 30px);
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #bbb;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .step, .beneficiary-card, .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .footer-column {
    flex: 0 0 calc(50% - 15px);
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  nav ul {
    margin: 20px 0;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .step, .beneficiary-card, .testimonial-card {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
  
  .testimonial-cards {
    flex-direction: column;
  }
  
  .footer-column {
    flex: 0 0 100%;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #777;
}

.modal h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-footer {
  text-align: center;
  margin-top: 30px;
}

/* Show modal class */
.show-modal {
  display: flex;
}
