@import url('https://fonts.googleapis.com/css2?family=Jacquard+12&family=Tiny5&display=swap');

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      font-family: 'Jacquard 12';
      background: url("gifs/fondo.gif") no-repeat center center fixed;
      background-size: cover;
      color: white;
      min-height: 100vh;
      overflow-x: hidden;
    }

    a {
      color: white;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    body.crt {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    /* CRT Effect */
    .crt::before {
      content: " ";
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
      background-size: 100% 2px, 3px 100%;
      z-index: 9998;
      pointer-events: none;
    }

    .crt::after {
      content: " ";
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(18, 16, 16, 0.1);
      animation: flicker 0.15s infinite;
      z-index: 9999;
      pointer-events: none;
    }

    @keyframes flicker {
      0% { opacity: 0.28; }
      5% { opacity: 0.35; }
      10% { opacity: 0.24; }
      15% { opacity: 0.9; }
      20% { opacity: 0.18; }
      25% { opacity: 0.84; }
      30% { opacity: 0.65; }
      35% { opacity: 0.67; }
      40% { opacity: 0.26; }
      45% { opacity: 0.85; }
      50% { opacity: 0.96; }
      55% { opacity: 0.08; }
      60% { opacity: 0.2; }
      65% { opacity: 0.71; }
      70% { opacity: 0.53; }
      75% { opacity: 0.37; }
      80% { opacity: 0.71; }
      85% { opacity: 0.7; }
      90% { opacity: 0.7; }
      95% { opacity: 0.36; }
      100% { opacity: 0.24; }
    }

    h1 {
      text-align: center;
      margin: 20px 0;
    }

    .nuevos_p {
      font-family: 'Tiny5', serif;
      font-size: 16px;
      width: 150px;
      height: 100px;
      border: 2px solid #E5D5C6;
      border-radius: 3px;
      padding: 8px;
      background-color: rgba(12, 12, 12, 0.85);
      color: rgb(8, 255, 49);
      margin-bottom: 20px;
      text-align: left;
      overflow: hidden;
    }

    main {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 20px;
      width: 100%;
      max-width: 1200px;
      padding: 20px;
      flex-wrap: nowrap;
      z-index: 1;
    }

    aside, section.central {
      background: rgba(0, 0, 0, 0.55);
      padding: 20px;
      flex-grow: 1;
      max-width: 300px;
      min-width: 250px;
    }

    section.central {
      max-width: 400px;
    }

    aside h2,
    section h2 {
      font-size: 22px;
      margin-bottom: 10px;
    }

    aside a,
    section a {
      display: block;
      margin-bottom: 15px;
    }

    aside img,
    section img {
      width: 100%;
      height: auto;
      margin: 10px 0;
    }

    .menu-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }

    .menu-grid a {
      background: rgba(255, 255, 255, 0.1);
      padding: 10px;
      text-align: center;
      transition: background 0.3s;
      font-size: 18px;
    }

    .menu-grid a:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .center-gif {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto 10px;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    }

    .center-gif img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      bottom: 10px;
      position: relative;
    }

    footer {
      background: rgba(0, 0, 0, 0.6);
      text-align: center;
      width: 100%;
      z-index: 1;
    }

    footer img.button {
      max-width: 120px;
    }

    /* Responsive */
    @media (max-width: 900px) {
      main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }

      aside, section.central {
        width: 90%;
        max-width: 90%;
      }

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

      .center-gif {
        width: 80px;
        height: 80px;
      }
    }