.hero-section {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-research-text {
  font-size: 3.2rem;
  font-family: 'Bebas Neue', 'Bree Serif', 'Segoe UI', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5581e0; 
  text-shadow: 0 4px 24px #0004, 0 2px 8px #fff2;
  animation: heroTextGlow 2.5s infinite alternate cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 2px 16px #0002);
}
body.light-theme .hero-research-text {
  color: #233554;
  text-shadow: 0 4px 24px #fff6, 0 2px 8px #ffd16633;
  filter: drop-shadow(0 2px 16px #ffd16622);
}
@keyframes heroTextGlow {
  0% {
    text-shadow: 0 6px 20px #000a, 0 2px 8px #00b4d899;
    filter: drop-shadow(0 2px 16px #00b4d855);
    letter-spacing: 0.18em;
    transform: scale(1);
  }
  100% {
    text-shadow: 0 12px 18px #00b4d899, 0 4px 16px #2c536499;
    filter: drop-shadow(0 4px 32px #00b4d888);
    letter-spacing: 0.185em;  
    transform: scale(1.005);   
  }
}
body.light-theme .hero-research-text {
  animation: heroTextGlowLight 2.5s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes heroTextGlowLight {
  0% {
    text-shadow: 0 6px 20px #fff6, 0 2px 8px #ffd16699;
    filter: drop-shadow(0 2px 16px #ffd16655);
    letter-spacing: 0.18em;
    transform: scale(1);
  }
  100% {
    text-shadow: 0 12px 18px #ffd16699, 0 4px 16px #2a529899;
    filter: drop-shadow(0 4px 32px #ffd16688);
    letter-spacing: 0.185em;  
    transform: scale(1.005);     }
}

.hero-media {
  flex: 1 1 350px;
  position: relative;
  max-width: 400px;
  height: 260px;
  overflow: hidden;
  background: transparent;
  margin-top: 28px;
  object-fit: contain;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

.hero-media video {
  display: none;
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: #eeeeee;
  letter-spacing: 0.06em;
  text-shadow: 0 0 4px #00eaffaa;
  user-select: none;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

body.light-theme .hero-subtitle {
  color: #003b5e;
  text-shadow: 0 0 10px #ffd700bb;
}

.filter-buttons {
  margin: 32px auto 30px auto;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 32px;
  font-family: 'Bree Serif', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: linear-gradient(30deg, #1e87e9, #0051ff);
  color: #fff;
  box-shadow: 0 0 12px #00eaff99;
  transition: all 0.3s ease;
  user-select: none;
}
.filter-btn:hover {
  background: linear-gradient(90deg, #ffd700, #003b5e);
  color: #003b5e;
  box-shadow: 0 0 14px #ffd700bb;
  transform: scale(1.1);
}

.filter-btn.active {
  background: linear-gradient(10deg, #ffd700, #003b5e);
  color: #003b5e;
  box-shadow: 0 0 14px #ffd700cc;
  transform: scale(1.15);
  font-weight: 900;
}
body.dark-theme .filter-btn {
  background: linear-gradient(30deg, #232526, #414345);
  color: #eaf6ff;
  box-shadow: 0 0 12px #00b4d8aa;
}
body.dark-theme .filter-btn:hover {
  background: linear-gradient(90deg, #ffd700, #003b5e);
  color: #003b5e;
  box-shadow: 0 0 14px #ffd700bb;
}
body.dark-theme .filter-btn.active {
  background: linear-gradient(10deg, #615823, #003b5e);
  color: #fff;
  box-shadow: 0 0 14px #ffd700cc;             
  transform: scale(1.15);
  font-weight: 900;
}

.card-list {
  max-width: 900px;
  margin: 30px auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 20px;
}

.card {
  display: flex;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.9),
    0 0 10px #00eaffcc;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #eaf6ff;
  border-left: 6px solid #00eaff;
}

body.light-theme .card {
  background: linear-gradient(135deg, #f7fafc 0%, #e3e6ee 100%);
  color: #1e293b;
  border-left: 6px solid #ffd166;
  box-shadow:
    0 8px 20px rgba(255, 255, 255, 0.9),
    0 0 10px #ffd166cc;
}

.card:hover {
  transform: scale(1.04);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 1),
    0 0 16px #ffd700ff;
}

.card-media {
  flex-shrink: 0;
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 18px #00eaffaa;
}

.card-media img,
.card-media video,
.card-media gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.card-media video {
  display: block;
}

.card-content {
  flex-grow: 1;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h3 {
  margin: 0 0 10px 0;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  background: linear-gradient(90deg, #00eaff, #0051ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

body.light-theme .card-content h3 {
  background: linear-gradient(90deg, #ad7b06, #b47a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  user-select: none;
  color: inherit;
}

.back-section {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.back-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Bree Serif', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #ffd700, #003b5e);
  color: #003b5e;
  box-shadow: 0 0 20px #ffd700cc;
  transition: all 0.3s ease;
  user-select: none;
}

.back-btn:hover {
  background: linear-gradient(90deg, #003b5e, #ffd700);
  color: #ffd700;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .hero-research-text {
    font-size: 3rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .hero-media {
    max-width: 100%;
    height: auto;
    margin-top: 0;
  }
  .card {
    flex-direction: column;
  }
  .card-media {
    width: 100%;
    height: 180px;
    border-radius: 16px 16px 0 0;
  }
  .card-content {
    padding: 12px 16px;
  }
}
