/* Estilos migrados desde pages-error-404.hbs */

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

    :root {
      --primary: #198754;
      --primary-light: #25a366;
      --primary-dark: #146c43;
      --secondary: #8b5cf6;
      --bg-main: #0a0e1a;
      --bg-elevated: #1f2937;
      --border: var(--border-color);
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: radial-gradient(circle at 20% 50%, rgba(25, 135, 84, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                  var(--bg-main);
      color: var(--text-primary);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
      position: relative;
    }

    footer{
      display: none !important;
      }

    /* Partículas flotantes de fondo */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--primary);
      border-radius: 50%;
      opacity: 0.3;
      animation: float 20s infinite;
    }

    @keyframes float {
      0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
      }
      25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.5;
      }
      50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.2;
      }
      75% {
        transform: translate(-150px, -100px) scale(1.1);
        opacity: 0.4;
      }
    }

    .container {
      position: relative;
      z-index: 10;
      max-width: 900px;
      padding: clamp(20px, 5vw, 60px);
      text-align: center;
    }

    /* Ícono animado */
    .icon-container {
      margin-bottom: clamp(30px, 5vw, 50px);
      position: relative;
      display: inline-block;
    }

    .icon-wrapper {
      width: clamp(120px, 20vw, 180px);
      height: clamp(120px, 20vw, 180px);
      margin: 0 auto;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .icon-bg {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      opacity: 0.2;
      animation: pulse-ring 3s ease-in-out infinite;
    }

    @keyframes pulse-ring {
      0%, 100% {
        transform: scale(1);
        opacity: 0.2;
      }
      50% {
        transform: scale(1.2);
        opacity: 0.1;
      }
    }

    .icon-main {
      width: clamp(80px, 15vw, 120px);
      height: clamp(80px, 15vw, 120px);
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      border-radius: 30%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 20px 60px rgba(25, 135, 84, 0.4);
      animation: float-icon 3s ease-in-out infinite;
      position: relative;
      z-index: 2;
    }

    @keyframes float-icon {
      0%, 100% {
        transform: translateY(0px) rotate(0deg);
      }
      50% {
        transform: translateY(-20px) rotate(5deg);
      }
    }

    .icon-main svg {
      width: 60%;
      height: 60%;
      color: white;
      filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }

    /* Número 404 */
    .error-number {
      font-size: clamp(4rem, 15vw, 8rem);
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary-light), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.05em;
      line-height: 1;
      margin-bottom: clamp(20px, 3vw, 30px);
      animation: glow 2s ease-in-out infinite;
      text-shadow: 0 0 40px rgba(25, 135, 84, 0.5);
    }

    @keyframes glow {
      0%, 100% {
        filter: drop-shadow(0 0 20px rgba(25, 135, 84, 0.5));
      }
      50% {
        filter: drop-shadow(0 0 40px rgba(25, 135, 84, 0.8));
      }
    }

    /* Título */
    .error-title {
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: clamp(15px, 2vw, 20px);
      line-height: 1.3;
    }

    /* Descripción */
    .error-description {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: clamp(30px, 5vw, 50px);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Botones */
    .button-group {
      display: flex;
      gap: clamp(12px, 2vw, 20px);
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: clamp(40px, 6vw, 60px);
    }

    .btn {
      padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
      border-radius: 14px;
      font-size: clamp(0.9rem, 1.5vw, 1.1rem);
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      border: 2px solid transparent;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .btn:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      box-shadow: 0 10px 30px rgba(25, 135, 84, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(25, 135, 84, 0.6);
    }

    .btn-secondary {
      background: var(--bg-elevated);
      color: var(--text-primary);
      border-color: var(--border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .btn-secondary:hover {
      background: var(--bg-card);
      border-color: var(--primary);
      transform: translateY(-3px);
    }

    .btn svg {
      width: 20px;
      height: 20px;
      position: relative;
      z-index: 1;
    }

    .btn span {
      position: relative;
      z-index: 1;
    }

    /* Sugerencias */
    .suggestions {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: clamp(16px, 2vw, 24px);
      padding: clamp(24px, 4vw, 40px);
      max-width: 700px;
      margin: 0 auto clamp(30px, 5vw, 50px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
    }

    .suggestions-title {
      font-size: clamp(1rem, 2vw, 1.25rem);
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: clamp(16px, 3vw, 24px);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .suggestions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: clamp(12px, 2vw, 16px);
    }

    .suggestion-item {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: clamp(12px, 2vw, 16px);
      text-decoration: none;
      color: var(--text-secondary);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      text-align: center;
    }

    .suggestion-item:hover {
      background: var(--bg-main);
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(25, 135, 84, 0.2);
    }

    .suggestion-item svg {
      width: 24px;
      height: 24px;
    }

    .suggestion-item span {
      font-size: clamp(0.8rem, 1.5vw, 0.9rem);
      font-weight: 500;
    }

    /* Credits */
    .credits {
      font-size: clamp(0.75rem, 1.2vw, 0.85rem);
      color: var(--text-muted);
      text-align: center;
    }

    .credits a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.3s ease;
    }

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

    /* Responsive */
    @media (max-width: 768px) {
      .button-group {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
        justify-content: center;
      }

      .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .suggestions-grid {
        grid-template-columns: 1fr;
      }
    }
