/* Fantasy Cricket Tips Page - Specific Styles */

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 48px 20px 32px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-image-container {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.1s;
  position: relative;
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 0;
}

.hero-image-container:hover .hero-image {
  transform: scale(1.03);
}

.hero-image-container:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.content-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--text);
}

.content-card h3 {
  margin: 20px 0 12px;
  font-size: 20px;
  color: var(--accent-2);
}

.content-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
  line-height: 1.7;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: bold;
  font-size: 20px;
}

/* Highlight Card */
.highlight-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(14, 165, 233, 0.1));
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.highlight-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

/* Announcement Card */
.content-card.announcement-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(239, 68, 68, 0.2)) !important;
  border: 2px solid rgba(251, 191, 36, 0.6) !important;
  border-left: 6px solid #fbbf24 !important;
  position: relative;
  animation: fadeInUp 0.6s ease forwards, pulse 2s ease-in-out infinite 0.6s;
  animation-delay: 0s, 0.6s;
  opacity: 1 !important;
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3) !important;
}

.content-card.announcement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #ef4444);
  z-index: 1;
}

.announcement-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
  animation: bounce 2s ease-in-out infinite;
  display: block;
}

.content-card.announcement-card h2 {
  color: #fbbf24 !important;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
}

.content-card.announcement-card p {
  color: var(--text) !important;
}

.content-card.announcement-card strong {
  color: #ef4444 !important;
  font-weight: 700;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.2);
  }
  50% {
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
  }
}

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

/* Responsive Styles */
@media (max-width: 720px) {
  .page-hero {
    padding: 32px 12px 24px;
  }
  
  .hero-image-container {
    margin-bottom: 24px;
    border-radius: 12px;
  }
  
  .page-hero h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .content-section {
    padding: 0 12px 32px;
  }
  
  .content-card {
    padding: 24px;
  }
  
  .highlight-icon {
    font-size: 40px;
  }
}

