/* Bonuses Page Styles */
:root {
  --primary: #34a74c;      /* Updated green */
  --primary-light: #4cce66;
  --primary-dark: #2a8c3d;
  --accent: #E6B422;       /* Outback gold */
  --accent-hover: #FFD700;
  --text-light: #FFFFFF;
  --text-muted: #666666;
  --text-dark: #333333;
  --bg-light: #F8F9FA;
  --border-color: #e1e4e8;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0a1929 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 100px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  left: 0;
  right: 0;
}

.hero-section .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Ensure content remains centered and readable */
.hero-section .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0, 163, 255, 0.15) 0%, transparent 30%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 200, 83, 0.2);
  color: #00c853;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-container {
  max-width: 1200px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}



.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  max-width: 1000px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
  padding: 0 10px;
}

.hero-section h1 .gradient-text {
  background: linear-gradient(90deg, #00c853, #00e676);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding: 0 5px;
}

.hero-section h1 .highlight {
  color: #00c853;
  position: relative;
  display: inline-block;
}

.hero-section h1 .highlight:after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(0, 200, 83, 0.2);
  z-index: -1;
  border-radius: 3px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #e0e0e0;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0.9;
}

a.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(42, 140, 111, 0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

a.hero-cta:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 167, 111, 0.35);
  color: white !important;
  filter: brightness(1.05);
}

a.hero-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(42, 140, 111, 0.25);
}

a.hero-cta i {
  margin-right: 10px;
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

a.hero-cta:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
  }

  .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
  }

  .section-header p {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
  }
  
  .hero-cta {
    width: 100%;
    max-width: 280px;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
}

.section-header p {
  font-size: 1.125rem;
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
}

/* Bonus Grid Layout */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .bonus-grid {
        gap: 2rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .bonus-card {
        margin-bottom: 1.5rem;
    }
}

/* Bonus Cards */
.bonus-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.bonus-card-header {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .bonus-card-header {
    flex-direction: column;
    text-align: center;
    padding: 15px 15px 10px;
  }
  
  .bonus-rating {
    margin-top: 8px;
  }
}

.bonus-logo {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a6a3a35b;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.bonus-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bonus-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.rating-stars {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.rating-stars span {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Mobile Layout - Stack logo and rating vertically */
@media (max-width: 767px) {
  .bonus-card-header {
    flex-direction: column;
    text-align: center;
    padding: 15px 15px 10px;
    gap: 12px;
  }
  
  .bonus-logo {
    margin: 0 auto 12px;
    width: 100%;
    max-width: 120px;
    height: auto;
    padding: 12px;
  }
  
  .bonus-logo img {
    width: 100%;
    height: auto;
  }
  
  .bonus-rating {
    margin: 0;
    text-align: center;
    align-items: center;
  }
  
  .rating-stars {
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
  }
  
  .rating-stars i {
    font-size: 1.2rem;
  }
  
  .rating-stars span {
    font-size: 1rem;
  }
}

.bonus-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-tag.welcome {
  background: rgba(27, 77, 62, 0.1);
  color: var(--primary);
}

.bonus-tag.freespins {
  background: rgba(230, 180, 34, 0.1);
  color: #b38a00;
}

.bonus-tag.nodeposit {
  background: rgba(66, 153, 225, 0.1);
  color: #2b6cb0;
}

/* Bonus Card Content */
.bonus-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Consistent gap between all elements */
  flex: 1;
  justify-content: space-between;
}

.bonus-card-content h3 {
  color: var(--primary);
  margin: 0 0 15px 0;
  font-size: 1.5rem;
}

.bonus-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #e1e4e8;
}

.detail {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 1.4;
}

.detail span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

.detail i {
  color: var(--primary);
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

/* Bonus Features */
.bonus-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Matches other gaps */
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  align-items: stretch;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  white-space: nowrap;
  text-align: center;
  flex: 1 0 auto;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile styles */
@media (max-width: 767px) {
  .bonus-features {
    flex-direction: column;
    gap: 12px; /* Consistent gap on mobile */
  }
  
  .feature-tag {
    width: 100%;
    justify-content: flex-start;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
  }
  
  .feature-tag i {
    margin-right: 10px;
  }
}

.feature-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-tag i {
  margin-right: 6px;
  font-size: 0.9em;
  color: #f8c537;
}

.feature-tag {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: rgba(27, 77, 62, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
  border: 1px solid rgba(27, 77, 62, 0.1);
}

.feature-tag i {
  color: var(--primary);
  margin-right: 8px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.feature-tag:hover {
  background: rgba(27, 77, 62, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.bonus-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px dashed #e1e4e8;
}

/* Bonus Actions */
.bonus-card-actions {
  display: flex;
  gap: 15px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  flex: 1;
  min-width: 160px;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 12px rgba(42, 140, 111, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(42, 140, 111, 0.35);
  color: white;
}

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

.btn-outline:hover {
  background: rgba(27, 77, 62, 0.08);
  transform: translateY(-2px);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* Bonus Footer */
.bonus-card-footer {
  border-top: 1px solid #f0f0f0;
  padding: 0 20px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.bonus-card.show-terms .bonus-card-footer {
  max-height: 1000px;
  padding: 20px;
}

.terms-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.terms-toggle:hover {
  color: var(--primary-dark);
}

.terms-toggle i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.bonus-card.show-terms .terms-toggle i {
  transform: rotate(180deg);
}

.terms-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #e1e4e8;
}

.terms-content ul {
  margin: 0;
  padding-left: 20px;
}

.terms-content li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .bonus-hero h1 {
    font-size: 2rem;
  }
  
  .bonus-hero p {
    font-size: 1rem;
  }
  
  .bonus-card-header {
    flex-direction: column;
    text-align: center;
  }
  
  .bonus-logo {
    margin: 0 auto 15px;
  }
  
  .bonus-rating {
    margin: 15px auto 0;
    text-align: center;
  }
  
  .bonus-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0 0 8px 0; /* Added 8px bottom padding */
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .bonus-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .bonus-card-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* Animation for bonus cards */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bonus-card {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Add staggered animation for multiple cards */
.bonus-card:nth-child(1) { animation-delay: 0.1s; }
.bonus-card:nth-child(2) { animation-delay: 0.2s; }
.bonus-card:nth-child(3) { animation-delay: 0.3s; }
.bonus-card:nth-child(4) { animation-delay: 0.4s; }

/* Scroll to Top Button - Moved to main.css */