* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      margin: 0;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      min-height: 100vh;
      line-height: 1.6;
      font-size: 16px;
      color: #1e293b;
      position: relative;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
    }

    /* Geometrické pozadí */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        linear-gradient(135deg, transparent 40%, rgba(59, 130, 246, 0.03) 40%, rgba(59, 130, 246, 0.03) 60%, transparent 60%),
        linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.02) 30%, rgba(16, 185, 129, 0.02) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 20%, rgba(168, 85, 247, 0.02) 20%, rgba(168, 85, 247, 0.02) 80%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }

    /* Logo v rohu */
    .logo-container {
      position: fixed;
      top: 30px;
      left: 30px;
      z-index: 10;
    }


    .logo-container img {
      height: 40px;
      width: auto;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    }

    .container {
      max-width: 800px;
      width: 90%;
      margin: 0 auto;
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 1;
      padding: 20px;
    }

    .error-content {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(15px);
      border-radius: 25px;
      padding: 60px 40px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(255, 105, 180, 0.2);
      border: 1px solid rgba(255, 192, 203, 0.3);
      transition: all 0.3s ease;
      width: 100%;
      max-width: 600px;
      animation: slideUp 0.8s ease-out;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    .error-number {
      background-color: #1e293b;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-size: 8rem;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { 
        transform: scale(1); 
      }
      50% { 
        transform: scale(1.05); 
      }
    }

    .error-title {
      font-size: 2.5rem;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 30px;
    }

    .error-description {
      font-size: 1.2rem;
      color: #64748b;
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .error-subtitle {
      font-size: 1.1rem;
      color: #94a3b8;
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .action-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      padding: 16px 32px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      border-radius: 10px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: linear-gradient(135deg, #7e81fa, rgb(53, 100, 255));
      color: white;
      box-shadow: 0 4px 20px rgba(126, 129, 250, 0.4);
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }

    .btn-primary:hover::before {
      left: 100%;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #5a5cf5, rgb(45, 84, 214));
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(126, 129, 250, 0.6);
    }

    /* Responsive design */
    @media (max-width: 768px) {
      .logo-container {
        top: 20px;
        left: 20px;
      }

      .logo-container img {
        height: 32px;
      }

      .error-content {
        padding: 40px 30px;
        margin: 20px;
      }

      .error-number {
        font-size: 6rem;
      }

      .error-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 480px) {
      .logo-container {
        top: 15px;
        left: 15px;
      }

      .logo-container img {
        height: 28px;
      }

      .error-content {
        padding: 30px 20px;
      }

      .error-number {
        font-size: 4rem;
      }

      .error-title {
        font-size: 1.8rem;
      }

      .error-description,
      .error-subtitle {
        font-size: 1rem;
      }

      .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
      }
    }