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

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-image: url('/assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.site-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(250, 250, 248, 0.7));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  display: block;
  line-height: 0;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo {
  max-width: 4rem;
  height: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0.75rem;
  display: block;
  border-radius: 0.5rem;
}

nav a:hover {
  color: #27ae60;
  background-color: rgba(255, 255, 255, 0.5);
}

nav a.active {
  color: #27ae60;
}

.container {
  width: 90%;
  max-width: 50rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(250, 250, 248, 0.7));
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 3rem rgba(0, 0, 0, 0.15), 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #2c3e50;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
  margin: 0 auto 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.4), 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.video-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(250, 250, 248, 0.7));
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 4px solid #27ae60;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #27ae60, #229954);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.video-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  border-color: rgba(39, 174, 96, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(250, 250, 248, 0.8));
}

.video-card .video-container {
  margin-bottom: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

.video-card:hover .video-container {
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
}

.video-card h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 1.5rem;
  margin-top: 1.75rem;
  color: #2c3e50;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(34, 153, 84, 0.1));
  border-radius: 0.5rem;
  border-left: 4px solid #27ae60;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
}

h2 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #34495e;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.5rem 1rem;
  background: rgba(39, 174, 96, 0.08);
  border-radius: 0.375rem;
  border-left: 3px solid #27ae60;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
}

a {
  color: #27ae60;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #229954;
  text-decoration: underline;
}

.content-box ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.content-box li {
  margin-bottom: 0.25rem;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: #2c3e50;
}

.content-box li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: #27ae60;
  font-weight: bold;
}

.recursos-content li {
  margin-bottom: 1rem;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid #27ae60;
}

.recursos-content li:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(0.25rem);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.recursos-content li a {
  display: block;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: #2c3e50;
  text-decoration: none;
  font-weight: normal;
}

.recursos-content li a:hover {
  color: #2c3e50;
  text-decoration: none;
}

.recursos-content li a .source {
  display: block;
  font-size: 0.75rem;
  color: #27ae60;
  font-weight: 600;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.recursos-content li::before {
  content: '→';
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  color: #27ae60;
  font-weight: bold;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.recursos-content li:hover::before {
  transform: translateX(0.25rem);
}

.links-section {
  margin-top: 1.5rem;
}

.links-section ul {
  list-style: none;
  padding: 0;
}

.links-section li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.links-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

footer {
  padding: 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: auto;
}

.footer-content {
  width: 90%;
  max-width: 50rem;
  margin: 0 auto;
  color: #fff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.footer-left {
  margin: 0;
  font-size: 0.9rem;
}

.footer-right {
  margin: 0;
  font-size: 0.8rem;
  text-align: right;
}

.footer-credits {
  margin: 0;
  font-size: 0.8rem;
  text-align: right;
  opacity: 0.8;
}

@media (min-width: 48rem) {
  .site-header {
    padding: 1rem 2rem;
  }

  .logo {
    max-width: 4rem;
  }

  nav ul {
    gap: 2rem;
  }

  nav a {
    font-size: 1rem;
  }

  .container {
    padding: 2rem 2rem 3rem;
  }

  .content-box {
    padding: 2.5rem;
  }

  .video-container {
    margin-bottom: 3rem;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .video-card {
    padding: 1.25rem;
  }
}

@media (min-width: 64rem) {
  .container {
    padding: 4rem 2rem;
  }

  .content-box {
    padding: 3rem;
  }
}

@media (max-width: 30rem) {
  body::before {
    background-attachment: scroll;
  }

  .site-header {
    padding: 0.5rem 0.75rem;
  }

  .logo {
    max-width: 4rem;
  }

  nav ul {
    gap: 0.75rem;
  }

  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  .content-box {
    padding: 1.25rem;
  }

  .video-container {
    margin-bottom: 2rem;
  }

  .footer-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-right {
    text-align: left;
  }

  .footer-left,
  .footer-right,
  .footer-credits {
    font-size: 0.7rem;
  }
}
