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

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

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  --highlight: #e94560;
  --success: #00b894;
  --warning: #fdcb6e;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

/* Header - Modern Glass Effect */
header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 3px solid var(--highlight);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--highlight);
  transition: left 0.3s ease;
  z-index: -1;
}

nav a:hover::before {
  left: 0;
}

nav a:hover {
  color: white;
  transform: translateY(-2px);
}

/* Hero Section - Viral Design */
.hero {
  margin: 3rem 0;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight), var(--success), var(--warning));
}

.hero-article {
  padding: 3rem;
  position: relative;
}

.hero-article .category-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--highlight);
  color: white;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-article h2 a {
  color: inherit;
  text-decoration: none;
}

.hero-article .meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #eee;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-article .meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-article .excerpt {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.read-more {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--highlight) 0%, #c44569 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

/* Trending Section - Viral Scroll */
.trending {
  margin: 4rem 0;
  position: relative;
}

.trending::before {
  content: '🔥 TRENDING NOW';
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--highlight);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.trending h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.trending h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--highlight), transparent);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.article-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--highlight), var(--success));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.article-card:hover::before {
  transform: scaleX(1);
}

.article-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.article-card .content {
  padding: 1.5rem;
}

.category-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.article-card h3 a:hover {
  color: var(--highlight);
}

.article-card .meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  display: flex;
  gap: 1rem;
}

.article-card .excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Categories Section */
.categories {
  margin: 4rem 0;
}

.category-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.category-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.category-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--highlight);
}

/* Article Page */
.article-page {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  margin: 3rem auto;
}

article {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight), var(--success), var(--warning));
  border-radius: 20px 20px 0 0;
}

article h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary);
}

article .meta {
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #eee;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

article .content {
  line-height: 2;
  font-size: 1.15rem;
}

article .content p {
  margin-bottom: 1.5rem;
}

article .content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

article .content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 1.5rem 0 1rem;
  color: var(--secondary);
}

article .content a {
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

article .content a:hover {
  border-bottom-color: var(--highlight);
}

/* Social Share - Viral */
.social-share {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
}

.social-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.social-btn.twitter { background: #1da1f2; color: white; }
.social-btn.facebook { background: #4267b2; color: white; }
.social-btn.linkedin { background: #0077b5; color: white; }
.social-btn.whatsapp { background: #25d366; color: white; }

/* Sidebar */
.sidebar {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--highlight);
  color: var(--primary);
}

.sidebar .article-card {
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar .article-card h3 {
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight), var(--success), var(--warning));
}

.footer-links {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Loading Animation */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  font-size: 1.2rem;
  animation: fadeIn 0.5s ease;
}

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

/* Viral Badge */
.viral-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--highlight), #c44569);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 1s infinite;
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

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

/* Responsive */
@media (max-width: 1200px) {
  .article-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-article h2 {
    font-size: 2rem;
  }
  
  article h1 {
    font-size: 1.8rem;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    justify-content: center;
  }
  
  .social-share {
    flex-direction: column;
  }
}