html {
  font-size: 60%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.main-container {
  width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .container,
  .main-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .header-title {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 12px;
  }

  .header-title {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neutral-100);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 900;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  flex: 1;
}

.nav-item.active {
  color: var(--primary);
}

.nav-icon {
  font-size: 1.1rem;
  transition: transform 0.3s var(--animation-bounce);
}

.nav-item:hover .nav-icon {
  transform: translateY(-3px);
}

.nav-label {
  font-size: 0.6rem;
  font-weight: 600;
}

/* Ajustes para pantallas en orientación landscape */
@media (orientation: landscape) {
  .container,
  .main-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1024px) {
  .container:not(.registration-app),
  .main-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
