/* style/resources-winning-stories.css */

/* Base Styles */
.page-resources-winning-stories {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-resources-winning-stories__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-winning-stories__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-winning-stories__section-title .highlight {
  color: #ffc107;
}

.page-resources-winning-stories__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  border-radius: 2px;
}

/* Hero Section */
.page-resources-winning-stories__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-winning-stories__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,193,7,0.2) 0%, transparent 70%);
  animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-resources-winning-stories__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.page-resources-winning-stories__hero-title .highlight {
  color: #ffc107;
}

.page-resources-winning-stories__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.page-resources-winning-stories__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #0056b3;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.page-resources-winning-stories__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

/* Intro Section */
.page-resources-winning-stories__intro-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-resources-winning-stories__intro-text {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #555;
}

/* Stories Grid */
.page-resources-winning-stories__stories-grid {
  padding: 80px 0;
  background-color: #fff;
}

.page-resources-winning-stories__story-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-winning-stories__story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-resources-winning-stories__story-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 5px solid #007bff;
}

.page-resources-winning-stories__story-card h3 {
  font-size: 1.8em;
  color: #007bff;
  margin: 25px 25px 15px;
  font-weight: bold;
}

.page-resources-winning-stories__story-card p {
  font-size: 1em;
  color: #666;
  padding: 0 25px 25px;
  text-align: justify;
}

/* Why 92lottery Section */
.page-resources-winning-stories__why-92lottery {
  padding: 80px 0;
  background-color: #e9f7ff;
}

.page-resources-winning-stories__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-winning-stories__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-winning-stories__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-resources-winning-stories__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
}

.page-resources-winning-stories__feature-title {
  font-size: 1.5em;
  color: #0056b3;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-winning-stories__feature-description {
  font-size: 0.95em;
  color: #666;
}

/* Call to Action Bottom */
.page-resources-winning-stories__cta-bottom {
  background-color: #007bff;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-resources-winning-stories__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-resources-winning-stories__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-resources-winning-stories__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-winning-stories__cta-button--primary {
  background-color: #ffc107;
  color: #0056b3;
}

.page-resources-winning-stories__cta-button--primary:hover {
  background-color: #e0a800;
}

.page-resources-winning-stories__cta-button--secondary {
  background-color: #fff;
  color: #007bff;
  border: 2px solid #fff;
}

.page-resources-winning-stories__cta-button--secondary:hover {
  background-color: rgba(255,255,255,0.9);
  color: #0056b3;
}

/* Floating Promo */
.page-resources-winning-stories__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: fadeInOut 10s ease-in-out infinite;
}

.page-resources-winning-stories__promo-link {
  display: flex;
  align-items: center;
  background-color: #ffc107;
  color: #0056b3;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources-winning-stories__promo-link:hover {
  transform: translateY(-3px);
  background-color: #e0a800;
}

.page-resources-winning-stories__promo-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.page-resources-winning-stories__promo-text {
  font-size: 0.9em;
  white-space: nowrap;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-winning-stories__hero-title {
    font-size: 2.5em;
  }

  .page-resources-winning-stories__hero-subtitle,
  .page-resources-winning-stories__cta-title {
    font-size: 1.2em;
  }

  .page-resources-winning-stories__section-title {
    font-size: 2em;
  }

  .page-resources-winning-stories__story-image {
    height: 250px;
  }

  .page-resources-winning-stories__story-card h3 {
    font-size: 1.5em;
  }

  .page-resources-winning-stories__features-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-winning-stories__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-winning-stories__cta-button {
    width: 80%;
    max-width: 300px;
  }

  .page-resources-winning-stories__floating-promo {
    bottom: 15px;
    right: 15px;
  }

  .page-resources-winning-stories__promo-text {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .page-resources-winning-stories__hero-title {
    font-size: 2em;
  }

  .page-resources-winning-stories__hero-subtitle {
    font-size: 1em;
  }

  .page-resources-winning-stories__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-winning-stories__section-title {
    font-size: 1.8em;
  }

  .page-resources-winning-stories__story-image {
    height: 200px;
  }

  .page-resources-winning-stories__story-card h3 {
    font-size: 1.3em;
  }

  .page-resources-winning-stories__cta-title {
    font-size: 1.8em;
  }

  .page-resources-winning-stories__cta-description {
    font-size: 1em;
  }

  .page-resources-winning-stories__floating-promo {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
  }

  .page-resources-winning-stories__promo-text {
    display: none;
  }
  .page-resources-winning-stories__promo-icon {
    margin-right: 0;
  }
}