/* About Page Specific Styles for Rich Gringo Casino */

/* About Hero Section */
.about-intro-box {
  animation: aboutBoxGlow 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

@keyframes aboutBoxGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  }
}

/* Highlights Table Styles */
.highlights-table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.highlights-table {
  border-collapse: collapse;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  border-radius: 12px;
  overflow: hidden;
}

.table-header {
  background: linear-gradient(135deg, #0d4f3c, #10b981);
  color: white;
}

.table-cell-header {
  padding: 1.5rem 1rem;
  text-align: left;
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom: 2px solid #fcd34d;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.table-row {
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.table-row:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.table-row-alt {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(245, 158, 11, 0.05));
  transition: all 0.3s ease;
}

.table-row-alt:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

.table-cell {
  padding: 1.25rem 1rem;
  color: #1e3a8a;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.table-cell-feature {
  padding: 1.25rem 1rem;
  color: #1e3a8a;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.table-cell-feature i {
  animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
  from {
    text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
  }
  to {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
  }
}

/* Story Section Styles */
.story-content {
  color: #1e3a8a;
}

.story-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  padding: 2rem;
  border-left: 4px solid #fcd34d;
  margin-left: 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(245, 158, 11, 0.05));
  border-radius: 0 12px 12px 0;
  position: relative;
}

.story-section::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.story-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.story-heading {
  font-size: 1.75rem;
  font-weight: bold;
  color: #0d4f3c;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #0d4f3c, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1e3a8a;
  text-align: justify;
}

/* Benefit Cards */
.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fcd34d;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: benefitCardEntrance 0.8s ease-out forwards;
}

.benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}
.benefit-card:nth-child(2) {
  animation-delay: 0.2s;
}
.benefit-card:nth-child(3) {
  animation-delay: 0.3s;
}
.benefit-card:nth-child(4) {
  animation-delay: 0.4s;
}
.benefit-card:nth-child(5) {
  animation-delay: 0.5s;
}
.benefit-card:nth-child(6) {
  animation-delay: 0.6s;
}

.benefit-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(252, 211, 77, 0.3);
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(245, 158, 11, 0.1));
}

.benefit-icon {
  color: #f59e0b;
  margin-bottom: 1.5rem;
  animation: benefitIconFloat 3s ease-in-out infinite;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0d4f3c;
  margin-bottom: 1rem;
}

.benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #1e3a8a;
}

@keyframes benefitCardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(45deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes benefitIconFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced Hero Image Styling */
.hero-image-container .hero-image {
  border: 3px solid #fcd34d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
  .highlights-table-container {
    font-size: 0.85rem;
  }

  .table-cell-header,
  .table-cell,
  .table-cell-feature {
    padding: 1rem 0.75rem;
  }

  .story-section {
    margin-left: 0;
    border-left: none;
    border-top: 4px solid #fcd34d;
    border-radius: 12px;
    padding: 1.5rem;
  }

  .story-section::before {
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
  }

  .story-heading {
    font-size: 1.5rem;
  }

  .story-text {
    font-size: 1rem;
    text-align: left;
  }

  .benefit-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .highlights-table-container {
    font-size: 0.8rem;
  }

  .table-cell-header,
  .table-cell,
  .table-cell-feature {
    padding: 0.75rem 0.5rem;
  }

  .story-heading {
    font-size: 1.25rem;
  }

  .story-text {
    font-size: 0.95rem;
  }
}

/* Table Animation on Scroll */
.highlights-table tbody tr {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}

.highlights-table tbody tr:nth-child(odd) {
  animation: slideInLeft 0.6s ease-out forwards;
}

.highlights-table tbody tr:nth-child(even) {
  animation: slideInRight 0.6s ease-out forwards;
}

.highlights-table tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}
.highlights-table tbody tr:nth-child(2) {
  animation-delay: 0.2s;
}
.highlights-table tbody tr:nth-child(3) {
  animation-delay: 0.3s;
}
.highlights-table tbody tr:nth-child(4) {
  animation-delay: 0.4s;
}
.highlights-table tbody tr:nth-child(5) {
  animation-delay: 0.5s;
}
.highlights-table tbody tr:nth-child(6) {
  animation-delay: 0.6s;
}
.highlights-table tbody tr:nth-child(7) {
  animation-delay: 0.7s;
}
.highlights-table tbody tr:nth-child(8) {
  animation-delay: 0.8s;
}
.highlights-table tbody tr:nth-child(9) {
  animation-delay: 0.9s;
}
.highlights-table tbody tr:nth-child(10) {
  animation-delay: 1.0s;
}
.highlights-table tbody tr:nth-child(11) {
  animation-delay: 1.1s;
}
.highlights-table tbody tr:nth-child(12) {
  animation-delay: 1.2s;
}
.highlights-table tbody tr:nth-child(13) {
  animation-delay: 1.3s;
}
.highlights-table tbody tr:nth-child(14) {
  animation-delay: 1.4s;
}
.highlights-table tbody tr:nth-child(15) {
  animation-delay: 1.5s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Enhanced CTA Section */
.cta-button,
.cta-button-secondary {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(252, 211, 77, 0.6);
}

.cta-button-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(252, 211, 77, 0.4);
}
