:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --ours-color: #10b981;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-light: #94a3b8;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-accent: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  background-color: #ffffff;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: var(--text-primary);
  font-family: "Inter", "Google Sans", "Noto Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: "Inter", "Google Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

a {
  color: var(--primary-color);
}

a:focus,
video:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero.is-light,
.section.hero.is-light {
  background: var(--background-secondary);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.hero-body {
  padding: 4rem 1.5rem;
}

.hero .container,
.hero .columns {
  width: 100%;
}

.publication-title {
  background: -webkit-linear-gradient(135deg, #1e3a8a, #3b82f6);
  background-clip: text;
  color: var(--text-primary) !important;
  font-family: "Inter", "Google Sans", sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: 0.5rem !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.publication-subtitle {
  color: var(--text-secondary) !important;
  font-family: "Inter", "Google Sans", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  margin-bottom: 2rem !important;
  margin-top: 0.5rem !important;
}

.content.has-text-justified {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
}

.section .title.is-3 {
  color: var(--text-primary);
  font-size: 2.25rem;
  font-weight: 800;
}

.simulation-method {
  margin-bottom: 3rem;
}

.simulation-method:last-child {
  margin-bottom: 0;
}

.simulation-method .title.is-4 {
  color: var(--text-primary);
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 2rem !important;
}

.video-container {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  transition: var(--transition);
}

.video-container:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.video-container video {
  background: #000000;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: block;
  height: auto;
  margin-bottom: 1rem;
  max-height: 440px;
  object-fit: contain;
  width: 100%;
}

.video-container:hover video {
  box-shadow: none;
}

.video-container figcaption {
  align-items: center;
  color: var(--text-secondary);
  display: flex;
  font-family: "Inter", "Google Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin-top: auto;
  min-height: 3.25rem;
  padding-top: 0.5rem;
  text-align: center;
}

.video-container figcaption.plume {
  color: var(--ours-color);
  font-size: 1.35rem;
  font-weight: 800;
}

.video-container figcaption.plume small {
  color: var(--ours-color);
  font-size: 1.35rem;
  font-weight: 800;
}

.footer {
  background: var(--background-primary);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 2.25rem 1.5rem;
}

.footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-hover);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.section {
  animation: fadeInUp 0.6s ease-out;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .hero-body {
    padding: 2rem 1rem;
  }

  .publication-title {
    font-size: 2rem !important;
  }

  .publication-subtitle {
    font-size: 1.35rem !important;
  }

  .content.has-text-justified {
    font-size: 1rem;
  }

  .section .title.is-3 {
    font-size: 1.85rem;
  }

  .simulation-method .title.is-4 {
    font-size: 1.85rem !important;
  }

  .video-container {
    padding: 0.75rem;
  }

  .video-container figcaption,
  .video-container figcaption.plume,
  .video-container figcaption.plume small {
    font-size: 1rem;
  }
}

@media print {
  .hero,
  .section {
    animation: none;
  }
}
