.home {
  min-height: 100vh;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, #0a1628 0%, #0d2137 30%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 150, 199, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 80% 80%, rgba(0, 180, 150, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(0, 200, 255, 0.3);
  border-radius: 50%;
  animation: float-up 4s ease-in-out infinite;
}

.bubble:nth-child(1) {
  left: 30%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  left: 50%;
  animation-delay: 1.5s;
  width: 8px;
  height: 8px;
}

.bubble:nth-child(3) {
  left: 70%;
  animation-delay: 3s;
  width: 10px;
  height: 10px;
}

@keyframes float-up {
  0%, 100% {
    transform: translateY(80px) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(70px) scale(1);
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-20px) scale(0.5);
    opacity: 0;
  }
}

.hero h1.wave-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.hero h1.wave-title span {
  display: inline-block;
  background: linear-gradient(135deg, #00d4ff 0%, #00b894 40%, #55efc4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wave 2.5s ease-in-out infinite, shimmer 4s ease-in-out infinite;
  animation-delay: calc(0.1s * var(--i));
}

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

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.tagline {
  font-family: 'Source Sans 3', sans-serif;
  color: #7ec8e3;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-card {
  position: relative;
  background: linear-gradient(145deg, rgba(13, 33, 55, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #00b894, #55efc4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-8px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 212, 255, 0.15);
}

.article-card:hover::before {
  opacity: 1;
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d3a5c 0%, #0a2540 50%, #071a2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 180, 200, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 150, 180, 0.1) 0%, transparent 50%);
  animation: underwater-glow 6s ease-in-out infinite alternate;
}

@keyframes underwater-glow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.7;
  animation: gentle-bob 3s ease-in-out infinite;
}

@keyframes gentle-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.placeholder-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(126, 200, 227, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.75rem;
}

.article-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #00d4ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #e8f4f8;
  margin: 0.75rem 0 1rem 0;
  line-height: 1.3;
}

.article-card p {
  font-family: 'Source Sans 3', sans-serif;
  color: #8ab4c7;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.5rem 0;
}

.read-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #00b894;
  transition: all 0.2s ease;
}

.article-card:hover .read-more {
  color: #55efc4;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}