/* EPL News Hub - Modern Article Template Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Merriweather:wght@300;400&display=swap');

:root {
  --primary: #37003c;
  --primary-light: #6f42c1;
  --accent: #04f5ff;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}

/* Main Article Container */
.modern-article {
  max-width: 900px;
  margin: 40px auto;
  background: transparent;
  border-radius: var(--radius);
  overflow: visible;
  position: relative;
}

/* Article Header - White Rounded Container */
.article-header {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--gray-light);
}

.byline-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

.byline-item strong {
  color: var(--dark);
  font-weight: 600;
}

/* Breaking Badge */
.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Hero Image - Rounded */
.hero-section {
  position: relative;
  margin: 0 0 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-light);
  min-height: 400px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article Content */
.article-content {
  background: transparent;
  border-radius: var(--radius);
  padding: 48px 0;
  box-shadow: none;
  margin-bottom: 32px;
}

.content-section {
  margin-bottom: 48px;
}

.content-section h1,
.content-section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 24px 0;
  position: relative;
}

.content-section h1 {
  font-size: 2.2rem;
}

.content-section h2 {
  font-size: 1.8rem;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.content-section p {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 24px;
  font-weight: 300;
}

.lead-paragraph {
  font-size: 1.25rem !important;
  line-height: 1.7 !important;
  color: var(--dark) !important;
  font-weight: 400 !important;
  margin-bottom: 32px !important;
  font-style: italic;
}

/* Rounded Stats Boxes */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Highlight Box - Rounded */
.highlight-stat {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  padding: 24px;
  margin: 32px 0;
  border-radius: var(--radius);
  position: relative;
}

.highlight-stat strong {
  color: #16a34a;
  font-weight: 700;
}

/* Quote Section - Rounded */
.quote-section {
  background: var(--gray-light);
  padding: 32px;
  margin: 40px 0;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  position: relative;
}

.quote-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 16px;
}

.quote-author {
  font-weight: 700;
  color: var(--primary);
}

/* FPL Tool Promotional Cards */
.fpl-tools-promo {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 40px;
  margin: 48px 0;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.fpl-tools-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fpl-tools-subtitle {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.fpl-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.fpl-tool-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fpl-tool-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fpl-tool-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.fpl-tool-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.fpl-tool-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  text-align: center;
}

/* FPL Premium Ad */
.fpl-premium-ad {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: var(--radius);
  padding: 32px;
  margin: 48px 0;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.fpl-premium-ad::before {
  content: '✨';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.3;
}

.premium-badge-inline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.premium-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.premium-desc {
  font-size: 1.05rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

.premium-cta {
  display: inline-block;
  background: white;
  color: #f59e0b;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.premium-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Read Next Section */
.read-next-section {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 48px;
  margin: 60px 0;
  box-shadow: var(--shadow);
}

.read-next-header {
  text-align: center;
  margin-bottom: 40px;
}

.read-next-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.read-next-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
}

.read-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.read-next-card {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.read-next-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.read-next-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-light);
}

.read-next-content {
  padding: 20px;
}

.read-next-date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.read-next-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-next-excerpt {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Key Points - Rounded */
.key-points {
  background: var(--gray-light);
  padding: 32px;
  border-radius: var(--radius);
  margin: 40px 0;
}

.key-points h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.key-points ul {
  list-style: none;
  padding: 0;
}

.key-points li {
  background: white;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 48px;
  color: #374151;
  font-size: 1.05rem;
}

.key-points li:before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Timeline - Rounded */
.timeline-item {
  margin-bottom: 24px;
}

.timeline-content {
  background: var(--gray-light);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--primary);
}

.timeline-time {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-description {
  color: #4b5563;
  line-height: 1.6;
}

/* Tags - Rounded */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
  padding: 32px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(55, 0, 60, 0.2);
}

/* Social Share - Rounded */
.social-share {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  padding: 32px;
  background: var(--gray-light);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.share-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: white;
  border-radius: 30px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: var(--primary);
  color: white;
}

/* Impact Section - Rounded */
.impact-section {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 32px;
  border-radius: var(--radius);
  margin: 40px 0;
  border: 2px solid #fbbf24;
}

.impact-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 20px;
}

/* Transfer Tracker - Rounded */
.transfer-tracker {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 40px;
  border-radius: var(--radius);
  margin: 40px 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.tracker-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bid-amount {
  font-size: 3rem;
  font-weight: 900;
  margin: 20px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.status-badge {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Comments Section - Rounded */
#HCB_comment_box {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* AdSense Ads - Rounded Container */
.adsense-container,
.in-article-ad {
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 32px 0;
  text-align: center;
  min-height: 100px;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.adsense-container::before,
.in-article-ad::before {
  content: 'Advertisement';
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* Ensure AdSense displays properly */
.adsense-container ins.adsbygoogle {
  background: transparent !important;
  display: block !important;
  width: 100%;
}

.adsense-container script {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-article {
    margin: 20px;
  }
  
  .article-header,
  .article-content {
    padding: 32px 0;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
  
  .content-section h1 {
    font-size: 1.8rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .content-section p {
    font-size: 1rem;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fpl-tools-grid {
    grid-template-columns: 1fr;
  }
  
  .read-next-grid {
    grid-template-columns: 1fr;
  }
  
  .social-share {
    flex-direction: column;
  }
  
  .share-button {
    width: 100%;
    justify-content: center;
  }
  
  .article-byline {
    flex-direction: column;
    gap: 12px;
  }
}

/* Smooth animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Remove all sharp edges - everything rounded */
img, video, iframe {
  border-radius: var(--radius-sm);
}

table {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th, td {
  padding: 12px;
  background: white;
}

th {
  background: var(--gray-light);
  font-weight: 700;
}

/* Article Meta Styles */
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-light);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 500;
}

.meta-item span:first-child {
  color: var(--primary);
  font-size: 1.1rem;
}